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.
In this repository35 other files it gives its agents.
- rules/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- architectSkill
- benchmarkSkill
- build-fixSkill
- deploySkill
- design-reviewSkill
- designSkill
- discoverSkill
- evalSkill
- extractSkill
- fixSkill
- harness-implementSkill
- harness-maintainSkill
- harness-planSkill
- harnessSkill
- harness-verifySkill
- healthSkill
- implementSkill
- lazySkill
- observeSkill
- onboardSkill
- operateSkill
- orchestrateSkill
- planSkill
- refactor-cleanSkill
- researchSkill
- resume-sessionSkill
- reviewSkill
- save-sessionSkill
- security-reviewSkill
- shipSkill
- specSkill
- testSkill
- verifySkill
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
- Distinctive: line 22
Check the plan across three dimensions:
- Very specific: line 33
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 …
- Distinctive: line 46
If nothing survives, say so plainly — a clean plan is a valid result.
- Very specific: line 53
No Critical finding remains (High/Medium/Low may be noted and carried).
≈ “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.
Files
/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
- Load the artifacts:
.claude/planning/<slug>/PLAN.mdandSPEC.md(slug is in.claude/STATE.md). If there's noPLAN.mdon disk (trivial/inline work), review the plan from the conversation instead — the checks are the same. - Delegate to the
harness-claude:planneragent 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. - Check the plan across three dimensions:
- Criteria coverage — does every
AC-ninSPEC.mdmap to at least one task'saddresses:? 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_onbetween them), are the write-sets pairwise disjoint? Aredepends_onedges acyclic and complete (no task reads another's output without declaring it)? Overlapping write-sets or a missing edge is a correctness bug.
- Criteria coverage — does every
- Red-team it: assume the plan already failed in execution and ask why. Attack hidden assumptions, not just the obvious risks.
- If findings warrant a revision, hand them back to
/harness-claude:planand 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:
| Severity | Meaning | Action |
| Critical | The plan cannot satisfy a criterion, or parallel tasks collide on a file | BLOCK — fix the plan before /harness-claude:implement |
| High | Likely bug or significant gap | Fix before building |
| Medium | Maintainability / clarity concern | Fix when reasonable |
| Low | Minor suggestion | Optional |
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.
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
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.

