From stv
Verifies PR implementation against issue specs via 3D checks: Completeness (tasks covered), Correctness (matches intent), Coherence (design reflected). Final merge checkpoint.
How this skill is triggered — by the user, by Claude, or both
Slash command
/stv:verifyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Conformance Gate that cross-checks the spec defined in a 'issue'(Jira, Linear, github issue) against actual code changes in a PR.
Conformance Gate that cross-checks the spec defined in a 'issue'(Jira, Linear, github issue) against actual code changes in a PR.
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 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]
npx claudepluginhub 2lab-ai/oh-my-claude --plugin stvPerforms scope-focused PR reviews on GitHub/GitLab: validates requirements compliance, prevents scope creep, triages out-of-scope findings to backlog issues.
Verifies code implementations match specs, PRDs, epics, or tasks by checking completeness, acceptance criteria, edge cases, and scope creep. Use post- or during-implementation.
Maps intended features (docs, specs, JIRA, GitHub issues) to implementation state, detecting NOT_STARTED, IN_PROGRESS, IMPLEMENTED, DRIFTED, or ABANDONED statuses. Use during discovery or via /fp:check.