agentleFS
NemesLaszloNemesLaszlo/Agent-Collection/.claude/skills/review-plan/SKILL.md

review-plan

Skill1 starsChanged 7 days agoMITView on GitHub

Use when a plan in _Plans/<folder>/PLAN.md is drafted and before any code is written for it (start-work step 6, "review the plan", "is this plan ready", "poke holes in this"), and again after the plan changes. Reviews it against AGENTS.md, REVIEW.md and the code it changes through the lenses in lenses.md, on fable and opus, looking for gaps as much as errors; tries to refute every finding, writes the result into the plan folder and loops with the owner until it is approved. Say "deep" for one agent per lens, or name a model to run everything on it.

42 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use review-perf, review-design and 7 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.
  • nielsmadanSkill

    review-perf

    Performance analysis for algorithmic complexity, memory leaks, N+1 queries, and render issues. Use when code feels slow, after adding loops/queries, or before scaling up.

    Also in 3 projects that use this

  • dirkkok101Skill

    review-design

    Use before /plan, after /technical-design, when user says "review design", "check the design", or when design quality is uncertain.

    Also in 4 projects that use this

  • JasonPaffSkill

    implement-plan

    Execute implementation plan with structured tracking and validation using subagent architecture

    Also in 5 projects that use this

  • SvampenSkill

    review-implementation

    Reviews implementation against session/work stream goals before committing. Identifies shortcuts, hacks, incomplete work, and validates accomplishments match actual changes. Use before /session-end to ensure implementation quality.

    Also in 3 projects that use this

  • PydanticSkill

    review-security

    Security review of the current branch against its merge base — sandbox escapes, memory errors, panics and resource-limit bypasses. Use when reviewing changes for security risk, or before merging anything touching the heap/ module, path_security.rs, the wire protocol or the pool.

    Also in 4 projects that use this

  • 32103210Skill

    create-rule

    Create Cursor rules for persistent AI guidance. Use when you want to create a rule, add coding standards, set up project conventions, configure file-specific patterns, create RULE.md files, or asks about .cursor/rules/ or AGENTS.md.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 40 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Deep: run .claude/skills/review-code/scripts/review.workflow.js with the Workflow tool and

    line 41
  2. Distinctive:

    Every lens runs as its own agent, a reconcile pass merges duplicates, each blocker, major and sensitive finding meets a refuter on the …

    line 44
  3. Very specific:

    Ask the owner about every edit that changes the design or the scope, needs their intent, or touches a sensitive area: as a choice with your …

    line 55
  4. Very specific:

    Ask [owner call] findings one at a time, with both sides.

    line 57

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

Review a plan

A plan review catches a design defect while it is still a one-line edit to the plan. It reads the plan against the rules and the code it changes, applies every lens in lenses.md (this folder) and the project lenses in REVIEW.md, tries to refute each finding, records the result in the plan folder, and loops with the owner until the plan is approved.

Request: $ARGUMENTS

Inputs

  • The plan, by path: _Plans/<folder>/PLAN.md. Never review "the latest plan".
  • The tier: standard by default; deep when asked for, or when the standard pass recommends it.
  • The models: the correctness lenses on fable, the design lenses on opus (AGENTS.md, Models). A model named in the request runs every agent (for example opus when fable's quota is out); say so in the record.

Touch points, in order

  1. The ground truth the reviewers read: AGENTS.md, REVIEW.md, the plan in full with its DECISIONS.md, and the code it changes: every file the plan names, and for a contract change every consumer of it in the workspace's other repos.
  2. Review at the tier:
    • Light (a short-form plan for a small fix): one fresh agent on opus applies every lens; each confirmed blocker or major goes to one refuter on fable.
    • Standard (about ten minutes): start two fresh agents in parallel, in one message, each with the plan's path, the ground-truth list above, lenses.md and REVIEW.md. Agent A runs on fable and applies the correctness lenses (and the correctness project lenses); agent B runs on opus and applies the design lenses (and the design project lenses). Each reads and nothing else, refutes each finding as it goes by quoting the plan and the code or rule, and returns its confirmed and refuted findings and whether a deep pass is worth it. Each may add "notes for the other reviewer": suspicions outside its own lenses. Do not read the ground truth into this session yourself. Merge: the same section and the same defect from both is one finding, marked found by both; a note the other did not cover becomes a candidate finding for a refuter. Then give each confirmed blocker, major or sensitive finding to its own fresh refuter, in parallel, on the other model than the one that found it. A refuter that fails leaves its finding unverified, never refuted.
    • Deep: run .claude/skills/review-code/scripts/review.workflow.js with the Workflow tool and args: { kind: "plan", label: "<folder>", plan: "<plan path>", projectLenses: [<the "### name (group)" headings under Project lenses in REVIEW.md that apply to plans>] }, adding model: "<model>" only when one was named. Every lens runs as its own agent, a reconcile pass merges duplicates, each blocker, major and sensitive finding meets a refuter on the other model, and three voters judge the rest. Recommend deep for a plan that changes a contract, a migration, a sensitive area or several repos, or when the standard pass says so; the owner decides.
  3. Write the findings to <folder>/review/plan-review.md, a round at a time: the tier, the models, the date, then a table of P1, P2, ... with severity, plan section, what it is judged against, the problem, the proposed plan edit, status (open, question, fixed, verified, wontfix) and how it was verified. Refuted findings go under "Refuted" with their reasons; unverified ones and failed lenses under "Not covered". Put a one-line summary in the plan's "Plan review" section.
  4. Propose, apply, ask:
    • Apply the clear edits that do not change the design yourself: a missing test, a missing docs step, the order of tasks, a vague check, a wrong file:line, an explicit out-of-scope line. Mark them fixed.
    • Ask the owner about every edit that changes the design or the scope, needs their intent, or touches a sensitive area: as a choice with your proposal first. Record each answer in DECISIONS.md.
    • Ask [owner call] findings one at a time, with both sides. A no closes the finding as accepted.
  5. Re-review: the next round is one fresh agent on opus (fable when an edit touches a sensitive area). It reviews only the edited sections and what they touch, with the open findings, and flips fixed to verified after reading the edited text. Number the new round's findings on from the last. Repeat 4 and 5 until a pass turns up nothing new; every round gets its agent pass.
  6. Set the verdict in plan-review.md and the plan:
    • approved when every question has its answer, every blocker and major is verified or a wontfix the owner approved (never on a sensitive area), the last pass added no blocker or major, and the plan schedules its tests, its evidence and its docs;
    • otherwise needs-fixes or needs-answers.

Done means

  • The verdict is approved, or the owner stopped the loop, with the open findings recorded as accepted or deferred, never dropped.

Never

  • Change the plan's design or scope without the owner's yes.
  • Drop a finding silently: refuted, accepted and unverified findings all stay in plan-review.md.
  • Approve a plan with an open blocker on a sensitive area.
  • Let the author's own pass stand in for the review: the reviewers are fresh agents.

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.