plugins/stv/skills/verify/SKILL.md
Triggers on "check the PR", "is it implemented per the issue", "compare spec vs implementation", "compare JIRA and PR", "verify", "validate". Final checkpoint before PR merge using 3-dimensional verification (Completeness, Correctness, Coherence).
npx skillsauth add 2lab-ai/oh-my-claude stv-verifyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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]
development
Problem space exploration mode. Stance, not workflow. Read-only codebase investigation before committing to spec. Triggers on 'explore this', 'investigate', 'understand the problem', 'what are we dealing with', 'before we spec this'.
tools
유저의 요구가 불명확할때 트리거. 애매한 요청, 다의적 지시, 범위 불분명한 작업에서 Context Brief를 생성하여 명확화한다.
development
STV Phase 3: Implementation (GREEN) + Trace Verify loop. Implements code to pass contract tests, then verifies implementation matches trace document. Supports non-linear flow — returning to spec/trace when implementation reveals errors in earlier artifacts.
development
STV Phase 2: spec.md -> vertical trace + RED contract tests. Traces every API scenario through all layers with 7-section format and parameter transformation arrows. Supports Delta Specs change tracking for trace evolution over time.