| name | update-docs |
| description | Audit and update documentation after code changes. Use when architecture, APIs, or behavior changed and docs may have drifted. |
| allowed-tools | Read, Edit, Write, Glob, Grep, Bash(mise *), Bash(npx *), Bash(git *), Bash(glab *) |
Update docs
Docs rot when code moves faster than prose. After a code change, check if the docs still describe reality. Fix what drifted. Skip what didn't.
If agent teams are available, create an agent team for each major section of the documents.
Where to look
README.md is the SSOT. Use /related-repositories for dependent repos.
| Location | Contents |
|---|
README.md | Epics, repositories, Helm charts, infra, people |
docs/design-documents/ | Architecture (indexing, querying, data model, security, observability) |
docs/dev/ | Local setup, infrastructure, runbook |
CLAUDE.md / AGENTS.md | Agent context. Must stay identical — CI enforces this. |
crates/*/README.md | Per-crate docs |
crates/indexer/AGENTS.md | Indexer agent context |
skills/orbit/ | Agent skill for Knowledge Graph queries. SKILL.md, , are hand-written and need updates when API behavior or response shape changes. is byte-equal-synced from (CI-enforced via , no manual action needed). |