Build a feature with a spec, not a vibe prompt
Когда использовать: You're about to ask Claude to "add OAuth" and dread the 500-line diff that will land in one go.
Предварительные требования
- Project path known — MCP is launched with /path/to/project as arg
Поток
-
RequirementsUse 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 -
Approve + DesignI approved in the dashboard. Now write the design: components, data model, sequence diagram, error cases.✓ Скопировано→ Design doc with concrete architecture
-
Tasks + ExecuteI 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
Итог: A feature shipped with reviewable intermediate artifacts — not a mystery diff.
Подводные камни
- Claude tries to skip straight to code — The MCP blocks it — but be explicit in prompts anyway: "do not implement yet"