/stv:verifyfrom stv
Verifies that a PR's implementation matches the issue/spec before merge. Cross-checks completeness, correctness, and coherence using issue and PR diff.
Ships in stv. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Conformance Gate that cross-checks the spec defined in a 'issue'(Jira, Linear, github issue) against actual code changes in a PR.
Read ${CLAUDE_PLUGIN_ROOT}/prompts/decision-gate.md and apply it to every decision in this workflow.
Collect the following two items from the user:
https://github.com/xxx/yyy/pull/123)Do not proceed unless both are provided.
Read the issue and organize the following:
If AS-IS/TO-BE are not explicitly stated in the issue, infer them from the issue description and confirm with the user: "This is how I understood it — is this correct?"
Read the PR diff via MCP, or with gh pr diff <PR-URL> / gh pr view <PR-URL> --json files when no MCP connector is available, and organize the following:
After extracting spec and PR data, determine which verification dimensions apply based on the artifacts available for this feature.
Three Dimensions:
| Dimension | What it Verifies | Required Artifacts |
|---|---|---|
| Completeness | Every task/requirement has corresponding code | Tasks or issue checklist |
| Correctness | Implementation matches spec intent + scenario tests exist | Spec/issue + PR |
| Coherence | Design decisions from spec/trace are reflected in code | Full STV artifacts (spec.md + trace.md + code) |
Graceful Degradation:
Available Artifacts → Dimensions Applied:
- Issue only (no spec/trace) → Completeness only
- Issue + spec.md → Completeness + Correctness
- Issue + spec.md + trace.md → Completeness + Correctness + Coherence (full 3D)
The verifier MUST:
This step contributes to the Correctness dimension.
Before comparing spec vs implementation, run the 5-type gap analysis. This catches directional problems that per-item checklists miss.
| Gap Type | What to Check |
|---|---|
assumption_injection | Does the PR add behavior/logic the issue never mentioned? (e.g., auth, caching, logging frameworks not in spec) |
scope_creep | Does the PR implement features beyond the issue scope? (e.g., admin panel when only API was requested) |
direction_drift | Is the overall architectural approach aligned with the issue's intent? (e.g., issue says "simple script" but PR builds a framework) |
missing_core | Are ALL core deliverables from the issue actually present in the PR? |
over_engineering | Is the abstraction level proportional to the problem? (e.g., DI container for a 3-endpoint CRUD) |
For each gap found, report:
- `[gap_type]`: [what was expected] → [what was implemented] → [correction needed]
Apply the dimensions determined in Step 3. Report results per dimension.
Verdict priority: GAP_DETECTED > FAIL > PARTIAL > PASS
Include per-dimension scores in the verdict:
### Dimensional Assessment
| Dimension | Score | Notes |
|-----------|-------|-------|
| Completeness | ✅/⚠️/❌ | {N}/{M} requirements covered |
| Correctness | ✅/⚠️/❌/N/A | {detail} |
| Coherence | ✅/⚠️/❌/N/A | {detail} |
A gap is more severe than a quality issue — wrong direction wastes all effort. If gaps AND quality issues exist, report GAP_DETECTED and include quality issues as secondary findings.
When mismatches are found, be specific: "X exists in the issue but is missing from the PR" or "Y was done in the PR but is not in the issue spec."
If a bug is suspected in a FAIL or PARTIAL verdict → suggest switching to the stv:debug skill.
## STV Verify Report
### Issue: [issue key/title]
### PR: [PR URL]
### Gap Analysis
- **Gaps Found**: [None | List]
- `[gap_type]`: [expected] → [actual] → [correction]
- **Intent Alignment**: [ALIGNED | DRIFTED | MISSING_CORE]
### Dimensional Assessment
| Dimension | Score | Notes |
|-----------|-------|-------|
| Completeness | ✅/⚠️/❌ | {N}/{M} requirements covered |
| Correctness | ✅/⚠️/❌/N/A | {detail} |
| Coherence | ✅/⚠️/❌/N/A | {detail} |
### Spec Coverage
| Spec Item | Status | Notes |
|-----------|--------|-------|
| [item] | ✅/❌/⚠️ | [detail] |
### Verdict: [PASS | PARTIAL | GAP_DETECTED | FAIL]
### Action Required: [None | List of specific fixes]
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
verify, pr-review, conformance-gate, spec-check, code-review
15 skills in this plugin
/clarifyUse when the user's request is ambiguous — vague asks, polysemous instructions, unclear scope — BEFORE committing to a feature. Two-track loop (one question at a time + parallel codebase exploration) producing a Context Brief that becomes the SSOT for the follow-up work./debugUse when code behaves differently from expectations — 'why does this happen', 'find the bug', 'follow the callstack', symptom reports even without the word debugging. Blackbox methodology: AS-IS/TO-BE confirmation, callstack tracing recorded in a CWD-relative trace file, red-green fix./do-workUse when a trace.md with unfinished scenarios exists and the user wants autonomous implementation — 'continue the work', 'implement the traced feature', or after a bundle was selected. Accepts an explicit bundle contract (trace_path + scenario_ids); scans for ready scenarios only when no contract is given.npx claudepluginhub 2lab-ai/oh-my-claude --plugin stvOther plugins' skills for the same job