Documentation
Keep project docs accurate and current with automated diff-aware syncing.
Best for: Post-feature updates, new project setup, changelog generation
Time estimate: 10-20 minutes
Skills used: meow:document-release, meow:llms
Agents involved: documenter
Overview
MeowKit's documenter agent keeps project docs in sync with the codebase. It owns docs/ (except docs/architecture/ and docs/journal/) and uses two key skills: meow:document-release for diff-aware updates after shipping, and meow:llms for generating AI-discoverable documentation indexes.
After shipping a feature
Documentation syncs automatically as Step 8.5 of /meow:ship. The meow:document-release skill:
- Reads the git diff since the last release
- Cross-references against all project docs (README, ARCHITECTURE, CONTRIBUTING, CLAUDE.md, TODOS)
- Updates sections affected by the changes
- Polishes CHANGELOG voice and categorization (Added/Changed/Fixed/Removed)
- Cleans up completed TODOS
If you need to trigger it manually:
/meow:docs-sync # diff-aware update based on recent changesStarting a new project
/meow:docs-init # scans codebase, generates doc skeletonThe documenter creates initial versions of: README, API reference, architecture overview, and contributing guide.
Generating llms.txt
/meow:llms --source ./docs --base-url https://docs.example.comThe meow:llms skill generates llms.txt (AI-discoverable documentation index following the llmstxt.org spec). A Python script handles scanning, title extraction, and categorization — Claude only reviews the output.
What the documenter agent does and doesn't do
| Does | Doesn't |
|---|---|
| Updates docs/ when code changes | Write in docs/architecture/ (architect owns that) |
| Generates changelogs from conventional commits | Write in docs/journal/ (journal-writer owns that) |
| Flags documentation gaps | Modify source code or tests |
| Verifies docs match implementation | Generate placeholder content |
Next workflow
→ Sprint Retrospective — analyze what was shipped