laravelpolicies-gates

star 2

Strengthen Laravel validation/auth/authorization boundaries with explicit failure-safe implementation patterns. Use for policies gates tasks.

MakFly By MakFly schedule Updated 2/16/2026

name: laravel:policies-gates allowed-tools: - Read - Write - Edit - Bash - Glob - Grep description: Strengthen Laravel validation/auth/authorization boundaries with explicit failure-safe implementation patterns. Use for policies gates tasks.

Policies Gates (Laravel)

Use when

  • Hardening authentication/authorization/validation paths.
  • Standardizing access control and error semantics.

Default workflow

  1. Map actors, protected resources, and allowed actions.
  2. Implement validation + authorization at explicit boundaries.
  3. Apply throttling and consistent failure responses.
  4. Test authorized/unauthorized/invalid scenarios.

Guardrails

  • Do not leak sensitive existence or permission details.
  • Never rely on UI-only access checks.
  • Keep auth and validation logic centralized.

Progressive disclosure

  • Start with this file for execution posture and constraints.
  • Load references only for deep implementation detail or edge cases.

Output contract

  • Security boundary changes and rationale.
  • Endpoints/middleware/policies updated.
  • Negative-path test evidence.

References

  • reference.md
  • docs/complexity-tiers.md
Install via CLI
npx skills add https://github.com/MakFly/superpowers-laravel --skill laravelpolicies-gates
Repository Details
star Stars 2
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator