con un clic
scope-check
Verify modified files against branch allowed/forbidden/conditional paths
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Verify modified files against branch allowed/forbidden/conditional paths
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Close a branch — final validation, PR creation, merge, archive plan file
Initialize a new branch with worktree, BRANCH.md from template, and environment setup
Run a source adapter against fixture data and verify the extracted output
Run lot gate checks — typecheck, lint, and scoped tests for the current lot
Update rules and skills after a branch merges — absorb learnings, refine patterns
Bootstrap a new source-feasibility spike in packages/radar-sources/src/sources/_spikes/
| name | scope-check |
| description | Verify modified files against branch allowed/forbidden/conditional paths |
| paths | plan/** |
| allowed-tools | Read Bash Grep Glob |
Workflow skill to verify that modified files respect branch scope boundaries declared in plan/NN-BRANCH_<slug>.md.
Read scope boundaries
Parse the ## Branch Scope Boundaries (MANDATORY) section and extract:
BRxx-EXn exception.
Also extract any declared exceptions from ## Feedback Loop.Get modified files
git diff --name-only HEAD~1 # committed
git diff --cached --name-only # staged
git diff --name-only # unstaged
Deduplicate.
Classify each file For each file, match against scope in order:
OK.VIOLATION.BRxx-EXn with rationale + impact + rollback) → OK (exception BRxx-EXn).VIOLATION (missing exception).WARNING (unknown path).Report
| File | Status | Detail |
|---------------------------------------|-------------------------|--------------------------|
| api/src/services/foo.ts | OK | Allowed: api/** |
| Makefile | VIOLATION | Forbidden |
| api/drizzle/0042.sql | OK (exception BR04-EX1) | Conditional with except. |
| scripts/deploy.sh | WARNING | Unknown path |
If any VIOLATION: stop. Either revert the file, or declare a BRxx-EXn exception in the plan file and re-run.
WARNING) are not blocking but should be added to Allowed (or removed) explicitly.