Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tomevault-io/skills-registry --skill gap-analysis명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | gap-analysis |
| description | | Use when this capability is needed. |
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 reviewConverted and distributed by TomeVault — claim your Tome and manage your conversions.