/attune:review-doc [file]from attune
Review a document section by section: split it, brief one blind expert subagent per section with the section's 5W1H, run the experts as a workflow beside one whole-document expert, and write the findings to .reviews/.
Ships in attune. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Announce at start: "I'm using the attune review-doc skill."
You orchestrate: you split the document, brief the experts, run them, and write the review. You never review a section yourself. Each expert is blind — it sees its own section and its brief, nothing else — so the brief must carry everything the rest of the document would have told it.
The argument is: $ARGUMENTS
MUST:
git ls-files inside a repository and find otherwise, skipping .git/, node_modules/, and .reviews/.MUST:
Write for every section:
Call the Workflow tool with the script below unchanged as script, and this value as args:
{
"document": { "path": "<path>", "text": "<the whole document>" },
"sections": [
{
"title": "<title>",
"lines": "<first>-<last>",
"text": "<the section, verbatim>",
"expert": "<expert>",
"brief": { "who": "…", "what": "…", "when": "…", "where": "…", "why": "…", "how": "…" }
}
]
}
MUST:
model: "fable" — and say so.The experts run on Fable by the user's ruling (2026-09-05); the script pins it, so the execution guidelines' default does not apply here.
export const meta = {
name: 'review-doc',
description: 'One blind expert per section plus one whole-document expert',
phases: [{ title: 'Review' }],
}
const FINDING = {
type: 'object',
properties: {
quote: { type: 'string' },
issue: { type: 'string' },
fix: { type: 'string' },
kind: { type: 'string', enum: ['mechanical', 'judgment'] },
severity: { type: 'string', enum: ['blocking', 'major', 'minor'] },
},
required: ['quote', 'issue', 'fix', 'kind', 'severity'],
}
const FINDINGS = {
type: 'object',
properties: { findings: { type: 'array', items: FINDING } },
required: ['findings'],
}
const CONTRACT = `## Checks
1. Truth: a claim that is wrong, unsupported, or against the brief.
2. Fit: the text fails its Why or its Who.
3. Clarity: a sentence the reader must read twice, a term left undefined, a term invented.
4. Completeness: what the purpose needs and the text omits.
5. Economy: what the text carries that the purpose does not need.
## Each finding
- quote: the exact text the finding anchors to, copied verbatim — it will be replaced by exact match, so it must appear in the text exactly once.
- issue: what is wrong, in one or two sentences.
- fix: for a mechanical finding, the exact replacement text; for a judgment finding, the change proposed and the choice it turns on.
- kind: "mechanical" when the replacement is exact and no reasonable author would object; "judgment" when the fix changes meaning, scope, emphasis, or structure, or rests on a fact only the author holds.
- severity: "blocking" when the text fails without the fix; "major" when a reader is misled or lost; "minor" for polish.
## Rules
- You MUST return an empty findings list when nothing is wrong.
- You MUST NOT open the reviewed document or any other part of it — the brief is all you know of the rest.
- You MAY check a claim against this machine — a file the text names, a command's help.
- You MUST NOT rewrite the text; report findings only.
- You MUST NOT file taste as mechanical.`
const brief = (b) =>
`Who: ${b.who}\nWhat: ${b.what}\nWhen: ${b.when}\nWhere: ${b.where}\nWhy: ${b.why}\nHow: ${b.how}`
const sectionPrompt = (s) =>
`You are ${s.expert}. Review one section of a document you cannot see; the brief is all you know of the rest.\n\n## Brief\n${brief(s.brief)}\n\n## Section\n${s.text}\n\n${CONTRACT}`
const wholePrompt = () =>
`You are a senior editor. Review the whole document, given below in full, for order, repetition, contradiction between sections, missing sections, and whether it delivers what its opening promises. Leave sentence-level faults to the section experts.\n\n## Section briefs\n${args.sections.map((s, i) => `### ${i + 1}. ${s.title}\n${brief(s.brief)}`).join('\n\n')}\n\n## Document\n${args.document.text}\n\n${CONTRACT}`
const opts = (label) => ({ label, phase: 'Review', model: 'fable', schema: FINDINGS })
const results = await parallel([
...args.sections.map((s, i) => () => agent(sectionPrompt(s), opts(`section ${i + 1}: ${s.title}`))),
() => agent(wholePrompt(), opts('whole document')),
])
const whole = results.pop()
return {
sections: results.map((r) => (r ? r.findings : null)),
whole: whole ? whole.findings : null,
}
MUST:
date -u +%Y-%m-%d-%H-%M-%SZ..reviews/<stamp>-<stem>.md at the project root — <stem> is the document's basename without its extension — creating .reviews/ when it is missing.<section>.<n> and the whole-document findings W.<n>, in the order the expert returned them, and give every finding Outcome: pending — the fix-issues skill fills it.Required review format:
# Review of <path>
- Source: `<path>`
- Reviewed: <stamp>
- Sections: <n>
- Findings: <n> (<a> mechanical, <b> judgment)
- Outcomes: <n> pending
## Section 1: <title> (lines <first>-<last>)
Expert: <expert>
### 1.1 <severity>, <kind>
- Quote: "<quote>"
- Issue: <issue>
- Fix: <fix>
- Outcome: pending
## Whole document
Expert: senior editor
### W.1 <severity>, <kind>
- Quote: "<quote>"
- Issue: <issue>
- Fix: <fix>
- Outcome: pending
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
attune@wezzard-skills is listed by wezzard/skills — review the source before installing
npx claudepluginhub wezzard/skills --plugin attune4 skills in this plugin
/experimentSettle a question only trying can answer — an output-style comparison, a prompt phrasing, an error message, any unknown with comparable candidates — by blind comparison: produce candidates, strip provenance, collect blind verdicts against one stated criterion, then present everything to the user for the ruling./exploreDrive a design discussion by four moves: Ask — raise the purpose, alternative, and shortcut questions at yourself first, then put what is left to the user well-shaped; Sort — split every open point into world fact, user-held fact, or judgment; Research — settle world facts through the cheapest sufficient source; Experiment — create the answer nothing existing holds. The model drives; the user spends judgment, never legwork./fix-issuesFix what a review found: apply every mechanical finding directly, put every judgment finding to the user in batches, and record each finding's outcome in the review.