redlisted
Install: claude install-skill morodomi/dev-crew
## Current State
!`ls -t docs/cycles/*.md 2>/dev/null | head -1 || echo "(none)"`
## 禁止事項
- 実装コード作成(GREENで行う)
- テストを通すための実装
## Workflow
### Cycle Doc Gate
`for f in docs/cycles/*.md; do [ -f "$f" ] || continue; fm=$(awk '/^---$/{c++;next} c==1{print}' "$f"); echo "$fm" | grep -q '^phase:' || continue; echo "$fm" | grep -q 'phase: DONE' && continue; printf '%s\t%s\n' "$(echo "$fm" | awk 'sub(/^updated: */,""){gsub(/T/," ");print;exit}')" "$f"; done | sort | tail -1 | cut -f2` → found: continue / not found: BLOCK(run spec)
### Pre-RED Gate (deterministic)
Cycle doc の Progress Log を確認し、以下が全て満たされなければ BLOCK:
1. **sync-plan完了**: Progress Log に `SYNC-PLAN` または `sync-plan` セクションがあり、`Phase completed` 記録がある
2. **Plan Review完了**: Progress Log に `Plan Review` または `plan-review` の記録がある
```bash
# Cycle doc を取得(Cycle Doc Gate で既に特定済み)
# 1. sync-plan チェック
awk '/SYNC.PLAN|sync-plan/,/Phase completed/' "$CYCLE_DOC" | grep -qi 'Phase completed'
# 2. Plan Review チェック
grep -qiE 'Plan Review|review.*plan' "$CYCLE_DOC"
```
いずれか失敗 → BLOCK(不足ステップを案内)
Test ListのTODOからテストケースを選択してWIPに移動。
### Complexity Gate
Test List に対してREDフェーズ開始時に評価する。詳細: [reference.md](reference.md#complexity-classification)
| Class | Criteria | Stages |
|-------|----------|--------|
| trivial | 1-2 items, Example only, no escalation triggers | Stage 1 as 1-line GWT; Stage 2 skip; Stage 3 |
| standard | 3-5 items, Example only, no complex escalation triggers | Stage 1 simplified; Stage 2 Review skip; Stage 3 |
| complex |