Skip to content
Development
Command

/docs

The documentation report: references, diagrams, drift, API docs, badges, README structure, links, Pages.

From plugin
procoder
21230 skills30 commands2 hooks
> /plugin marketplace add azrtydxb/procoder
> /plugin install procoder@procoder

Command definition

docs.md
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:

  • drift ("doc mentions changed file X"): open the doc, verify the prose is

still true; update it if not, and say so either way.

  • missing doc comments: write real doc comments for the symbols that are

genuinely public API; say why for any you leave.

  • missing required docs / badges / README structure: write them. The

README's first screen must sell the project — one-line USP, badges, quick start a stranger can paste.

  • a page serving two purposes at once: split it. See below.
  • Pages findings: if Pages is off or stale, check the docs CI job and

`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).

Writing, not just checking

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:

  • **Tutorial** — teaches a newcomer. It must run exactly as written on a

clean machine. No trade-offs, no alternatives; they lose the learner.

  • **How-to guide** — one stated goal, numbered steps, competence assumed.

Put the goal in the title.

  • **Reference** — describes, never persuades. Flat, complete, boring. All

the options, not the interesting ones.

  • **Explanation** — why it is like this: context, trade-offs, the road not

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.

Read more
@azrtydxb
Ships withprocoder

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.

Stars on GitHub

Momentum

stars in total
212
Star history of azrtydxb/procoder on GitHub, a chart by star-history.com

Other commands on procoder.

adr

adr

Command

Architecture decision records: durable decisions with their date, context, and consequences — supersede, never rewrite.

@azrtydxb@azrtydxbInstall Command
audit

audit

Command

Onboard an existing codebase: every domain's checks over the whole tree, then a triaged plan to bring it in line.

@azrtydxb@azrtydxbInstall Command
backlog

backlog

Command

The project layer: milestones, epics, and user stories with refusing controllers — spec-seeded, sprint-ready.

@azrtydxb@azrtydxbInstall Command
check

check

Command

Run the formatting gate over the changed files, as a commit or CI would.

@azrtydxb@azrtydxbInstall Command
ci

ci

Command

CI/CD hygiene and run health: pinned actions, timeouts, concurrency, tests — plus the latest runs via gh.

@azrtydxb@azrtydxbInstall Command
copilot-leak

copilot-leak

Command

Copilot's auto-review escapes: find them since the last look, sanitise them, and turn each one into a lesson.

@azrtydxb@azrtydxbInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command