/ ディレクトリ / プレイグラウンド / spec-flow
● コミュニティ echoVic ⚡ 即起動

spec-flow

作者 echoVic · echoVic/spec-flow

Forces Claude Code through a 5-phase spec-driven workflow — Proposal, Requirements (EARS), Design, Tasks, Implementation — with living docs in .spec-flow/.

Spec-Flow is a skill that structures feature development as a gated pipeline. Each phase produces a Markdown artifact and pauses for your confirmation. Triggers include 'spec-flow', 'spec mode', 'need a plan', plus Chinese phrases '写个方案' and '做个规划'. Supports --fast (skip confirmations) and --skip-design flags.

なぜ使うのか

主な機能

ライブデモ

実際の動作

spec-flow-skill.replay ▶ 準備完了
0/0

インストール

作者のリポジトリ · Claude Skills の公式ドキュメント

ユースケース

実用的な使い方: spec-flow

Turn a vague feature idea into a documented spec and implementation

👤 Engineers pushing back against 'just start coding' ⏱ ~60 min intermediate

使うタイミング: PM handed you a one-liner and you'd rather spend 20 minutes writing a spec than 2 days writing the wrong code.

フロー
  1. Invoke the workflow
    spec-flow: add multi-region failover to our billing service.✓ コピーしました
    → Claude writes .spec-flow/proposal.md and waits for confirmation
  2. Confirm or edit each phase
    Proposal looks good — proceed to requirements.✓ コピーしました
    → requirements.md appears with EARS-format statements
  3. Implement from the task list
    Start the implementation phase. Work through tasks.md top-to-bottom.✓ コピーしました
    → Code changes that map 1:1 to task checkboxes

結果: A feature ships with the spec still alive in .spec-flow/ — future you can see why every decision happened.

注意点
  • You're hacking a 10-minute fix and the skill adds 4 gates — Use --fast or just skip the skill for trivial work
組み合わせ: github · filesystem

Reverse-engineer a spec for existing code before refactoring

👤 Engineers inheriting undocumented modules ⏱ ~45 min intermediate

使うタイミング: About to refactor something nobody wrote a spec for.

フロー
  1. Ask Spec-Flow to backfill
    spec-flow --skip-design: backfill proposal and requirements.md for the existing src/auth module.✓ コピーしました
    → Clean EARS requirements extracted from actual code behavior
  2. Use the spec as refactor target
    Now design phase — how would we restructure while preserving these requirements?✓ コピーしました
    → design.md that maps new architecture to existing requirements

結果: A refactor grounded in a written contract instead of tribal knowledge.

組み合わせ: filesystem

組み合わせ

他のMCPと組み合わせて10倍の力を

spec-flow-skill + github

Commit .spec-flow/ artifacts alongside code so the spec lives in the repo history

After implementation, commit .spec-flow/ + src/ changes in one PR titled after the proposal.✓ コピーしました
spec-flow-skill + planning-with-files

Spec-Flow drives phase structure; planning-with-files keeps cross-session progress memory

Use spec-flow for the phases and planning-with-files for progress.md tracking across days.✓ コピーしました

ツール

このMCPが提供する機能

ツール入力呼び出すタイミングコスト
proposal_phase feature description Start of a new feature 0
requirements_phase approved proposal After proposal confirmed 0
design_phase approved requirements After requirements confirmed; skippable with --skip-design 0
tasks_phase approved design Before implementation 0
implementation_phase approved tasks Final phase — actually build it 0

コストと制限

運用コスト

APIクォータ
None
呼び出しあたりのトークン
Each phase re-reads prior .spec-flow/ docs, so context grows across phases
金額
Free — skills are local files
ヒント
Use --fast on simple features; gates only earn their keep on 2+ day work.

セキュリティ

権限、シークレット、影響範囲

認証情報の保管: No credentials — pure prompts
データ送信先: None — .spec-flow/ stays in your working directory

トラブルシューティング

よくあるエラーと対処法

Wrong trigger keywords — Claude skips phases

Don't say '--fast' unintentionally. If you want full gates, omit flags and say 'spec-flow'.

代替案

spec-flow 他との比較

代替案代わりに使う場面トレードオフ
planning-with-filesYou want durable memory across sessions rather than phase gatingDifferent axis — complementary, not competing
Freeform devFeature is 1-2 hours of workFaster, but no audit trail

その他

リソース

📖 GitHub の公式 README を読む

🐙 オープンな issue を見る

🔍 400以上のMCPサーバーとSkillsを見る