Analyze implementation gap between requirements and existing codebase (Michi version with detailed report)
Analyzes implementation gaps between requirements and codebase with detailed structured reports and JIRA integration options
/plugin marketplace add sk8metalme/michi/plugin install michi@sk8metal-michi<feature-name>michi/@.claude/commands/kiro/validate-gap.md
{{DEV_GUIDELINES}}
Gap分析結果を構造化されたレポートで出力:
コードカバレッジギャップ:
アーキテクチャギャップ:
テストギャップ:
# Gap Analysis Report: <feature>
## Executive Summary
- Total Requirements: 15
- Implemented: 3
- Partial: 5
- Not Implemented: 7
- Gap Score: 47%
## Detailed Gaps
### 1. Feature Gaps
| Requirement ID | Status | Implementation Location | Notes |
|----------------|--------|-------------------------|-------|
| REQ-001 | ✅ Done | src/auth/login.ts:45 | Complete |
| REQ-002 | ⚠️ Partial | src/auth/logout.ts:23 | Missing error handling |
| REQ-003 | ❌ Missing | - | Not implemented |
### 2. Architecture Gaps
- Missing: Database migration strategy
- Inconsistent: Error handling approach
- Technical Debt: Legacy code in auth module
### 3. Test Coverage Gaps
- Unit Tests: 45% (Target: 95%)
- Integration Tests: Missing for auth flow
- E2E Tests: Not implemented
## Recommendations
### Priority 1 (Critical)
1. Implement REQ-003, REQ-005
2. Add error handling to REQ-002
### Priority 2 (Important)
1. Increase unit test coverage to 95%
2. Refactor legacy auth code
### Priority 3 (Nice to Have)
1. Add integration tests
2. Document architecture decisions
Gap分析結果からJIRAチケットを自動作成:
# Gap分析結果をJIRAチケット化
/michi:validate-gap <feature> --create-jira-tickets
Michi 固有機能: このコマンドは cc-sdd 標準の /kiro:validate-gap を拡張し、詳細な構造化レポートとJIRA連携オプションを追加します。