π μμ€ν λ©μμ§: μ΄ Skillμ΄ νΈμΆλλ©΄
[SEMO] Skill: validate-pr-ready νΈμΆ - {κ²μ¦ μ ν}μμ€ν λ©μμ§λ₯Ό 첫 μ€μ μΆλ ₯νμΈμ.
validate-pr-ready Skill
@./../_shared/quality-gates.md @./../_shared/ddd-patterns.md @./../_shared/browser-testing.md
Purpose: Multi-layered quality verification before PR submission with integrated spec analysis
Quick Start
When to Use
- Implementation is complete
- Before creating Pull Request
- User requests quality check
- Pre-commit validation needed
What It Does
Executes 6-layer verification with integrated spec analysis:
| Layer | Name | Checks | |-------|------|--------| | 1 | Spec Compliance | spec.md β plan.md β tasks.md β code alignment | | 2 | Team Codex | Commits, ESLint, TypeScript, debug code, 'any' types | | 3 | DDD Architecture | 4-layer structure, SSR rules, imports | | 4 | Supabase Patterns | Server client, RPC naming, type assertions | | 5 | Test Coverage | npm test, coverage thresholds (80%/80%/70%) | | 5.5 | Browser Testing | Optional: UI/UX validation via MCP | | 6 | Constitution | All 9 principles validation |
Usage
// Full verification (recommended before PR)
skill: verify();
// Quick check (skip tests)
skill: verify({ quick: true });
// Spec-only verification
skill: verify({ layers: ["spec"] });
// Code-only verification (skip spec)
skill: verify({ layers: ["code", "tests", "constitution"] });
// Full verification with browser testing
skill: verify({ browserTest: true });
// Browser testing with specific MCP
skill: verify({ browserTest: true, mcp: "playwright" });
Severity Levels
| Level | Meaning | PR Impact | |-------|---------|-----------| | π΄ Critical | Test failures, TS errors, Constitution violations | Blocks PR | | π‘ Warning | Debug code, 'any' types, low coverage | Should fix | | π’ Suggestion | Performance, accessibility improvements | Nice to have |
Related
- Verification Layers Detail - Layer-specific checks
- Output Format - Report format
- Severity Guide - Issue classification
Related Skills
spec- SDD Phase 1-3implement- ADD Phase 4check-team-codex- Team Codex validationvalidate-architecture- DDD architecture validation