@sk8metal/michi-cli 0.13.0 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +86 -0
- package/README.md +27 -8
- package/dist/src/commands/setup-existing.d.ts.map +1 -1
- package/dist/src/commands/setup-existing.js +19 -74
- package/dist/src/commands/setup-existing.js.map +1 -1
- package/package.json +1 -1
- package/templates/claude/agents/design-reviewer/AGENT.md +0 -497
- package/templates/claude/agents/e2e-first-planner/AGENT.md +0 -410
- package/templates/claude/agents/mermaid-validator/AGENT.md +0 -257
- package/templates/claude/agents/oss-license-checker/AGENT.md +0 -265
- package/templates/claude/agents/pr-resolver/AGENT.md +0 -208
- package/templates/claude/agents/pr-size-monitor/AGENT.md +0 -330
- package/templates/claude/agents/stable-version-auditor/AGENT.md +0 -279
- package/templates/claude/commands/kiro/kiro-spec-impl.md +0 -257
- package/templates/claude/commands/kiro/kiro-spec-tasks.md +0 -370
- package/templates/claude/commands/michi/confluence-sync.md +0 -44
- package/templates/claude/commands/michi/design-review.md +0 -70
- package/templates/claude/commands/michi/e2e-plan.md +0 -117
- package/templates/claude/commands/michi/license-check.md +0 -84
- package/templates/claude/commands/michi/pr-resolve.md +0 -157
- package/templates/claude/commands/michi/project-switch.md +0 -42
- package/templates/claude/commands/michi/spec-design.md +0 -78
- package/templates/claude/commands/michi/spec-impl.md +0 -889
- package/templates/claude/commands/michi/spec-tasks.md +0 -156
- package/templates/claude/commands/michi/test-planning.md +0 -174
- package/templates/claude/commands/michi/validate-design.md +0 -58
- package/templates/claude/commands/michi/version-audit.md +0 -95
- package/templates/claude/commands/michi-multi-repo/impl-all.md +0 -293
- package/templates/claude/commands/michi-multi-repo/propagate-specs.md +0 -284
- package/templates/claude/commands/michi-multi-repo/spec-design.md +0 -359
- package/templates/claude/commands/michi-multi-repo/spec-init.md +0 -228
- package/templates/claude/commands/michi-multi-repo/spec-requirements.md +0 -198
- package/templates/claude/commands/michi-multi-repo/spec-review.md +0 -261
- package/templates/claude/rules/atlassian-integration.md +0 -35
- package/templates/claude/rules/michi-core.md +0 -54
- package/templates/claude/skills/design-review/SKILL.md +0 -648
- package/templates/claude/skills/e2e-first-planning/SKILL.md +0 -360
- package/templates/claude/skills/mermaid-validator/SKILL.md +0 -261
- package/templates/claude/skills/oss-license/SKILL.md +0 -232
- package/templates/claude/skills/stable-version/SKILL.md +0 -252
- package/templates/claude-agent/rules/code-size-monitor.md +0 -26
- package/templates/claude-agent/rules/code-size-rules.md +0 -32
- package/templates/michi/cc-sdd-overrides/README.md +0 -58
- package/templates/michi/cc-sdd-overrides/settings/rules/design-review-michi.md +0 -53
- package/templates/michi/cc-sdd-overrides/settings/templates/specs/init.json +0 -24
- package/templates/michi/cc-sdd-overrides/settings/templates/specs/tasks.md +0 -446
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: /michi:spec-tasks
|
|
3
|
-
description: Generate implementation tasks with JIRA sync option (Michi version)
|
|
4
|
-
allowed-tools: Read, Write, Edit, MultiEdit, Glob, Grep, Bash
|
|
5
|
-
argument-hint: <feature-name> [-y] [--sequential]
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Michi: Spec Tasks with JIRA Sync Option
|
|
9
|
-
|
|
10
|
-
## Base Command Reference
|
|
11
|
-
@.claude/commands/kiro/spec-tasks.md
|
|
12
|
-
|
|
13
|
-
## Development Guidelines
|
|
14
|
-
{{DEV_GUIDELINES}}
|
|
15
|
-
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
## Michi Extension: JIRA Sync Prompt
|
|
19
|
-
|
|
20
|
-
このコマンドは cc-sdd 標準の `/kiro:spec-tasks` を拡張し、タスク生成完了後にJIRA同期オプションを提示します。
|
|
21
|
-
|
|
22
|
-
### 機能追加内容
|
|
23
|
-
|
|
24
|
-
1. **タスク生成完了後の次ステップ案内**:
|
|
25
|
-
- JIRA連携が設定されている場合: JIRA同期の選択肢(A/B/C形式)を表示
|
|
26
|
-
- JIRA連携が未設定の場合: 実装フェーズへの案内 + JIRA設定ヒントを表示
|
|
27
|
-
|
|
28
|
-
2. **環境変数による条件分岐**:
|
|
29
|
-
- 以下の環境変数がすべて設定されている場合のみ、JIRA同期の選択肢を表示
|
|
30
|
-
- `ATLASSIAN_URL`
|
|
31
|
-
- `ATLASSIAN_EMAIL`
|
|
32
|
-
- `ATLASSIAN_API_TOKEN`
|
|
33
|
-
|
|
34
|
-
---
|
|
35
|
-
|
|
36
|
-
## タスク生成完了後のフロー
|
|
37
|
-
|
|
38
|
-
基底コマンド `/kiro:spec-tasks` によるタスク生成が完了した後、以下のフローを実行してください:
|
|
39
|
-
|
|
40
|
-
### Step 1: 環境変数チェック
|
|
41
|
-
|
|
42
|
-
```bash
|
|
43
|
-
# JIRA連携の環境変数をチェック
|
|
44
|
-
if [ -n "$ATLASSIAN_URL" ] && [ -n "$ATLASSIAN_EMAIL" ] && [ -n "$ATLASSIAN_API_TOKEN" ]; then
|
|
45
|
-
JIRA_CONFIGURED=true
|
|
46
|
-
else
|
|
47
|
-
JIRA_CONFIGURED=false
|
|
48
|
-
fi
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
### Step 2a: JIRA連携が設定されている場合の表示
|
|
52
|
-
|
|
53
|
-
`JIRA_CONFIGURED=true` の場合、以下のメッセージと選択肢を表示:
|
|
54
|
-
|
|
55
|
-
```
|
|
56
|
-
============================================
|
|
57
|
-
タスク生成完了 - JIRA同期オプション
|
|
58
|
-
============================================
|
|
59
|
-
|
|
60
|
-
次のアクション:
|
|
61
|
-
A) JIRAにタスクを同期する(推奨: タスク管理を一元化)
|
|
62
|
-
→ `michi jira:sync {{FEATURE_NAME}}` を実行
|
|
63
|
-
|
|
64
|
-
B) JIRAへの同期をスキップして実装に進む
|
|
65
|
-
→ `/michi:spec-impl {{FEATURE_NAME}}` を実行
|
|
66
|
-
|
|
67
|
-
C) 何もせずにこのまま終了する
|
|
68
|
-
|
|
69
|
-
選択 (A/B/C): _
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
**選択肢の説明**:
|
|
73
|
-
- **A**: Epic/Story/Subtaskを自動作成し、タスクをJIRAに同期します
|
|
74
|
-
- **B**: JIRA同期をスキップして直接TDD実装フェーズに進みます
|
|
75
|
-
- **C**: タスク生成のみで終了し、ユーザーが手動で次のステップを選択します
|
|
76
|
-
|
|
77
|
-
### Step 2b: JIRA連携が未設定の場合の表示
|
|
78
|
-
|
|
79
|
-
`JIRA_CONFIGURED=false` の場合、以下のメッセージを表示:
|
|
80
|
-
|
|
81
|
-
```
|
|
82
|
-
============================================
|
|
83
|
-
タスク生成完了
|
|
84
|
-
============================================
|
|
85
|
-
|
|
86
|
-
次のステップ:
|
|
87
|
-
→ `/michi:spec-impl {{FEATURE_NAME}}` で実装を開始
|
|
88
|
-
|
|
89
|
-
---
|
|
90
|
-
ℹ️ ヒント: JIRA連携を使用すると、タスクを自動的にJIRAに同期できます。
|
|
91
|
-
|
|
92
|
-
設定方法: 以下の環境変数を .env に追加してください:
|
|
93
|
-
- ATLASSIAN_URL=https://your-domain.atlassian.net
|
|
94
|
-
- ATLASSIAN_EMAIL=your-email@company.com
|
|
95
|
-
- ATLASSIAN_API_TOKEN=your-api-token
|
|
96
|
-
|
|
97
|
-
詳細はドキュメントを参照: docs/guides/atlassian-integration.md
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
---
|
|
101
|
-
|
|
102
|
-
## Michi Extension: Task Diff Size Guidelines
|
|
103
|
-
|
|
104
|
-
タスク分割時に、各サブタスクの git diff サイズを考慮してください。
|
|
105
|
-
|
|
106
|
-
### 推奨サイズ
|
|
107
|
-
- **目標**: 各サブタスクで 200-400 行の diff
|
|
108
|
-
- **最大**: 500 行まで(超過時は分割を検討)
|
|
109
|
-
- **警告**: 400行超過時は分割を推奨
|
|
110
|
-
|
|
111
|
-
### 除外対象ファイル(行数カウント対象外)
|
|
112
|
-
- **ロックファイル**: package-lock.json, yarn.lock, pnpm-lock.yaml, composer.lock, Gemfile.lock, poetry.lock, Pipfile.lock, Cargo.lock, go.sum
|
|
113
|
-
- **自動生成ファイル**: *.min.js, *.min.css, *.map, dist/*, build/*, coverage/*, .next/*, *.d.ts, *.generated.ts, __snapshots__/*
|
|
114
|
-
|
|
115
|
-
### 分割戦略
|
|
116
|
-
|
|
117
|
-
タスクが大きすぎる場合の分割方法:
|
|
118
|
-
|
|
119
|
-
1. **水平分割(レイヤー別)**
|
|
120
|
-
- model/repository → service/logic → controller/handler
|
|
121
|
-
- 例: 「User CRUD」→「User model作成」「User service作成」「User controller作成」
|
|
122
|
-
|
|
123
|
-
2. **垂直分割(機能スライス別)**
|
|
124
|
-
- core機能 → validation → error handling → edge cases
|
|
125
|
-
- 例: 「認証機能」→「ログインcore」「バリデーション追加」「エラーハンドリング」
|
|
126
|
-
|
|
127
|
-
3. **フェーズ分割(段階別)**
|
|
128
|
-
- 基本実装 → テスト追加 → 最適化
|
|
129
|
-
- 例: 「検索機能」→「基本検索」「フィルター追加」「パフォーマンス最適化」
|
|
130
|
-
|
|
131
|
-
### タスク生成時の確認事項
|
|
132
|
-
|
|
133
|
-
タスク分割完了後、以下を確認してください:
|
|
134
|
-
|
|
135
|
-
- [ ] 各サブタスクの予想diff行数が500行以内か
|
|
136
|
-
- [ ] 大きなサブタスクは適切に分割されているか
|
|
137
|
-
- [ ] ロックファイルや自動生成ファイルを含むタスクはその旨が明記されているか
|
|
138
|
-
|
|
139
|
-
---
|
|
140
|
-
|
|
141
|
-
## 実装上の注意点
|
|
142
|
-
|
|
143
|
-
1. **基底コマンドの実行結果を維持**:
|
|
144
|
-
- `/kiro:spec-tasks` の「Output Description」セクションで出力されるタスクサマリーは維持してください
|
|
145
|
-
- Michi Extensionの選択肢はその**後**に追加で表示します
|
|
146
|
-
|
|
147
|
-
2. **言語設定の考慮**:
|
|
148
|
-
- メッセージは日本語固定(将来的にspec.jsonの言語設定に対応する可能性あり)
|
|
149
|
-
|
|
150
|
-
3. **ユーザーインタラクション**:
|
|
151
|
-
- 選択肢を表示した後、ユーザーの入力を待ちます
|
|
152
|
-
- 選択に応じて適切なコマンド/処理を案内または実行してください
|
|
153
|
-
|
|
154
|
-
---
|
|
155
|
-
|
|
156
|
-
**Michi 固有機能**: このコマンドは cc-sdd 標準の `/kiro:spec-tasks` を拡張し、Phase 0.6(JIRA同期)への誘導を Next Phase として案内します。また、タスク粒度ガイドライン(git diff 500行制限)を提供し、適切なタスク分割を支援します。
|
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: /michi:test-planning
|
|
3
|
-
description: Integrated test planning workflow for Phase 0.3-0.4 (Test type selection and test specification creation)
|
|
4
|
-
allowed-tools: Bash, Glob, Grep, LS, Read, Write, Edit, MultiEdit, Update, AskUserQuestion
|
|
5
|
-
argument-hint: <feature-name> [-y]
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Michi: Test Planning (Phase 0.3-0.4)
|
|
9
|
-
|
|
10
|
-
## Development Guidelines
|
|
11
|
-
|
|
12
|
-
{{DEV_GUIDELINES}}
|
|
13
|
-
|
|
14
|
-
## Overview
|
|
15
|
-
|
|
16
|
-
This command integrates Phase 0.3 (Test Type Selection) and Phase 0.4 (Test Specification Creation) into a single, guided workflow. The AI will help you select appropriate test types based on your design document and create comprehensive test specifications.
|
|
17
|
-
|
|
18
|
-
## Prerequisites
|
|
19
|
-
|
|
20
|
-
Before running this command, ensure:
|
|
21
|
-
- Phase 0.2 (Design) has been completed
|
|
22
|
-
- `.kiro/specs/{feature}/design.md` exists
|
|
23
|
-
- `spec.json` shows `design.approved: true`
|
|
24
|
-
|
|
25
|
-
## Workflow
|
|
26
|
-
|
|
27
|
-
### Phase 0.3: Test Type Selection
|
|
28
|
-
|
|
29
|
-
1. **Read Design Document**
|
|
30
|
-
- Load `.kiro/specs/{feature}/design.md`
|
|
31
|
-
- Extract Testing Strategy section
|
|
32
|
-
- Analyze project requirements to determine appropriate test types
|
|
33
|
-
|
|
34
|
-
2. **Recommend Test Types**
|
|
35
|
-
Based on the design analysis, recommend appropriate test types:
|
|
36
|
-
- **Unit Test** (単体テスト): Required for all features with business logic
|
|
37
|
-
- **Integration Test** (統合テスト): Required when multiple components interact
|
|
38
|
-
- **E2E Test**: Required for user-facing features
|
|
39
|
-
- **Performance Test** (パフォーマンステスト): Required for APIs or high-load features
|
|
40
|
-
- **Security Test** (セキュリティテスト): Required for authentication, authorization, or data handling features
|
|
41
|
-
|
|
42
|
-
3. **User Selection**
|
|
43
|
-
Use `AskUserQuestion` to let the user select which test types to implement:
|
|
44
|
-
|
|
45
|
-
```markdown
|
|
46
|
-
Question: "どのテストタイプを実装しますか?(複数選択可)"
|
|
47
|
-
|
|
48
|
-
Options:
|
|
49
|
-
- Unit Test (単体テスト) - 推奨
|
|
50
|
-
- Integration Test (統合テスト) - 推奨
|
|
51
|
-
- E2E Test - 推奨(ユーザー向け機能の場合)
|
|
52
|
-
- Performance Test (パフォーマンステスト)
|
|
53
|
-
- Security Test (セキュリティテスト) - 推奨(認証・認可機能の場合)
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
Set `multiSelect: true` to allow multiple selections.
|
|
57
|
-
|
|
58
|
-
4. **Save Selection**
|
|
59
|
-
Create `.kiro/specs/{feature}/test-type-selection.json`:
|
|
60
|
-
|
|
61
|
-
```json
|
|
62
|
-
{
|
|
63
|
-
"featureName": "{feature}",
|
|
64
|
-
"selectedTypes": ["unit", "integration", "e2e", "performance", "security"],
|
|
65
|
-
"timestamp": "2025-12-09T12:00:00Z",
|
|
66
|
-
"phase": "0.3"
|
|
67
|
-
}
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
### Phase 0.4: Test Specification Creation
|
|
71
|
-
|
|
72
|
-
For each selected test type, create a test specification document:
|
|
73
|
-
|
|
74
|
-
1. **Read Template**
|
|
75
|
-
Load the appropriate template from:
|
|
76
|
-
- Unit: `docs/user-guide/templates/test-specs/unit-test-spec-template.md`
|
|
77
|
-
- Integration: `docs/user-guide/templates/test-specs/integration-test-spec-template.md`
|
|
78
|
-
- E2E: `docs/user-guide/templates/test-specs/e2e-test-spec-template.md`
|
|
79
|
-
- Performance: `docs/user-guide/templates/test-specs/performance-test-spec-template.md`
|
|
80
|
-
- Security: `docs/user-guide/templates/test-specs/security-test-spec-template.md`
|
|
81
|
-
|
|
82
|
-
2. **Extract Design Information**
|
|
83
|
-
From `design.md`, extract:
|
|
84
|
-
- Architecture diagrams
|
|
85
|
-
- Component interfaces
|
|
86
|
-
- API endpoints
|
|
87
|
-
- Data models
|
|
88
|
-
- Testing Strategy section
|
|
89
|
-
|
|
90
|
-
3. **Generate Test Specification**
|
|
91
|
-
Use the template structure and design information to create a comprehensive test specification:
|
|
92
|
-
- Replace template placeholders with actual feature details
|
|
93
|
-
- Generate specific test cases based on requirements and design
|
|
94
|
-
- Include requirement traceability IDs
|
|
95
|
-
- Add coverage targets (95% for critical code, 80% minimum)
|
|
96
|
-
|
|
97
|
-
4. **Save Test Specification**
|
|
98
|
-
Create `.kiro/specs/{feature}/test-specs/{test-type}-test-spec.md`:
|
|
99
|
-
- `unit-test-spec.md`
|
|
100
|
-
- `integration-test-spec.md`
|
|
101
|
-
- `e2e-test-spec.md`
|
|
102
|
-
- `performance-test-spec.md`
|
|
103
|
-
- `security-test-spec.md`
|
|
104
|
-
|
|
105
|
-
5. **Update spec.json**
|
|
106
|
-
Update phase information in `spec.json`:
|
|
107
|
-
|
|
108
|
-
```json
|
|
109
|
-
{
|
|
110
|
-
"phase": "test-planning-completed",
|
|
111
|
-
"testPlanning": {
|
|
112
|
-
"phase03Completed": true,
|
|
113
|
-
"phase04Completed": true,
|
|
114
|
-
"testTypesSelected": ["unit", "integration", "e2e"],
|
|
115
|
-
"testSpecsGenerated": ["unit", "integration", "e2e"]
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
## Output Structure
|
|
121
|
-
|
|
122
|
-
After completion, the following structure will be created:
|
|
123
|
-
|
|
124
|
-
```
|
|
125
|
-
.kiro/specs/{feature}/
|
|
126
|
-
├── spec.json (updated)
|
|
127
|
-
├── requirements.md
|
|
128
|
-
├── design.md
|
|
129
|
-
├── test-type-selection.json (NEW)
|
|
130
|
-
└── test-specs/ (NEW)
|
|
131
|
-
├── unit-test-spec.md
|
|
132
|
-
├── integration-test-spec.md
|
|
133
|
-
├── e2e-test-spec.md
|
|
134
|
-
├── performance-test-spec.md (optional)
|
|
135
|
-
└── security-test-spec.md (optional)
|
|
136
|
-
```
|
|
137
|
-
|
|
138
|
-
## Next Steps
|
|
139
|
-
|
|
140
|
-
After completing test planning, guide the user to the next phase:
|
|
141
|
-
|
|
142
|
-
### Recommended: Design Validation (Optional)
|
|
143
|
-
|
|
144
|
-
```bash
|
|
145
|
-
/michi:validate-design {feature-name}
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
This command will:
|
|
149
|
-
- Review the design quality
|
|
150
|
-
- **Verify test planning completion** ✅
|
|
151
|
-
- Check requirement traceability
|
|
152
|
-
|
|
153
|
-
### Or: Proceed to Task Generation
|
|
154
|
-
|
|
155
|
-
```bash
|
|
156
|
-
/michi:spec-tasks {feature-name} [-y]
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
This will generate implementation tasks based on requirements, design, and test specifications.
|
|
160
|
-
|
|
161
|
-
---
|
|
162
|
-
|
|
163
|
-
**Important:** Test planning (Phase 0.3-0.4) ensures that test implementation is properly included in the task breakdown, leading to comprehensive TDD implementation.
|
|
164
|
-
|
|
165
|
-
## Error Handling
|
|
166
|
-
|
|
167
|
-
- **Feature not found**: Display error and guide user to run `/kiro:spec-init` first
|
|
168
|
-
- **Design not approved**: Display error and guide user to complete Phase 0.2 first
|
|
169
|
-
- **Template read failure**: Use fallback structure and warn user
|
|
170
|
-
- **User cancels selection**: Save partial progress and allow resumption
|
|
171
|
-
|
|
172
|
-
---
|
|
173
|
-
|
|
174
|
-
**Michi Extension:** This command provides an integrated, AI-guided workflow for test planning that enhances the standard cc-sdd flow.
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: /michi:validate-design
|
|
3
|
-
description: Interactive technical design validation with test planning readiness check (Michi version)
|
|
4
|
-
allowed-tools: Bash, Glob, Grep, LS, Read, Write, Edit, MultiEdit, Update, WebSearch, WebFetch, AskUserQuestion
|
|
5
|
-
argument-hint: <feature-name>
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Michi: Design Validation with Test Planning
|
|
9
|
-
|
|
10
|
-
## Base Command Reference
|
|
11
|
-
@.claude/commands/kiro/validate-design.md
|
|
12
|
-
|
|
13
|
-
## Development Guidelines
|
|
14
|
-
|
|
15
|
-
{{DEV_GUIDELINES}}
|
|
16
|
-
|
|
17
|
-
## Michi Extension: Test Planning Readiness Check
|
|
18
|
-
|
|
19
|
-
設計レビューで GO 判定後、Phase 0.3-0.4(テスト計画)が完了しているか確認します。
|
|
20
|
-
|
|
21
|
-
### Post-Validation Checklist
|
|
22
|
-
|
|
23
|
-
設計が承認された場合(GO Decision)、以下を確認してください:
|
|
24
|
-
|
|
25
|
-
#### テスト計画完了確認
|
|
26
|
-
|
|
27
|
-
- [ ] `.kiro/specs/$1/test-specs/` ディレクトリが存在するか
|
|
28
|
-
- [ ] テスト仕様書が作成されているか(Phase 0.4 完了)
|
|
29
|
-
- [ ] テストタイプが選択されているか(Phase 0.3 完了)
|
|
30
|
-
|
|
31
|
-
**未完了の場合の推奨アクション**:
|
|
32
|
-
|
|
33
|
-
Phase 0.3-0.4 が未完了の場合は、タスク生成前に完了することを推奨します:
|
|
34
|
-
|
|
35
|
-
1. **Phase 0.3: テストタイプの選択**
|
|
36
|
-
- 参照: `docs/user-guide/testing/test-planning-flow.md#phase-03-テストタイプの選択`
|
|
37
|
-
- 設計書の Testing Strategy セクションを基に決定
|
|
38
|
-
|
|
39
|
-
2. **Phase 0.4: テスト仕様書の作成**
|
|
40
|
-
- テンプレート:
|
|
41
|
-
- 単体テスト: `docs/user-guide/templates/test-specs/unit-test-spec-template.md`
|
|
42
|
-
- 統合テスト: `docs/user-guide/templates/test-specs/integration-test-spec-template.md`
|
|
43
|
-
- 出力先: `.kiro/specs/$1/test-specs/`
|
|
44
|
-
|
|
45
|
-
3. **完了後**: `/michi:spec-tasks $1` でタスク生成に進む
|
|
46
|
-
|
|
47
|
-
### Next Phase Guidance
|
|
48
|
-
|
|
49
|
-
**テスト計画完了済みの場合**:
|
|
50
|
-
- `/michi:spec-tasks $1` でタスク生成
|
|
51
|
-
|
|
52
|
-
**テスト計画未完了の場合**:
|
|
53
|
-
- Phase 0.3-0.4 を実施してから `/michi:spec-tasks $1`
|
|
54
|
-
- または `/michi:spec-design $1` を再実行して Next Phase ガイダンスを確認
|
|
55
|
-
|
|
56
|
-
---
|
|
57
|
-
|
|
58
|
-
**Michi 固有機能**: このコマンドは cc-sdd 標準の `/kiro:validate-design` を拡張し、Michi 固有のテスト計画完了確認を追加します。
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: /michi:version-audit
|
|
3
|
-
description: 依存パッケージのStableバージョンを確認する
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# バージョン確認
|
|
7
|
-
|
|
8
|
-
## Development Guidelines
|
|
9
|
-
|
|
10
|
-
{{DEV_GUIDELINES}}
|
|
11
|
-
|
|
12
|
-
このコマンドは、プロジェクトの依存パッケージのバージョンを確認し、Stable/LTSバージョンの使用を推奨します。
|
|
13
|
-
|
|
14
|
-
## サブエージェント呼び出し
|
|
15
|
-
|
|
16
|
-
**重要**: このコマンドは `stable-version-auditor` サブエージェントを使用します。
|
|
17
|
-
|
|
18
|
-
stable-version-auditor サブエージェントを使用して、依存パッケージのバージョンを確認してください。
|
|
19
|
-
|
|
20
|
-
## 確認観点
|
|
21
|
-
|
|
22
|
-
### 1. Stableバージョンかどうか
|
|
23
|
-
- プロダクション推奨バージョンの使用
|
|
24
|
-
- ベータ版・アルファ版の検出
|
|
25
|
-
- RC(Release Candidate)版の検出
|
|
26
|
-
- nightlyビルドの検出
|
|
27
|
-
|
|
28
|
-
### 2. LTSバージョンの確認
|
|
29
|
-
- Long Term Support版の利用可否
|
|
30
|
-
- サポート期限の確認
|
|
31
|
-
- セキュリティアップデートの提供状況
|
|
32
|
-
|
|
33
|
-
### 3. EOL(End of Life)の確認
|
|
34
|
-
- サポート終了済みバージョンの検出
|
|
35
|
-
- セキュリティリスクの評価
|
|
36
|
-
- アップグレードの緊急度判定
|
|
37
|
-
|
|
38
|
-
## チェック項目
|
|
39
|
-
|
|
40
|
-
### バージョンステータス分類
|
|
41
|
-
|
|
42
|
-
| ステータス | 説明 | 推奨アクション |
|
|
43
|
-
|-----------|------|---------------|
|
|
44
|
-
| **Stable + LTS** | 安定版かつ長期サポート | 推奨 |
|
|
45
|
-
| **Stable** | 安定版 | 使用可能 |
|
|
46
|
-
| **Latest** | 最新版(安定性未確認) | 慎重に判断 |
|
|
47
|
-
| **Pre-release** | ベータ/RC版 | 本番環境では非推奨 |
|
|
48
|
-
| **EOL** | サポート終了 | 即時アップグレード |
|
|
49
|
-
|
|
50
|
-
### 技術スタック別の確認項目
|
|
51
|
-
|
|
52
|
-
#### Node.js
|
|
53
|
-
- Node.jsランタイムバージョン
|
|
54
|
-
- npmパッケージのバージョン
|
|
55
|
-
- semverの適切性(^, ~の使い分け)
|
|
56
|
-
|
|
57
|
-
#### Java
|
|
58
|
-
- JDKバージョン
|
|
59
|
-
- Gradleプラグインバージョン
|
|
60
|
-
- ライブラリのMaven Centralステータス
|
|
61
|
-
|
|
62
|
-
#### PHP
|
|
63
|
-
- PHPランタイムバージョン
|
|
64
|
-
- Composerパッケージバージョン
|
|
65
|
-
- 依存関係の競合チェック
|
|
66
|
-
|
|
67
|
-
## 参照スキル
|
|
68
|
-
|
|
69
|
-
スキル `stable-version` のガイドラインに従ってバージョン確認を実施してください。
|
|
70
|
-
|
|
71
|
-
## 使用例
|
|
72
|
-
|
|
73
|
-
```
|
|
74
|
-
/michi:version-audit
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
コマンド実行後、プロジェクトの依存パッケージを分析し、バージョン状況をレポートします。
|
|
78
|
-
|
|
79
|
-
## 出力
|
|
80
|
-
|
|
81
|
-
バージョン確認結果は以下の形式で出力されます:
|
|
82
|
-
|
|
83
|
-
1. **サマリー**: 依存パッケージ数、バージョンステータスの分布
|
|
84
|
-
2. **EOLパッケージ**: サポート終了済みパッケージ(緊急対応)
|
|
85
|
-
3. **Pre-releaseパッケージ**: ベータ版等の不安定版
|
|
86
|
-
4. **推奨アップグレード**: LTS版へのアップグレード候補
|
|
87
|
-
5. **詳細レポート**: 全パッケージのバージョン情報
|
|
88
|
-
|
|
89
|
-
## Phase 0.2統合
|
|
90
|
-
|
|
91
|
-
このコマンドはPhase 0.2(設計)での技術選定時に実行することを推奨します。
|
|
92
|
-
|
|
93
|
-
## 言語設定
|
|
94
|
-
|
|
95
|
-
出力言語は {{KIRO_DIR}}/project.json の設定に従います。
|