access-control-review
БесплатноЗапускает вложенные скриптыНе проверенAnalyze repository-grounded identity, access control, and authorization design with evidence-first reporting and script-validated Mermaid diagrams.
от Robotti-io★ 44 звезды на GitHubОб этом скилле
Access Control Review
Purpose
Provide a repeatable, repository-grounded workflow for reviewing identity, access control, and authorization architecture, then producing durable Markdown output with validated Mermaid diagrams using local Node.js helper scripts instead of VS Code extension-based Mermaid tools.
When to use
Use this skill when you need to:
- analyze how identity, access control, and authorization are implemented across a repository or PR diff
- map roles, groups, permissions, claims, scopes, and policies to concrete enforcement points
- build an endpoint-to-access-control view grounded in repository evidence
- produce a Markdown review plus Mermaid diagrams that can be validated from a CLI-friendly workflow
Inputs to collect
- repository or PR diff in scope
- authentication source and identity provider details, if known
- principal types that matter for the review, such as end users, administrators, support users, service identities, and background jobs
- known sources of truth for groups, roles, permissions, claims, scopes, or policy assignments
- environment or tenant-specific variance, if any
- repository evidence from code, config, IaC, manifests, docs, route declarations, tests, and policy definitions
How to use
- Review the current repository and PR diff, if available, before relying on operator answers.
- Persist the output as a root-level Markdown file named
Access Control Architecture Review - YYYY-MM-DD.mdwhen the environment supports writing files. - Use evidence first and cite file paths and, when possible, line ranges.
- Mark anything that cannot be confirmed from repository evidence as
ASSUMPTIONorUNKNOWN. - Perform the mandatory intake before finalizing the report, choosing only the questions that materially change the interpretation of identity source, authorization model, source of truth, enforcement location, or environment behavior.
- Use the local Mermaid helper scripts in this skill instead of VS Code extension-based Mermaid tools.
- Validate every Mermaid diagram before finalizing the report.
- Do not generate code changes unless explicitly requested.
Rules
- MUST keep claims tied to repository evidence such as source code, configuration, manifests, IaC, tests, and route declarations.
- MUST distinguish between confirmed evidence,
ASSUMPTION, andUNKNOWN. - MUST ask focused intake questions only when they materially change the interpretation of the access control design.
- MUST perform a short pre-report intake before producing the final report.
- MUST include validated Mermaid diagrams unless Mermaid rendering is unsupported.
- MUST use the local helper scripts under
plugins/copilot-security/skills/access-control-review/scripts/for Mermaid guidance and validation. - MUST not output a Mermaid diagram that has not passed validation.
- MUST distinguish identity source, access metadata, enforcement point, source of truth, and runtime decision path.
- MUST not treat UI-only controls as sufficient authorization.
- MUST review alternate execution paths such as internal APIs, admin tools, support impersonation, background jobs, message consumers, webhooks, GraphQL resolvers, and file import or export flows.
- SHOULD prefer simple Mermaid constructs and diagram types such as
flowchartandsequenceDiagram. - MAY continue with explicit
ASSUMPTIONandUNKNOWNmarkers when questions remain unanswered.
Step-by-step process
1. Mission and scope
Produce these durable artifacts:
- A repository-grounded Markdown report describing the application authorization architecture.
- Validated Mermaid diagrams showing the identity and access control model.
- An endpoint-to-access-control mapping.
- A concise PR-ready summary.
Use the review to answer questions such as:
- how users and services authenticate
- which groups, roles, permissions, claims, or policies exist
- where they are defined
- where and how access is enforced
- which endpoints, actions, background jobs, and admin flows require which access controls
- whether controls are centralized, duplicated, inconsistent, or bypassable
- where access decisions are delegated to infrastructure, framework policy, middleware, or application code
- whether LDAP or AD groups, SSO groups, JWT claims, app roles, scopes, permissions, or policy names are mapped consistently
2. Context and assumptions
- Review the current repository and current PR diff if available.
- Prefer evidence-first analysis.
- Cite file paths and, when possible, line ranges.
- Tie claims to source code, config, IaC, manifests, docs, tests, route declarations, and policy definitions.
- If something cannot be confirmed from repository evidence, label it as
ASSUMPTIONorUNKNOWN. - Ask 2-5 focused questions only if they materially change interpretation of authentication source, identity provider, group or role source of truth, runtime enforcement location, or environment-specific policy behavior.
Установить access-control-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл access-control-review?
Analyze repository-grounded identity, access control, and authorization design with evidence-first reporting and script-validated Mermaid diagrams.
Как установить скилл access-control-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл access-control-review запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic