Build and validate project README and CLI help text. Ensures README accuracy against code, CLI help-text congruence across all commands, and correct usage examples. Use when user says /readme-doctor, 'update readme', 'fix help text', 'documentation audit', or asks to validate CLI documentation.
Two responsibilities: (1) build a comprehensive, accurate README and (2) validate that all CLI help text is correct and congruent.
A complete README MUST contain these sections in order:
--help.haake.yml format--help output. Run cargo run --offline -- <cmd> --help and compare.grep -r "HAAKE_" src/).For every command and subcommand:
<binary> <cmd> --help and capture the output-y/--yes for skip confirmation everywhere)#[arg] attribute matches the help outputCLI Help-Text Audit Report
==========================
Commands scanned: N
Issues found: N
INCONSISTENCIES:
[WARN] `haake query` uses "Agent name" but `haake memory insert` uses
"Agent or scope name" — should be consistent
[FIX] `haake memory insert --type` should be `--memory-type` to match
other commands
MISSING:
[MISS] `haake serve` does not document HAAKE_REST_PORT env var
INCORRECT:
[ERR] `haake import --type` default shown as "working" but code
defaults to "semantic"
SUPERFLUOUS:
[TRIM] `haake memory insert` shows "-V, --version" which is noise
for a subcommand
<binary> --help and all subcommand --helpgrep -rn "HAAKE_\|SW4RM_" src/--help output--help commands and verify README matches