adr
Architecture decision records: durable decisions with their date, context, and consequences — supersede, never rewrite.
The documentation report: references, diagrams, drift, API docs, badges, README structure, links, Pages.
> /plugin marketplace add azrtydxb/procoder > /plugin install procoder@procoder
How it fires
How this command gets triggered: by you, by Claude, or both.
/docsContext preview
What this command does when you run it.
The documentation report: references, diagrams, drift, API docs, badges, README structure, links, Pages.
description: "The documentation report: references, diagrams, drift, API docs, badges, README structure, links, Pages."
The user invoked /procoder:docs with arguments: $ARGUMENTS
The launcher is: "${CLAUDE_PLUGIN_ROOT}/hooks/launcher.sh"
First read .procoder/docs/RULES.md and follow it — the repo's rules win over any defaults. If it is missing, get the default via `launcher.sh templates`, write it (and .procoder/docs/mermaid.json), then continue.
1. Run `launcher.sh docs --external` and read the whole report. 2. BLOCK lines are yours to fix before the work is finished: broken relative references, Mermaid diagrams that do not compile, dead external links, files NOT checked because a tool is missing (run `launcher.sh init`). 3. info lines are judgment calls, judged honestly:
still true; update it if not, and say so either way.
genuinely public API; say why for any you leave.
README's first screen must sell the project — one-line USP, badges, quick start a stranger can paste.
`gh api repos/{owner}/{repo}/pages`; fix the pipeline, not the symptom. 4. Re-run `launcher.sh docs --external` and show the user the report. Repeat until no BLOCK lines remain and every info line is fixed or explained.
Never mark a doc updated without reading what it actually says (P-CONTROL: the tools diagnose, you verify and write).
When you WRITE documentation — a new page, a rewrite, a section — the rules file governs, and its core is the Divio documentation system: there are four kinds of document, and a page that is two of them serves neither.
Name the kind before the first line:
clean machine. No trade-offs, no alternatives; they lose the learner.
Put the goal in the title.
the options, not the interesting ones.
taken. No steps; link to the how-to instead.
Then write it the way it gets read: answer first, a copy-pasteable example over a paragraph about one, real names (`payments-api`, not `foo`), short sentences, bold on the term the eye should land on, the searchable synonym included, and an explicit "Common pitfalls" list wherever a feature has a known misuse.
If the reader would have to be two people at once, the page is two pages.
Senior-developer discipline for AI coding agents. A commit gate that counts unchecked as failing, quality controllers that refuse to call unfinished work done, and a lessons loop that closes each escaped bug's class. One Go binary, no runtime deps, works with 20+ agents.
Architecture decision records: durable decisions with their date, context, and consequences — supersede, never rewrite.
Onboard an existing codebase: every domain's checks over the whole tree, then a triaged plan to bring it in line.
The project layer: milestones, epics, and user stories with refusing controllers — spec-seeded, sprint-ready.
Run the formatting gate over the changed files, as a commit or CI would.
CI/CD hygiene and run health: pinned actions, timeouts, concurrency, tests — plus the latest runs via gh.
Copilot's auto-review escapes: find them since the last look, sanitise them, and turn each one into a lesson.