with one click
documentation-maintenance
// Update project documentation after a change that affects behavior, interfaces, commands, architecture, or domain facts. Runs after substantive changes and before task-complete.
// Update project documentation after a change that affects behavior, interfaces, commands, architecture, or domain facts. Runs after substantive changes and before task-complete.
| name | documentation-maintenance |
| description | Update project documentation after a change that affects behavior, interfaces, commands, architecture, or domain facts. Runs after substantive changes and before task-complete. |
documentation-maintenance keeps project documentation aligned with what was just changed. It runs after substantive implementation or refactoring and before task-complete.
Run when the completed change:
README.md or guidesDo not run for:
For each changed file, identify which docs reference it or describe it:
docs/architecture/overview.md — layer responsibilities, locked constraintsdocs/guides/authoring-with-the-dsl.md — DSL authoring patternsdocs/conventions/page-objects.md — page object conventionsdocs/conventions/components.md — component conventionsREADME.md — commands and project overview.ai/docs/project_specification.md — capability triggers, recurring duties, quality expectations.ai/ that describe the changed capabilityLoad only the docs that reference the changed surface. Do not load unrelated docs.
Update only the sections that are now inaccurate or incomplete. Do not rewrite surrounding content. Do not add new sections unless the change introduces a genuinely new concept with no existing home.
Documentation records facts and patterns. It does not enforce behavior. If a doc update would add a behavioral rule, that rule belongs in a skill, convention, or root contract — not in the doc.
If any changed doc contains shell commands, npm scripts, or paths, confirm they still work against the current repository state.
Report: