tyroneross/build-loop/plan-verify
Claude Code and agent skill by tyroneross/build-loop
- community
Checking that the SKILL.md file is still in the repository.
Use when build-loop Phase 2 wraps plan drafting, the user asks to "verify the plan" or "lint the plan", or any plan markdown change touches evidence, synthesis-density, risk_reason, or modifies_api fields. Runs deterministic plan-verify rules and emits findings JSON.
Install
npx vskill@latest install tyroneross/build-loop/plan-verifySKILL.md
The same SKILL.md was published earlier as tyroneross/build-loop/plan-verify.
plan-verify
Purpose
Catch grep-checkable plan errors before they ship — orphan misclassifications, internal numeric drift, route changes without evidence, package-state contradictions, missing markers on factual claims, and missing parallel dispatch decisions. It also warns when a non-trivial plan omits the clean-sheet vs current-constraints approach comparison. The deterministic counterpart to plan-critic (LLM, non-deterministic checks).
When to invoke
- During build-loop Phase 2 (Plan), immediately before "Plan accepted".
- Any time you receive a plan file authored by another tool/agent.
- Standalone via
/plan-verify <plan.md>slash command.
How to invoke
Args:
<plan.md>— required path to plan markdown--repo <path>— repo root for grep checks (omit if no repo-relative claims)--ui-target <target>— required when the plan changes a renderable UI; checks## UI Container Contract--json— emit findings JSON (default: human summary)--quiet— suppress human summary
Exit codes
| Code | Meaning | |
|---|---|---|
| 0 | No BLOCKERs (WARN/INFO findings allowed) | |
| 1 | At least one BLOCKER — plan must be revised before acceptance | |
| 2 | Verifier error (file not found, malformed input, internal exception) |
Rules
| # | Rule ID | What it catches | Severity | |
|---|---|---|---|---|
| 1 | delete-with-callers | "delete path" / "path has 0 callers" claims grep-disprove against repo | BLOCKER | |
| 2 | route-change-evidence | 308/301 redirect, "remove route", "deprecate path" without ✅/⚠️/❓ marker or rejection-context within 5 lines | BLOCKER | |
| 3 | package-state | "X is unused" / "X is in package.json" claims contradicted by manifest | BLOCKER | |
| 4 | numeric-drift | Aggregate orphan-count appears with different values in same doc | BLOCKER | |
| 5 | missing-evidence | Factual claim with no ✅/⚠️/❓ marker AND no verification hint within 3 lines | WARN | |
| 6 | scope-split | More than 5 Phase headings without "Milestone" structure | INFO | |
| 7 | less-invasive-shim | Shim phrasing without nearby "considered alternatives" line | WARN | |
| 8 | tool-without-permission-tier | Plan introduces a new tool / MCP server / plugin / skill without naming a T0–T5 permission tier or permission_tier keyword within 10 lines | BLOCKER | |
| 9 | external-call-without-budget-ceiling | Plan introduces a new external API or LLM call without a budget / max_tokens / timeout / rate_limit keyword within 10 lines | WARN | |
| 10 | risk-surface-change-without-threat-model | Plan surfaces any risk-surface signal (new tool / MCP / LLM call / persistent memory / auth change / external API / user-data handling) without referencing a threat-model artifact, OWASP/ASI ID, or "threat-model: not-applicable: <reason>" anywhere in the doc | BLOCKER | |
| 11 | parallel-decision-record | A plan names multiple independent / parallel-safe chunks but omits parallel_batch: or parallel_skipped_reason: | BLOCKER | |
| 12 | approach-lenses-missing | A non-trivial architecture/workflow/dependency/interface plan omits ## Approach Lenses or Approach Lenses: n/a - <reason> | WARN | |
| 13 | ui-container-contract | With --ui-target, UI plan omits real container, constrained case, text-fit behavior, or rendered probe | BLOCKER | |
| 14 | task-contract | Plan with ### Task N: / T-N / Chunk N headings fails Easy Terminal's task contract (et task contract check): missing purpose, deliverable, done-when or boundaries (BLOCKER); vague done-when, activity deliverable, routine step, no exclusion, no owner, no ## Intent end state (WARN). No checker installed → INFO. override: task-contract-exempt — <reason> silences it | BLOCKER / WARN |
Rules 8–10 ship with the security-methodology skill (build-loop 0.7.x). They lint the security boundary at Phase 2 the same way rules 1–4 lint the factual / orphan / package boundary. When rule 10 fires, the orchestrator's Phase 1 trigger-detector should also be flipping triggers.riskSurfaceChange: true — if rule 10 fires but the trigger isn't set, that's a Phase 1 detection gap worth investigating.
What this does NOT check (use plan-critic for these)
- Alternatives genuinely considered (only checks the phrase nearby)
- Scope-split MECE quality (overlapping owners, unowned responsibilities)
- Headline drift across sections
- Marker level matches the strength of the underlying evidence
- Whether the verification source actually supports the marker
Output: Plan Evidence Contract
Each finding conforms to:
Test fixtures
skills/plan-verify/test-fixtures/:
example-app-v20.md— synthetic, 5 known errors. Expected exit 1.example-app-v22.md— synthetic full-scale plan, clean by the new standard. Expected exit 0.unrelated-good-plan.md— false-positive control. Expected exit 0.*-findings.json— per-fixture expectations.
Run the test suite:
Integration with build-loop Phase 2
The Phase 2 plan acceptance gate calls this script. On exit 1, the orchestrator must either revise the plan or document the override in .build-loop/state.json.planVerifyOverride[] with rationale before proceeding. On exit 2, treat as a verifier outage and fall back to plan-critic alone with a logged warning.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/plan-verify/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tyroneross/build-loop/plan-verify)