speclisted
Install: claude install-skill morodomi/dev-crew
## Current State
!`ls -t docs/cycles/*.md 2>/dev/null | head -3 || echo "(none)"`
# TDD INIT Phase (Plan Mode)
plan mode内でTDDコンテキストを設定し、planファイルに記録する。
## Plan Mode Check
**plan modeでない場合**: 「plan modeで開始してください。EnterPlanMode → /spec」と案内して終了。
## Progress Checklist
```
- [ ] STATUS確認 → 環境収集 → 既存cycle確認
- [ ] 実装内容確認 → リスク評価 → スコープ確認
- [ ] planファイルにTDDコンテキスト記録
```
## Restrictions
- planファイルへの記録のみ(Cycle docはsync-planで作成)
- No implementation planning(plan modeの探索・設計で行う)/ No test/implementation code
## Workflow
### Step 1: Check Project Status
`cat docs/STATUS.md 2>/dev/null` — If not found, recommend `onboard`. Also check hooks: [reference.md](reference.md#hooks-check)
#### Version Gate
1. `.claude/dev-crew.json` を読む。missing なら警告して停止。
2. `installed_plugins.json` のdev-crewバージョンと比較。不一致なら警告して停止。
### Step 2: Collect Environment Info
Collect language versions and key packages. Details: [reference.md](reference.md)
### Step 3: Check Existing Cycles
`ls -t docs/cycles/*.md 2>/dev/null | head -1` — If an active cycle exists, recommend continuing it.
### Step 4: Ask What to Implement
Ask "What feature do you want to implement?" e.g., login, CSV export.
### Step 4.5: Risk Score Assessment
Calculate risk score (0-100). Keyword scores: [reference.md](reference.md)
| Score | Result | Action |
|-------|--------|--------|
| 0-29 | PASS | Auto-proceed |
| 30-59 | WARN | Quick questions ([reference.md](reference.md#warn-questions-30-59)) |
| 60-100 | BLOCK | Brainstorm ([refere