Tempting shortcut
I know the docs folder shape.
Do this instead
Discover the project contract first; there may be no universal docs tree.
Quick Ref / Command
Marketing Kit
/ak:docs
Creates, refreshes, summarizes, and audits only the documentation surface the project actually uses, including root agent context files.
Frame intent
Route command
Load rules
Discover authority
Rule 01
Code owns what and how; documentation owns why and where.
Rule 02
Smallest useful docs beat broad duplicated prose.
Rule 03
A root CLAUDE.md or AGENTS.md is process memory, not a general project handbook.
Rule 04
Current evidence outranks stale documentation and assumed file names.
Core lanes from input to output, aligned with the command's real execution path.
Start
Input, scope, route
Work
Agent / skill execution
Verify
Gate, review, validation
Close
Report, handoff, artifact
Each item contrasts a tempting shortcut with the required approach.
Tempting shortcut
I know the docs folder shape.
Do this instead
Discover the project contract first; there may be no universal docs tree.
Tempting shortcut
This behavior should be copied into docs.
Do this instead
Prefer linking to the owning script, manifest, source, or generated artifact.
Tempting shortcut
Historical notes can stay in authority docs.
Do this instead
Stateful evidence, audits, plans, and release notes stay outside evergreen authority paths.
Concrete invocations for each flag, subcommand, mode, or route available in the live workflow.
/ak:docs init /ak:docs update /ak:docsagent-context--audit
/ak:docsagent-context--advice
/ak:docsagents 30d--source
/ak:docsagents 30d--dry-run