Enforce writing conventions on cdocs documents
Dispatch the nit-fix agent to enforce writing conventions on cdocs documents: apply mechanical fixes and report judgment-required violations.
Usage: Invoked before review to clean up convention violations. The user can also invoke it directly on any cdocs document.
/cdocs:nit_fix cdocs/proposals/2026-01-29-topic.md cdocs/devlogs/2026-01-29-topic.md
Run nit-fix on the specified files.
/cdocs:nit_fix
Scan cdocs/**/*.md for all cdocs documents and run nit-fix on all of them (batch mode).
$ARGUMENTS or by globbing cdocs/**/*.md (excluding README files).subagent_type: "nit-fix", passing the list of absolute file paths in the prompt.Use the Task tool:
subagent_type: "nit-fix"prompt: Include the absolute file paths to process, one per line. Example:Enforce writing conventions on the following cdocs files:
/absolute/path/to/cdocs/proposals/2026-01-29-topic.md
/absolute/path/to/cdocs/devlogs/2026-01-29-session.md
The agent reads all rule files from plugins/cdocs/rules/ at runtime, classifies conventions as mechanical or judgment-required, applies mechanical fixes directly via Edit, and returns a structured report.
The agent returns a structured report with three sections:
If judgment-required violations exist, present them to the caller with the line numbers and context from the report.
review_ready (pre-review cleanup).