This handles everything around Spatie's laravel-permission package: setting up roles and permissions, middleware guards, Blade directives, policies, and even teams for multi-tenancy. The source is thorough on best practices, like always checking permissions (not roles) with `$user->can()`, avoiding direct user permissions, and using `Gate::before` for super admin patterns. It covers the stuff you forget between projects, like flushing the permission cache when seeding or which middleware to use for OR logic in routes. If you're building any Laravel app with user authorization beyond basic gates, this consolidates the practical patterns in one place instead of rereading docs every time.
npx -y skills add spatie/laravel-permission --skill laravel-permission-development --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
jeffallan/claude-skills
jeffallan/claude-skills