Skip to content

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:

  1. Reads the git diff since the last release
  2. Cross-references against all project docs (README, ARCHITECTURE, CONTRIBUTING, CLAUDE.md, TODOS)
  3. Updates sections affected by the changes
  4. Polishes CHANGELOG voice and categorization (Added/Changed/Fixed/Removed)
  5. Cleans up completed TODOS

If you need to trigger it manually:

bash
/meow:docs-sync          # diff-aware update based on recent changes

Starting a new project

bash
/meow:docs-init          # scans codebase, generates doc skeleton

The documenter creates initial versions of: README, API reference, architecture overview, and contributing guide.

Generating llms.txt

bash
/meow:llms --source ./docs --base-url https://docs.example.com

The 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

DoesDoesn't
Updates docs/ when code changesWrite in docs/architecture/ (architect owns that)
Generates changelogs from conventional commitsWrite in docs/journal/ (journal-writer owns that)
Flags documentation gapsModify source code or tests
Verifies docs match implementationGenerate placeholder content

Next workflow

Sprint Retrospective — analyze what was shipped

Released under the MIT License.