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

plan-review

Skill1 starsChanged 28 days agoMITView on GitHub

Subagent-side, preloaded into the plan-adversary. How the read-only plan-adversary attacks a brief before any test exists — six-category sweep, blocker/risk/note severity vocabulary, and report format; the conductor's side is finding-disposition.

43 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use plan-execute, pr-comment and 10 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.
  • longranger2Skill

    plan-execute

    Use when the user says "/plan-execute", "plan execute", "implement plan", or "execute plan" and provides a finalized plan file path to carry out. Claude orchestrates, Codex writes code, Claude reviews, and Codex fixes issues until the quality bar is met.

    Also in 3 projects that use this

  • BenjaminGSkill

    pr-comment

    This skill should be used when reviewing someone else's pull request and you want drafted review comments posted to GitHub — either gate / gate-wf findings (tier-marked) or pr-challenge's reviewer questions (unmarked) — each drafted through humanizer and posted as a standalone inline comment at its file:line, after one confirmation. Triggers on "post these as review comments", "comment the gate findings on the PR", "draft and post my review", "leave review comments", after a gate / gate-wf run or a pr-challenge pass on a PR you're reviewing.

    Also in 3 projects that use this

  • 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

  • AnthropicSkill

    office-hours

    Set up and run Claude Code office hours, including the calendar event when the champion's own calendar connector allows it. Use when a champion wants a regular time for teammates to bring problems.

    Also in 3 projects that use this

  • AWSSkill

    retro

    Conduct a retrospective on a coding session.

    Also in 5 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    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 35 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. Distinctive:

    Always perform two mechanical checks:

    line 24
  2. Very specific:

    Verify claims before reporting (grep for assumed helpers.

    line 28

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

Review the pre-implementation brief (plan or simple-cycle todo line) before any test is written.

The six-category sweep

Sweep all 6 categories in order:

#CategoryLook for
1spec fidelityNamed Behavior case with no step; step no case asks for; plan restating a case instead of decomposing it
2testabilityStep with no observable assertion; step that cannot fail Red on its own; "add validation" without specifying rejected inputs
3sequencingStep depending on a later step; hidden prerequisite (migration, fixture, config); coupled steps listed apart
4scopeCreep past the todo; files outside the entity; over-building (unforced file, abstraction, or dependency when existing code/stdlib/platform suffices; required § Layers ports excepted)
5known trapsWalks into a gotchas.md entry, contradicts an ADR, breaks architecture.md § Conventions, or violates § Layers
6ambiguityUndecidable "done" criteria; two valid readings of a step or todo; unstated assumption (escalates to human)

Always perform two mechanical checks:

  • Case coverage: Map every briefed Behavior case ID to its step(s). A case with no step is always a blocker.
  • Red-first viability: State the failing assertion for each step. If none exists, grade at least risk.

Verify claims before reporting (grep for assumed helpers; state both readings of an ambiguity). Drop or mark confidence: low if unverified.

Severity (closed)

SeverityMeaning
blockerCycle cannot start safely — unmapped case, two live readings, or spec/layer contradiction
riskImplementable, but likely to cause rework — thin sequencing or hard-to-test step
noteMinor observation not worth stopping for

Grade up on doubt (blocker over risk, explaining why).

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 full sections; note items go in the Notes: tally. If nothing exceeds note, say so with the Checked: lines. On re-dispatch after a re-plan, check only the revised brief without reopening round-one lines of attack.

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.