What problem does it solve?
This Skill prevents verified code changes from being committed without matching documentation updates. It turns documentation maintenance into a repeatable pre-commit gate so architecture notes, agent instructions, README navigation, and user or developer docs stay consistent with the actual system.
Core Features & Use Cases
- Pre-commit documentation gate: Decides whether docs must be updated based on verified stories, design impact, actual diffs, and explicit skip conditions.
- Targeted multi-document maintenance: Updates AGENTS.md, ARCH.md, DESIGN.md, README.md, llms.txt, user guides, and developer guides only when the change scope requires it.
- Strict editing protocols: Enforces incremental edits, semantic versioning for AGENTS.md, fixed ARCH.md structure, synchronized README and llms.txt navigation, and reader-specific boundaries for user versus developer documentation.
- Use case: When a verified story changes architecture, workflow conventions, or user-visible behavior, use this Skill to determine exactly which documentation files need revision and keep them in the same commit as the code.
Quick Start
Ask the AI to use the docs-maintenance skill before git commit to verify whether the current verified story and diff require updates to AGENTS.md, ARCH.md, README.md, llms.txt, or related documentation.