doc-review
Skill3 starsChanged 6 months agoMITView on GitHub
Universal multi-agent QA gate for markdown artifacts (specs, plans, decision records, RFCs, design docs). Wraps `jutsu swarm doc-review <path>` to run claude / codex / antigravity in parallel with tailored lenses (claude=completeness, codex=implementability, antigravity=consistency), synthesizes into a single review with a disagreement table. Designed to be the final-review pass for any artifact-producing skill (spec-driven-development, planning-and-task-breakdown). Use when the user says "review this spec", "review this plan", "check this RFC", or invokes /doc-review. Prints to stdout; cache + replay supported.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- mbaneshi/claude-code-masterytheir own version, first seen Oct 20, 2026
- rterakedis/leanwheel-skillstheir own version, first seen Oct 17, 2026
- maaferna/job-search-agent-systemtheir own version, first seen Oct 15, 2026
- by-carlos/daikenjatheir own version, first seen Oct 13, 2026
- sd0xdev/sd0x-dev-flowtheir own version, first seen Oct 8, 2026
- YougLin-dev/Aha-Looptheir own version, first seen Oct 8, 2026
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- stacklok/toolhive★ 2.3ksame name
- ffroliva/gflow-cli★ 367same name
- sd0xdev/sd0x-dev-flow★ 192same name
- sd0xdev/sd0x-harness★ 192same name
- YougLin-dev/Aha-Loop★ 181same name
- tlzmw001/aitest-kit★ 13same name
- ichangting/taotao-skills★ 8same name
- clearsmog/claude-skills★ 2same name
- rterakedis/leanwheel-skills★ 2same name
- andrewclark88/skills★ 1same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- code-simplificationSkill
- dcgSkill
- editorial-reviewSkill
- journalSkill
- readme-updateSkill
- security-and-hardeningSkill
- session-retroSkill
- autopilotSkill
- blunder-huntSkill
- brainstormSkill
- convergence-detectSkill
- deslopSkill
- dispatch-parallelSkill
- dreamSkill
- incremental-implementationSkill
- planning-and-task-breakdownSkill
- polishSkill
- pr-reviewSkill
- refactor-planSkill
- scope-checkSkill
- security-auditSkill
- spec-driven-developmentSkill
- unstuckSkill
- verification-before-completionSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Before doc-review, kaijutsu's artifact-producing skills (spec-driven-development, planning-and-task-breakdown) each invented their own …
- Very specific: line 41
Before the first invocation in a repo, doc-review (like every swarm preset) requires explicit per-repo consent because input goes to remote …
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
doc-review
Multi-agent review for markdown artifacts. Specs, plans, decision records, RFCs, design docs — anything written that another human (or another agent) is supposed to act on.
This skill wraps jutsu swarm doc-review. Three agents read the same artifact through three lenses, the orchestrator clusters their findings into a disagreement table, and a synthesizer agent writes the prose. Iterate via --replay <key> while tuning prompts.
Why this exists
Before doc-review, kaijutsu's artifact-producing skills (spec-driven-development, planning-and-task-breakdown) each invented their own "fresh-eyes pass" mechanism. Each was different, none were systematic. This skill is the universal QA gate they all delegate to.
Layout (rich)
doc-review/
├── SKILL.md (this file)
├── skill.yaml
├── scripts/
│ └── run.sh thin wrapper around jutsu swarm doc-review
├── prompts/
│ ├── claude.md completeness lens
│ ├── codex.md implementability lens
│ ├── antigravity.md consistency lens
│ ├── synthesizer.md cluster + render markdown
│ └── debate.md Pass-2 critique template
├── references/
│ ├── lens-design.md why each lens is what it is
│ └── interpreting-output.md how to read the disagreement table
└── runbooks/
└── tuning-prompts.md per-repo override workflowThe CLI loads prompts from prompts/ at runtime and falls back to built-in defaults when a file is missing. Per-repo overrides go in <project>/.claude/skills/doc-review/prompts/<lens>.md.
First-run consent
Before the first invocation in a repo, doc-review (like every swarm preset) requires explicit per-repo consent because input goes to remote model providers (Anthropic, OpenAI, Google).
If you run interactively from a TTY, the first invocation prompts and persists the answer. If you run headless (from inside an agent CLI session, from CI, or piped), the prompt has nothing to read from and the run aborts with a hint. Pre-grant consent with:
jutsu swarm doc-review --grant-consentThis writes allow-multi-model: true to .kaijutsu/doc-review.yaml and exits without running the swarm. Subsequent runs in the same repo work non-interactively.
When to invoke
Common entry points:
# After writing a spec
jutsu swarm doc-review SPEC.md
# Plan + decision review
jutsu swarm doc-review IMPLEMENTATION_PLAN.md
jutsu swarm doc-review .claude/decisions/2026-05-05-auth.md
# Multiple files (single concatenated review)
jutsu swarm doc-review SPEC.md PLAN.md
# --full for a high-stakes doc
jutsu swarm doc-review RFC.md --full --strict
# Iterate on the synthesis prompt
jutsu swarm doc-review --replay <key>What each lens looks for
claude — completeness
- Missing edge cases the artifact should address but doesn't
- Undefined terms or ambiguous phrasing
- Scope creep (sections claiming work outside the stated goal)
- Internal contradictions across sections
- Acceptance criteria that aren't testable as written
codex — implementability
- "This section says X but never specifies HOW" — vague directives
- Acceptance criteria that don't say what passes vs fails
- Risks named without mitigations, or mitigations cited without the risk they address
- API/CLI/data-shape claims that contradict the rest of the document
- Numerical thresholds, timeouts, or limits left unquantified
antigravity — consistency
- Phrases or terms used differently in different sections
- References to other documents/sections/issues that don't resolve
- Contradictions between locked-decisions tables and stage-detail sections
- Drift from the document's own stated patterns
- Heading hierarchy gaps
Reading the output
Same structure as pr-review:
- Disagreement table — rows are clustered findings, columns are agents. The 1/N rows (one agent flags, others didn't) are the conversation-starters. Read those first.
- Synthesis — synthesizer's prose review.
- Disagreements section — explicit callout of 1/N findings.
- Per-agent stats footer — finding counts + costs.
See references/interpreting-output.md for the full rubric.
Cache + replay
Cache key is SHA256(preset + canonical body) → first 12 hex chars. Same artifact bytes → same cache → free --replay for tuning the synthesis prompt without re-spending tokens.
# First run: 3 agents review + synthesize, cache written
jutsu swarm doc-review SPEC.md
# stderr: ... cache key abc123def456 ...
# Edit synthesizer prompt, then replay (no model calls)
$EDITOR .claude/skills/doc-review/prompts/synthesizer.md
jutsu swarm doc-review --replay abc123def456Workflow when invoked from another skill
spec-driven-development ends with: "Run jutsu swarm doc-review <spec.md>. Iterate findings until the disagreement table is mostly 2/N consensus or 0 findings."
planning-and-task-breakdown ends with: "Run jutsu swarm doc-review <plan.md>."
The artifact-producing skill is responsible for surfacing the findings to the user and iterating. doc-review just runs the swarm.
Hard rules
- Never modify the artifact under review. doc-review is read-only by design — output goes to stdout, the user decides what to change.
- Never post comments. doc-review's input isn't tied to a PR;
--post-commentis silently ignored even if pulled in by accident. - Always cite section names in finding reasoning when possible. "Acceptance Criteria, paragraph 3" is more useful than "line 47".
- Don't double-review by running pr-review on the same markdown — pr-review's lenses are code-tuned, doc-review's are prose-tuned. Mixing them produces noise.
When NOT to use this
- Code reviews — use
pr-reviewinstead. - Unstructured chat / brainstorm dumps — too noisy for the lenses. Tighten the artifact first.
- Live drafts — let the author finish a draft before reviewing. doc-review on incomplete writing produces lots of false-positive "missing" findings.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

