Skip to content
Development
Command

/docs

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

BOOST
From plugin
procoder
21130 skills30 commands2 hooks
Install
> /plugin marketplace add azrtydxb/procoder
> /plugin install procoder@procoder

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/docs

Context preview

What this command does when you run it.

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

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

Get the whole plugin
Stats
210
Stars
17
Forks
Active
Maintenance
Go
Language
Apache-2.0
License
1d ago
Last commit
2mo ago
Created
5h ago
Added

Repo: azrtydxb/procoder

Other commands on procoder.

adr
Command

adr

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

@azrtydxb@azrtydxbInstall Command