agentleFS
dagarre00dagarre00/claude-code-template/.agents/skills/plan-review/SKILL.md

plan-review

Skill1 starsChanged 3 months agoMITView on GitHub

Worker-side. How the read-only plan-adversary attacks a brief before any test exists — the six-category sweep, the blocker/risk/note vocabulary and the report format; the conductor's side is finding-disposition. Trigger on "review the plan", "pre-implementation review", "plan review", "premortem", "poke holes in the plan", "is this well specified".

27 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use spec-review, design-review and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    spec-review

    Independent, multi-model review of a design or spec **before** any code is written, for the microsoft/winappcli repo. Activate when a contributor asks to "review this spec", "review my design", "review this design doc", "validate this approach", "should we build this", "spec review", "design review", or "feature review". Fans out parallel sub-agents — each doing its OWN research against the real codebase and ecosystem rather than trusting the spec — covering necessity & scope, approach & alternatives, feasibility vs reality, risks & unknowns, DX & user impact, and a different-model-family cross-check. Emits a decision-oriented recommendation (proceed / proceed-with-changes / reconsider) to stdout. This is the PRE-CODE companion to the pr-review skill (which reviews code already written); use spec-review at the design/spec stage, not on an implemented diff. Does NOT write code or edit the spec.

    Also in 3 projects that use this

  • AICreator-WindSkill

    design-review

    编码设计师工具。设计审计和修复。

    Also in 3 projects that use this

  • CloudflareSkill

    security-audit

    Security guidance and vulnerability review for codebases, APIs, services, CLI tools, libraries, and daemons. Use for security questions, focused reviews, vulnerability research, security audits, or pen tests. Run the complete workflow only for explicit codebase audit or pen-test requests, full/comprehensive/end-to-end reviews, or requested report artifacts.

    Also in 4 projects that use this

  • AWSSkill

    retro

    Conduct a retrospective on a coding session.

    Also in 3 projects that use this

  • GoogleSkill

    code-review

    Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.

    Also in 9 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 25 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Verify before asserting: grep for a helper the plan assumes exists.

    line 29
  2. Distinctive:

    Re-dispatched after a re-plan: read the revised brief only, confirm or contest the changes, and do not reopen lines of attack you had the …

    line 62

“Common” is measured: kept by at least 6 in 10 of the 25 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Plan Review — the sweep

Your subject is intent — a plan, or a todo line plus the human's instruction — for a cycle that has not started. Every defect caught now costs a paragraph; caught after Red, it costs the cycle.

The six-category sweep

Work them in order. 1–3 are where re-work comes from; 4–6 are where the surprises are.

#CategoryLook for
1spec fidelityA named Behavior case with no step; a step no case asks for; a plan that restates a case instead of decomposing it
2testabilityA step with no observable outcome to assert; a step that cannot fail Red on its own; "add validation" with no stated input that must be rejected
3sequencingA step depending on a later one; a hidden prerequisite (migration, fixture, config, seeded data); two steps that must land together but are listed apart
4scopeCreep past the todo; files outside the entity; a case needing work no step mentions
5known trapsWalks into a gotchas.md entry, contradicts an ADR, breaks architecture.md § Conventions, or places code in the wrong layer / adds a dependency § Layers forbids
6ambiguityA step whose "done" is not decidable; a todo with two readings; scope that rests on an unstated assumption. This category escalates to the human

Two mechanical checks inside the sweep:

  • Case coverage. List the case IDs your instructions names and map each to its step(s). A case with no step is a blocker, every time.
  • Red-first viability. For each step, state the assertion that would fail before it is implemented. If you cannot, the step is not testable as written — a risk at minimum.

Verify before asserting: grep for a helper the plan assumes exists; state both readings of an ambiguous line and what each would produce. An unchecked finding is confidence: low or dropped.

Severity (closed)

SeverityMeaning
blockerThe cycle cannot correctly start as briefed — a case with no step, two live readings, a plan contradicting the spec or the layers
riskImplementable, but likely to cause re-work — thin sequencing, a step hard to test first
noteWorth knowing, not worth stopping for

Doubt grades up: unsure between blocker and risk → blocker, saying why it might be lower. A false blocker costs a paragraph; a missed one costs the cycle.

Report format

Number findings P1, P2, … most severe first.

**Subject:** plan | todo — <entity slug(s)>, cases <B1, B2>
**Checked:** <one line per category swept, and what you read>

## P1 — blocker — spec-fidelity — <one-line claim>

**Where:** plan step 4 | todo line | `path/to/file.py:42`
**What's wrong:** <2–3 sentences, mechanism not vibes>
**What it costs:** <what the cycle produces if this is not fixed first>
**Suggested resolution:** <the smallest change to the brief — one sentence, never a patch>
**Confidence:** high | medium | low

**Notes:** <tally of `note` items, one clause each>

blocker and risk get the full shape; a note is one clause in the tally. A round with nothing above note still carries the Checked: line — an unexplained pass is a failed review.

Re-dispatched after a re-plan: read the revised brief only, confirm or contest the changes, and do not reopen lines of attack you had the first time.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.