document-review
Skill43 starsChanged 2 months agoMITView on GitHub
Structural and accuracy review of documents: gaps, clarity, completeness, organization, and claims checked against the code. Use when a brainstorm, plan, spec, ADR, or any doc needs polish before the next workflow step. For exploring new ideas from scratch, use brainstorming instead.
8 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- oswarld/notion-skillstheir own version, first seen Sep 23, 2026
- shyamsridhar123/kevin-copilottheir own version, first seen Aug 23, 2026
- xiejianjun000/FlowWikitheir own version, first seen Jul 27, 2026
- aegntic/compound-engineeringedited, first seen Jun 5, 2026
- 15yotsuka/claude-skillstheir own version, first seen May 22, 2026
- c-reichert/flowstatetheir own version, first seen Apr 12, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- aegntic/compound-engineering★ 256% same
- CodeWithBehnam/cc-docs★ 258% same
Wrote their own version · 6
- yimwoo/hotl-plugin★ 27same name
- oswarld/notion-skills★ 12same name
- c-reichert/flowstate★ 9same name
- shyamsridhar123/kevin-copilot★ 7same name
- xiejianjun000/FlowWiki★ 4same name
- 15yotsuka/claude-skills★ 0same name
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 repository28 other files it gives its agents.
- agent-native-architectureSkill
- brainstormingSkill
- code-reviewSkill
- cpp-systemsSkill
- c-systemsSkill
- debuggingSkill
- frontend-designSkill
- git-worktreeSkill
- linux-bash-scriptingSkill
- md-docsSkill
- meta-promptingSkill
- nodejs-backendSkill
- orchestrating-swarmsSkill
- php-laravelSkill
- pinescriptSkill
- planningSkill
- postgresqlSkill
- python-servicesSkill
- react-frontendSkill
- receiving-code-reviewSkill
- reflectSkill
- rust-systemsSkill
- simplifying-codeSkill
- terraformSkill
- test-auditSkill
- verification-before-completionSkill
- writingSkill
- writing-testsSkill
The file
We split this skill into the rules it gives an agent
10 rules. 1 is common, 7 are distinctive, and 2 are very specific to this project.
1
Common
Most of the 5 edited versions we read keep these.
7
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
- Common: line 22
If a document path is provided: Read it, then proceed to Step 2.
- Very specific: line 24
If no document is specified: Ask which document to review (via AskUserQuestion in Claude Code, request_user_input in Codex, or numbered …
- Distinctive: line 29
Read through the document and ask:
- Very specific: line 70
If invoked within a workflow (after /ia-brainstorm or /ia-plan), also check:
- Distinctive: line 71
User intent fidelity: Document reflects what was discussed, assumptions validated
- Distinctive: line 124
After changes are complete, ask:
- Distinctive: line 127
Review complete: - Document is ready
- Distinctive: line 142
Keep changes minimal. If a paragraph needs tightening, tighten it.
- Distinctive: line 148
Document read and scored on all five quality criteria
- Distinctive: line 156
Read the relevant reference before implementing or reviewing the matching behavior:
“Common” is measured: kept by at least 6 in 10 of the 5 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
Document Review
Improve brainstorm or plan documents through structured review.
Working rules
- Assess before editing, preserve implementation-relevant constraints and rationale, and distinguish minor edits from substantive decisions.
- A review-only request authorizes findings, not file edits. Apply changes only when the user has requested editing or approved the proposed changes; do not ask again for changes already authorized.
Step 1: Get the Document
If a document path is provided: Read it, then proceed to Step 2.
If no document is specified: Ask which document to review (via AskUserQuestion in Claude Code, request_user_input in Codex, or numbered options in chat as the fallback), or look for the most recent brainstorm/plan in docs/brainstorms/ or docs/plans/.
Step 2: Assess
Read through the document and ask:
- What is unclear?
- What is unnecessary?
- What decision is being avoided?
- What assumptions are unstated?
- Where could scope accidentally expand?
- Is this technically feasible with the current architecture?
- Is what it says about the current system true? Follow each checkable claim (file paths, function, command, or config names, endpoints, cited PRs or issues, numbers, behavior implied by verbs like "retries") to its source, reading only. On a long document, sample and state the coverage.
- Are there security implications in what's proposed?
These questions surface issues. Note findings without fixing yet.
Step 3: Activate Review Lenses
Based on the document's content, activate specialized review perspectives. Scan for signals and apply matching lenses:
| Lens | Signals | What it checks |
| Product | User-facing features, customer language, market claims, scope decisions | Problem framing, value proposition clarity, whether scope matches stated goals |
| Design | UI/UX references, user flows, wireframes, interaction descriptions | Flow completeness, interaction gaps, accessibility considerations |
| Security | Auth/authorization, API endpoints, PII, payments, tokens, encryption | Auth model gaps, data exposure risks, missing threat considerations |
| Scope guardian | Multiple priority tiers (P0/P1/P2), large requirement count (>8), stretch goals | Scope creep, premature abstractions, features disguised as requirements |
| Adversarial | >5 distinct requirements, explicit architectural decisions, high-stakes domains | Unstated assumptions, optimistic estimates, single points of failure, missing failure modes |
Activate a lens when ANY of its signals match. Most documents trigger 1-2 lenses; brainstorm notes may trigger none. When a lens is active, weave its checks into the assessment and evaluation steps rather than running it as a separate pass.
Step 4: Evaluate
Score the document against these criteria:
| Criterion | What to Check |
| Clarity | Problem statement is clear, no vague language ("probably," "consider," "try to") |
| Completeness | Required sections present, constraints stated, open questions flagged |
| Specificity | Concrete enough for next step (brainstorm → can plan, plan → can implement) |
| YAGNI | No hypothetical features, simplest approach chosen |
| Accuracy | Checked claims match their source (Step 2); a contradicted claim is a defect reported with the conflicting file:line; claims outside the stated coverage are unverified, not passed |
If invoked within a workflow (after /ia-brainstorm or /ia-plan), also check:
- User intent fidelity: Document reflects what was discussed, assumptions validated
Step 5: Identify the Critical Improvement
Among everything found in Steps 2-4, does one issue stand out? If something would significantly improve the document's quality, this is the "must address" item. Highlight it prominently.
Step 6: Make Changes
Present findings, then:
- Apply authorized edits within the requested scope, including minor wording and formatting fixes. For review-only requests, report these as suggestions.
- Ask approval for changes outside the existing authorization (restructuring, removing sections, changing meaning). Ask via
AskUserQuestion(Claude Code; load with ToolSearchselect:AskUserQuestionif not loaded) orrequest_user_input(Codex); fall back to numbered options in chat. Render the finding per the contract below before asking so the decision is concrete. - Update the document inline only for authorized changes; otherwise return the findings.
Rendering a finding for decision
The reader deciding on a finding does not have the document open and has not memorized its identifiers. This binds the approval track only (step 2 above); findings routed to auto-fix in step 1 skip it. Any finding presented for approval is rendered in this order:
- Consequence if unchanged: one sentence: what goes wrong, and for whom. No identifier the reader would have to look up.
- Recommended action, marked unmistakably.
- Change intent: one sentence.
- Mechanism: at most two sentences, carrying at most two opaque anchors (defined below).
Anything deeper (file tracing, multi-hop call paths, competing call sites) is not printed; offer it in one closing line. Budget: two inline code spans per sentence, no diff blocks, raw code blocks only for genuinely additive content of five lines or less.
Classify opaque anchors by what they do, not by vocabulary:
- Navigation anchors (IDs the document itself defines) keep the ID and gain a short handle at first mention:
R6 (suppress peer panels on low-stakes calls), never a bareR6. - Provenance anchors (ticket IDs, PR numbers) get a role gloss only when the referenced event changes the decision; otherwise move them to the trace.
- Mechanism anchors (function, file, line names) translate to the role they play in the decision ("the terminal-failure predicate"), keeping the exact symbol only when precise scope is what the decision turns on. A contradicted accuracy claim keeps its conflicting
file:lineas the one mechanism anchor.
A finding whose only route to a decision is "go read the section" has failed, however correct it is.
Simplification Guidance
Simplification is purposeful removal of unnecessary complexity, not shortening for its own sake.
Simplify when:
- Content serves hypothetical future needs, not current ones
- Sections repeat information already covered elsewhere
- Detail exceeds what's needed to take the next step
- Abstractions or structure add overhead without clarity
Don't simplify:
- Constraints or edge cases that affect implementation
- Rationale that explains why alternatives were rejected
- Open questions that need resolution
Step 7: Offer Next Action
After changes are complete, ask:
- Refine again - Another review pass
- Review complete - Document is ready
Iteration Guidance
After 2 refinement passes, recommend completion only if no material issues remain. If the user wants to continue, allow up to 4 passes total. Claim convergence only when a pass finds no material changes needed. After 4, stop. Report "review limit reached; further passes require new direction." Include unresolved findings and unverified claims in the handoff. Do not continue past 4 even on user request without a fresh framing.
Withdraw what earlier answers already settled. On pass 2 and later, judge each remaining finding against the decisions already made this session before presenting it. If an earlier answer resolves or contradicts it, do not re-raise it: say in one line what the finding was and which answer retired it, then move on, and record it as withdrawn in the summary with the retiring decision named. The distinction that matters: a withdrawal caused by a user decision (a skip, a defer, an asserted fact) is durable and suppresses the finding on every later pass; a withdrawal caused by a pending fix is provisional, because the fix can fail or land in the wrong place, so a finding that regenerates on the next pass must resurface rather than stay suppressed. Evaluate lazily, at the moment the finding would have been presented; do not rescan after every answer. (Code review carries the same rule; see ia-code-review on reconciling prior discussions.)
Return control to the caller (workflow or user) after selection.
Constraints
- Fix targeted sections, don't rewrite the whole document. If the structure is fundamentally broken, surface the structural problem and ask for permission to restructure.
- Flag missing sections in the review, but don't add them. The user decides what to include.
- Keep changes minimal. If a paragraph needs tightening, tighten it. Don't expand scope.
- Review inline. No separate review files or metadata sections.
Success Criteria
- Document read and scored on all five quality criteria
- Relevant review lenses activated and checks applied
- Critical improvements identified with specific suggestions
- User presented with clear next-action choice (refine or complete)
- Revised document saved if changes were approved
Task-specific references
Read the relevant reference before implementing or reviewing the matching behavior:
- For an optional zero-context reader test of a standalone document: reader-test.md.
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.

