agentleFS
vasuag09vasuag09/harness-claude/skills/plan-check/SKILL.md

plan-check

Skill2 starsChanged 6 months agoMITView on GitHub

Adversarially review a plan against its spec before implementation — check that every acceptance criterion is covered, no scope crept in, and parallel tasks have disjoint write-sets. Use after /plan, before /implement. Read-only gate; delegates to the harness-claude:planner agent in a check pass. Non-blocking except on Critical.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 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.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check the plan across three dimensions:

    line 22
  2. Very specific:

    If findings warrant a revision, hand them back to /harness-claude:plan and re-check — loop ≤ 3 times (per rules/agents.md), then accept or …

    line 33
  3. Distinctive:

    If nothing survives, say so plainly — a clean plan is a valid result.

    line 46
  4. Very specific:

    No Critical finding remains (High/Medium/Low may be noted and carried).

    line 53

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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-check — gate the plan before building

Goal: catch a broken plan before an executor acts on it. An ambiguous or incomplete plan produces an executor that guesses; parallel executors guessing differently about the same file produce conflicts. Cheaper to fix the plan now than to unwind code later.

This is the plan-phase counterpart to /harness-claude:review — same adversarial stance, one step earlier. It is read-only: it reports, it does not edit the plan.

Do this

  1. Load the artifacts: .claude/planning/<slug>/PLAN.md and SPEC.md (slug is in .claude/STATE.md). If there's no PLAN.md on disk (trivial/inline work), review the plan from the conversation instead — the checks are the same.
  2. Delegate to the harness-claude:planner agent in a check pass (read-only — pass it the plan, the spec, and the objective: "find why this plan fails before we build it"). Get back a summary with severities, not a raw dump.
  3. Check the plan across three dimensions:
    • Criteria coverage — does every AC-n in SPEC.md map to at least one task's addresses:? Name any uncovered criterion.
    • Scope — does any task do work no criterion asked for (scope creep), or is any in-scope item unplanned? Flag both directions.
    • Task independence — for tasks meant to run in parallel (same wave / no depends_on between them), are the write-sets pairwise disjoint? Are depends_on edges acyclic and complete (no task reads another's output without declaring it)? Overlapping write-sets or a missing edge is a correctness bug.
  4. Red-team it: assume the plan already failed in execution and ask why. Attack hidden assumptions, not just the obvious risks.
  5. If findings warrant a revision, hand them back to /harness-claude:plan and re-check — loop ≤ 3 times (per rules/agents.md), then accept or escalate to the user.

Output

A findings list, most-severe first, each with a severity:

SeverityMeaningAction
CriticalThe plan cannot satisfy a criterion, or parallel tasks collide on a fileBLOCK — fix the plan before /harness-claude:implement
HighLikely bug or significant gapFix before building
MediumMaintainability / clarity concernFix when reasonable
LowMinor suggestionOptional

If nothing survives, say so plainly — a clean plan is a valid result.

State

Patch .claude/STATE.md: phase: plan-check, status: done (or blocked if a Critical stands), next_skill: /implement.

Exit criterion

No Critical finding remains (High/Medium/Low may be noted and carried). Then /harness-claude:implement.

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.