What problem does it solve? Projects accumulate scattered documentation—loose files in docs/, monolithic PRDs, duplicate stories, and specs that reach the main branch unarchived. This Skill defines where every document lives, how specs are named, and what happens when a spec closes, with scripts that enforce the rules instead of relying on prose. ## Core Features & Use Cases - Four verbs: scaffold creates the canonical tree in a new project, adopt classifies and relocates an existing messy docs/ with duplicate detection, index regenerates docs/index.md, and archive promotes canonical artifacts and moves closed specs to docs/specs/archive/. - Merge guard: a PreToolUse hook blocks git merge and PR creation while a spec has unresolved tickets or is not yet archived, reading the spec from each branch's commit. - Validation scripts: validate.sh checks ship-readiness and canonical docs paths; find-dupes.sh detects duplicate content by hash, artifact identifier, and title. - Use Case: Adopting a brownfield project whose docs/ contains loose files, an old docs/adr/ layout, and duplicated stories—survey everything, get an approved move plan, and finish with a clean, indexed, duplicate-free tree. ## Quick Start Ask the assistant to run the anvil-docs skill to scaffold the documentation tree or adopt the existing docs folder in this repository.