バイブプロンプトではなく仕様を使用して機能を構築する
使うタイミング: あなたはクロードに「OAuth の追加」を依頼しようとしていますが、一度に実行される 500 行の差分を恐れています。
前提条件
- プロジェクトのパスがわかっている — MCP は /path/to/project を引数として起動されます
フロー
-
要件Use spec-workflow. Create a spec named
oauth-login. Start with requirements — what are we adding, who is it for, what are the non-goals?✓ コピーしました→ Requirements doc drafted, link to dashboard for approval -
承認+設計I approved in the dashboard. Now write the design: components, data model, sequence diagram, error cases.✓ コピーしました→ Design doc with concrete architecture
-
タスク + 実行I approved. Break into tasks. Then execute task 1.1 — just that one, stop after.✓ コピーしました→ Task list created; only task 1.1 implemented with log entry
結果: レビュー可能な中間成果物とともに出荷される機能であり、謎の差分ではありません。
注意点
- Claude tries to skip straight to code — The MCP blocks it — but be explicit in prompts anyway: "do not implement yet"