skills/gap-analysis/SKILL.md
Analyze discrepancies between design documents and actual implementation code. Core component of PDCA Check phase, calculating Match Rate and generating Gap list. Use proactively when: - Post-implementation design comparison needed - "Does it match design?", "Is it correct?", "Verify" requests - Pre-PR/code review verification - PDCA Check phase execution Triggers: gap analysis, design-implementation comparison, verify, validate, verify implementation, compare design, check implementation, design vs code Do NOT use for: Simple code review, design document creation, bug fixes
npx skillsauth add excatt/superclaude-plusplus gap-analysisInstall 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.
Analyze discrepancies between design documents and actual implementation code to calculate Match Rate.
/gap-analysis user-auth # Analyze user-auth feature gaps
/gap-analysis # Analyze current PDCA state feature
1. Find design document
- docs/02-design/features/{feature}.design.md
- docs/02-design/{feature}.design.md
- docs/design/{feature}.md
2. Find implementation code
- src/features/{feature}/
- src/{feature}/
- app/{feature}/
- lib/{feature}/
| Item | Design | Implementation | Status | |------|--------|----------------|--------| | Endpoint URL | Design spec | Actual route | ✅/❌ | | HTTP Method | GET/POST/PUT/DELETE | Actual method | ✅/❌ | | Request Params | Schema definition | Actual type | ✅/❌ | | Response Format | Design schema | Actual response | ✅/❌ | | Error Codes | Defined errors | Actual errors | ✅/❌ |
| Item | Design | Implementation | Status | |------|--------|----------------|--------| | Entity List | Design ERD | Actual models | ✅/❌ | | Field Definitions | Schema | Type definitions | ✅/❌ | | Relationships | Design relations | Actual relations | ✅/❌ |
| Item | Design | Implementation | Status | |------|--------|----------------|--------| | Feature List | Requirements | Actual functions | ✅/❌ | | Business Logic | Design flow | Actual logic | ✅/❌ | | Error Handling | Design cases | Actual handling | ✅/❌ |
| Item | Rule | Actual | Status | |------|------|--------|--------| | Naming | PascalCase/camelCase | Actual naming | ✅/❌ | | Folder Structure | Design structure | Actual structure | ✅/❌ | | Import Order | Rule | Actual order | ✅/❌ |
Match Rate = (Matched Items / Total Comparison Items) × 100
Status Determination:
├─ >= 90% → ✅ PASS (Proceed to Report phase)
├─ 70-89% → ⚠️ WARN (Act phase - auto fix)
└─ < 70% → ❌ FAIL (Design review required)
## Gap Classification
### 🔴 Missing (Design O, Implementation X)
Items in design but not implemented
→ Implementation required
### 🟡 Added (Design X, Implementation O)
Items implemented but not in design
→ Update design document or remove code
### 🔵 Changed (Design ≠ Implementation)
Items where design differs from implementation
→ Synchronization needed (fix design or implementation)
# Gap Analysis Report: {feature}
## Analysis Overview
- **Target**: {feature}
- **Design Doc**: docs/02-design/features/{feature}.design.md
- **Implementation Path**: src/features/{feature}/
- **Analysis Time**: YYYY-MM-DD HH:mm
## Match Rate
| Category | Score | Status |
|----------|:-----:|:------:|
| API Match | 85% | ⚠️ |
| Data Model | 100% | ✅ |
| Feature Implementation | 80% | ⚠️ |
| Convention | 90% | ✅ |
| **Total** | **88%** | ⚠️ |
## Gap List
### 🔴 Missing (Implementation Required)
| Item | Design Location | Description |
|------|----------------|-------------|
| Password Reset | design.md:45 | POST /auth/forgot-password not implemented |
### 🟡 Added (Documentation Required)
| Item | Implementation Location | Description |
|------|------------------------|-------------|
| Social Login | src/auth/social.ts | Feature added not in design |
### 🔵 Changed (Synchronization Required)
| Item | Design | Implementation | Impact |
|------|--------|----------------|--------|
| Response Format | { data: [] } | { items: [] } | High |
## Recommended Actions
### Immediate Actions (matchRate < 90%)
1. Implement or remove Missing items from design
2. Synchronize Changed items
### Documentation Updates
1. Reflect Added items in design document
Update .pdca-status.json on analysis completion:
{
"feature": "{feature}",
"phase": "check",
"matchRate": 88,
"gaps": {
"missing": 1,
"added": 1,
"changed": 1
},
"lastAnalysis": "2025-01-31T10:00:00Z",
"iteration": 0
}
matchRate >= 90%:
→ "Gap analysis passed! Generate completion report with /pdca report {feature}."
matchRate < 90%:
→ "Gaps detected. Start auto-correction? (Act phase)"
→ On user approval, proceed with gap-based fixes
→ Auto re-analysis after fixes
/feature-planner - Plan phase/verify - General verification (Gap Analysis specializes in design-implementation comparison)/code-review - Code quality reviewtesting
사용자 계획을 기존 도메인 모델에 대해 stress-test하는 인터뷰 세션. 용어를 날카롭게 다듬고, 결정이 굳어질 때마다 CONTEXT.md(도메인 어휘 사전)와 ADR을 인라인으로 갱신한다. 새 기능 요구사항 탐색은 `/brainstorm`을, 기존 도메인 모델·용어와의 정합성 점검은 이 스킬을 사용한다.
development
# Excel (XLSX) Spreadsheet Skill Claude Code supports comprehensive spreadsheet operations through the **xlsx** skill, enabling creation, editing, and analysis of Excel files (.xlsx, .xlsm, .csv, .tsv). ## Trigger - When user needs Excel spreadsheet creation or editing - Financial modeling or data analysis required - Spreadsheet formulas and calculations needed - Data import from CSV/TSV files ## Core Capabilities **Primary functions include:** - Creating new spreadsheets with formulas and f
tools
Generate structured implementation workflows from PRDs and feature requirements
development
실시간 통신 설계 가이드를 실행합니다.