Documentation creation
Natural invoke
- "Write AGENTS.md for projects/templates/template_code_project/scripts/"
- "README and AGENTS for new infrastructure package"
- "Fix stale commands in docs/prompts AGENTS.md"
Inputs to confirm
- Directory — path to document.
- Audience — AGENTS (technical/API) vs README (quick nav).
Workflow
Read live code — list modules, entrypoints, tests; do not invent APIs.
AGENTS.md — purpose, layout diagram, public functions/signatures or pointers, verification commands, see-also links.
README.md — short index, quick commands, link to AGENTS.
Cross-links — relative paths; active project names →
docs/_generated/active_projects.md.Tone — understated; show not tell; trim non-semantic adjectives.
Validate —
uv run python scripts/audit/lint_docs.pywhen touching many md files.
Deliverables
- Updated AGENTS.md + README.md (and SKILL.md if agent-routable folder)
Verification commands
uv run python scripts/audit/lint_docs.py
# Spot-check links mentioned in docs resolve
When NOT to use
- Full repo audit → comprehensive-assessment
- Manuscript prose → manuscript skills