BY am-will • V0.1.0
Scope guard that detects files modified outside the declared scope of a specification. When a .spec.md file contains a 'Files to Create/Modify' section, this hook compares git-modified files against the declared list. Files outside scope trigger a warning (non-blocking). Automatically excludes test files, config files, infrastructure files, and documentation. Essential for Spec-Driven Development to prevent scope creep during implementation.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/quality-gates/scope-guard --hook