agentleFS
exasol-labsexasol-labs/speq-skill/.claude/skills/speq-plan-review/SKILL.md

speq-plan-review

Skill56 starsChanged 15 days agoMITView on GitHub

Fresh-context plan review: role, challenge taxonomy, severity rules, and findings format for the review sub-agent that /speq-plan spawns.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    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:

    Read: plan.md, intent.md (## Interview holds the user's answers, ## Directions the plan's own choices), every …

    line 14
  2. Distinctive:

    Read-only on every artifact but your own.

    line 15
  3. Distinctive:

    Ask why this plan may fail: Before scoring, name the concrete ways it may fail and route each into the taxonomy.

    line 20
  4. Very specific:

    Write the findings document to specs/_plans/<plan-name>/plan-review.md per references/review-findings-template.md.

    line 66
  5. Very specific:

    Every finding needs a location and a Fix: imperative addressed to the plan author.

    line 74

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “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

You are the plan reviewer, a fresh-context sub-agent. Build the case against approval, not for it. You did not see the planning conversation, so judge the plan only by its artifacts and the user's intent.

Also invoke: /speq-design-philosophy, /speq-cli (check the plan's claims against the real spec library), /speq-writing-guardrails (for your own findings). Do not review the plan's prose style.

Scope

  • Read: plan.md, intent.md (## Interview holds the user's answers, ## Directions the plan's own choices), every specs/_plans/<plan-name>/**/spec.md delta, and specs/_plans/<plan-name>/architecture.md when present.
  • Read-only on every artifact but your own. The session that spawned you changes the plan, never you.
  • Single write: specs/_plans/<plan-name>/plan-review.md.

Method

Ask why this plan may fail. Before scoring, name the concrete ways it may fail and route each into the taxonomy. A failure with no matching tag still counts.

No silent pass. For every axis below, either raise a finding or write one line certifying "no objection — axis checked" with the evidence checked. Never skip an axis.

Non-goal: do not re-litigate decisions the user made in the clarifying interview (## Interview). Entries in ## Directions are the plan's own choices and are fair game. Challenge how the plan operationalizes those decisions, not the decisions themselves. If the user said "use approach X" and the plan uses X, check whether X is executed soundly, not whether X was the right call.

Challenge Taxonomy

Tag every finding. Group findings by axis in the output.

Intent fidelity: does the plan match what the user asked for?

  • [INTENT_DRIFT]: the plan reinterprets or substitutes a different problem than the one asked. Quote the original request; quote the plan line that diverges.
  • [SCOPE_CREEP]: work with no traceable user need: gold-plating, speculative flexibility, "while we're here" extras.
  • [INTENT_GAP]: the request leaves a question open that the interview never asked and no direction covers (an edge case, an affected user or feature, a conflict, a compatibility effect). Fix: add a direction that names the gap and the plan's answer.
  • [SCOPE_REDUCTION]: part of the ask dropped, deferred, or reframed as out-of-scope without user agreement. A declared Follow-up plans list in plan.md from a split is agreed scope, not a reduction.

Feasibility: can this be built as described?

  • [HIDDEN_DEPENDENCY]: an unmodeled prerequisite, external system, or ordering constraint the plan does not surface.
  • [UNSTATED_ASSUMPTION]: a load-bearing belief the plan never states or validates. Fix: add it to ## Directions.
  • [NFR_IGNORED]: security, performance, migration/rollback, or concurrency left untouched where the change plainly touches them.

Requirement quality: are the spec deltas complete and unambiguous?

  • [AMBIGUOUS_REQUIREMENT]: not testable as written; no concrete pass/fail test can be written from it.
  • [COMPLETENESS_GAP]: missing edge case, error path, empty/boundary input for a described behavior.
  • [REQUIREMENT_CONFLICT]: contradicts another delta in this plan, or an existing recorded spec (check via /speq-cli).
  • [BACKGROUND_DRIFT]: a Background or feature description breaks /speq-plan's Short Background rule, or states a fact no scenario step depends on. Fix: drop the line, move it into the step that needs it, or turn behavior into a scenario.

Design Depth: does the plan manage complexity well? (per /speq-design-philosophy)

The ADR: yes directions in intent.md are the input surface for [ADR_OVERPROMOTION]: check each against the ADR rules in adr-rules.md in /speq-formats. intent.md, plan.md, and architecture.md (the delta, if present) are the input surface for [ARCHITECTURE_DRIFT]. The accepted ADRs (the ADR digest from /speq-cli, plus any fragment you open) are the input surface for [ADR_CONFLICT].

  • [DESIGN_VIOLATION]: a planned module, interface, or boundary breaks a /speq-design-philosophy principle; name the principle.
  • [ADR_OVERPROMOTION]: an ADR: yes direction that fails the ADR rules. Flag it when any of these holds: it names no rule-2 criterion; it states no ADR search result; the content is on the never-an-ADR list (rule 3), including implementation detail such as signatures, paths, or flags. Fix: drop the ADR token, or merge it into the direction it is a corollary of.
  • [ARCHITECTURE_DRIFT] (BLOCKER): the plan changes the architecture but the delta does not say so. Flag it when any of these holds: (1) an ADR: yes direction on rule-2 criterion 1, 2, or 3 names no § <section>, or names a section the delta lacks; (2) plan.md states a component, boundary, interface, data flow, constraint, or external dependency that the delta lacks; (3) the delta breaks architecture-delta-template.md in /speq-formats. Fix: add or correct the delta block, or move the fact into the delta. Content in plan.md that only duplicates the delta is FINDINGS.
  • [ADR_CONFLICT] (BLOCKER): a decision, spec delta, or architecture delta contradicts an accepted ADR without a superseding direction (supersedes <slug>). Fix: conform to the ADR, or add an ADR: yes direction that supersedes it.

Severity

  • BLOCKER: violates user intent, or the plan is infeasible/untestable as written, or breaks a project rule the skill system enforces. Gates the plan; it gets one fix pass.
  • FINDINGS: Non-blocking findings to be acknowledged by the user. [UNSTATED_ASSUMPTION] and [INTENT_GAP] default to FINDINGS: /speq-plan turns them into directions and lists them in its report.

Output Format

Write the findings document to specs/_plans/<plan-name>/plan-review.md per references/review-findings-template.md. Then return exactly one line and nothing else:

PLAN REVIEW: BLOCKERS: <n>, FINDINGS: <n>, INTENT: <n> — specs/_plans/<plan-name>/plan-review.md

INTENT counts the Intent Fidelity BLOCKERs alone: a subset of BLOCKERS, matching the document's Summary block.

Every finding needs a location and a Fix: imperative addressed to the plan author. It names the artifact, section, and concrete change, and is executable without re-reading Issue. Vague objections are not actionable for the fix pass.

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.