tyroneross/build-loop/plan-verify

Claude Code and agent skill by tyroneross/build-loop

Trust tier 3
  • community
Source check pending

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-verify

SKILL.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

bash
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/plan_verify.py <plan.md> \
--repo "$PWD" \
--json [--ui-target <target>]

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

CodeMeaning
0No BLOCKERs (WARN/INFO findings allowed)
1At least one BLOCKER — plan must be revised before acceptance
2Verifier error (file not found, malformed input, internal exception)

Rules

#Rule IDWhat it catchesSeverity
1delete-with-callers"delete path" / "path has 0 callers" claims grep-disprove against repoBLOCKER
2route-change-evidence308/301 redirect, "remove route", "deprecate path" without ✅/⚠️/❓ marker or rejection-context within 5 linesBLOCKER
3package-state"X is unused" / "X is in package.json" claims contradicted by manifestBLOCKER
4numeric-driftAggregate orphan-count appears with different values in same docBLOCKER
5missing-evidenceFactual claim with no ✅/⚠️/❓ marker AND no verification hint within 3 linesWARN
6scope-splitMore than 5 Phase headings without "Milestone" structureINFO
7less-invasive-shimShim phrasing without nearby "considered alternatives" lineWARN
8tool-without-permission-tierPlan introduces a new tool / MCP server / plugin / skill without naming a T0–T5 permission tier or permission_tier keyword within 10 linesBLOCKER
9external-call-without-budget-ceilingPlan introduces a new external API or LLM call without a budget / max_tokens / timeout / rate_limit keyword within 10 linesWARN
10risk-surface-change-without-threat-modelPlan 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 docBLOCKER
11parallel-decision-recordA plan names multiple independent / parallel-safe chunks but omits parallel_batch: or parallel_skipped_reason:BLOCKER
12approach-lenses-missingA non-trivial architecture/workflow/dependency/interface plan omits ## Approach Lenses or Approach Lenses: n/a - <reason>WARN
13ui-container-contractWith --ui-target, UI plan omits real container, constrained case, text-fit behavior, or rendered probeBLOCKER
14task-contractPlan 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 itBLOCKER / 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:

json
{
"claim_text": "...",
"claim_kind": "delete|orphan|...|missing_evidence|...",
"subject": {"path": null, "symbol": null, "noun": null},
"verification_command": "rg -l ...",
"evidence": {"file": "<plan>", "line": 42, "snippet": "..."},
"result": "match|no_match|inconclusive",
"marker": null,
"severity": "BLOCKER|WARN|INFO",
"confidence": "high|medium|low",
"rule_id": "<rule-name>"
}

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:

bash
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/test_plan_verify.py

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tyroneross/build-loop/plan-verify/badge)](https://verified-skill.com/skills/tyroneross/build-loop/plan-verify)

Something wrong with this skill or its page? Tell us.