iserter/laravel-claude-agents/laravel-authorization-patterns
Claude Code and agent skill by iserter/laravel-claude-agents
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Best practices for Laravel authorization including Gates, Policies, middleware auth, and Blade directives for access control.
Install
npx vskill@latest install iserter/laravel-claude-agents/laravel-authorization-patternsSKILL.md
Laravel Authorization Patterns
Gates for General Ability Checks
Policies for Model-Based Authorization
Policies are auto-discovered when they follow the App\Policies\{Model}Policy convention.
Response Objects
Middleware Authorization
Blade Directives
Form Request authorize() Integration
Controller Authorization
Testing Authorization
Checklist
- [ ] Gates used for general abilities not tied to a model
- [ ] Policies used for all model-based authorization
- [ ] Policies follow auto-discovery naming convention
- [ ] before() returns null to fall through (not false)
- [ ] Response objects used for detailed denial messages
- [ ] Authorization applied via middleware, Form Request, or controller
- [ ] Blade directives used for conditional UI rendering
- [ ] No manual if/abort(403) checks bypassing policies
- [ ] Authorization logic tested for allowed and denied cases
- [ ] Gate::inspect() used when response message is needed
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/laravel-authorization-patterns/SKILL.md
Popularity
- 7-day trend score
- 0
Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/iserter/laravel-claude-agents/laravel-authorization-patterns)