Skill / SKILL.md

Laravel Authorization Review

pekral/cursor-rules

Use when reviewing authorization / access control in a Laravel project — find IDOR / broken object-level authorization (BOLA), audit which routes are unprotected, check policy / gate coverage, or sanity-check a new endpoint in a PR. Walks the authorization chain of every HTTP route (middleware → authorize/policy/gate → query scoping → API Resource output), anchors every finding to real `php artisan route:list --json` output plus a cited `file:line`, classifies by confidence, and produces a per-route coverage map. Read-only / advise-only — never edits code.
3 views 11 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Use when reviewing authorization / access control in a Laravel project — find IDOR / broken object-level authorization (BOLA), audit which routes are unprotected, check policy / gate coverage, or sanity-check a new endpoint in a PR. Walks the authorization chain of every HTTP route (middleware → authorize/policy/gate → query scoping → API Resource output), anchors every finding to real `php artisan route:list --json` output plus a cited `file:line`, classifies by confidence, and produces a per-route coverage map. Read-only / advise-only — never edits code.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/pekral/cursor-rules' skill-source

Use the complete skill-source/skills/laravel-authorization-review directory with your client’s skill installer.

  • skills/laravel-authorization-review

    master · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/laravel-authorization-review

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
4ba51462ea327079c7abafd197d05e433ebed30749e8f81acc886a71d336c6f3
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills