AU
authorization-doc-review
Review and update authorization documentation when roles, route protection, permissions, or module access behavior change across frontend, backend, and specs.
Install
mkdir -p .claude/skills/authorization-doc-review && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14781" && unzip -o skill.zip -d .claude/skills/authorization-doc-review && rm skill.zipInstalls to .claude/skills/authorization-doc-review
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Review and update authorization documentation when roles, route protection, permissions, or module access behavior change across frontend, backend, and specs.158 chars✓ has a “when” trigger
About this skill
Authorization Documentation Review
Use this skill when a change touches roles, route protection, permissions, or module access behavior.
Goal
Keep authorization documentation aligned with implementation across:
- frontend route guards
- backend auth dependencies and role checks
- feature specs
- API specs
- test plans
- central authorization docs
Read First
docs/standards/security/access-control-matrix.mddocs/standards/security/module-authorization.mdfrontend/src/auth/useAuthZ.tsxbackend/app/auth/roles.pybackend/shared/authz.py
Checklist
- Identify every changed module, route, page, or endpoint.
- Classify each affected surface as:
- public
- authenticated
- role-restricted
- Verify frontend and backend enforcement stay aligned.
- Update:
docs/standards/security/access-control-matrix.mdif role meaning changeddocs/standards/security/module-authorization.mdfor affected modules- feature spec / API spec / test plan if the change is feature-scoped
- Ensure tests cover both allowed and denied paths where relevant.
Output
When using this skill, provide:
- affected modules and routes
- required documentation updates
- any mismatches between code and docs
- any missing auth tests