This worked better than I thought.
It's a slash command in Claude Code to write detailed specs.
The AskUserQuestion tool will drill you for even the smallest detail.
Great way to enhance vibe coding results.
Claude Code then creates a huge, detailed plan from it and executes it.
Usage: /spec-init <SPEC_DIR>
This is extremely useful for new projects, but it could be adapted easily to large features.
Or you can also start off with a SPEC of your own, as shown here: x.com/trq212/status/200… I just adopted it and built a slash command for reuse.
The spec-init slash command prompt, if you want to try it:
"Your task is to first help me build a spec for my new project in ARGUMENT.
Use the AskUserQuestion Tool to help build the spec in ARGUMENT by interviewing me and gathering requirements and details about the project implementation, UI & UX, tech stack, concerns, tradeoffs, etc.
Make sure questions are not obvious and probe deeper into the underlying needs and constraints.
Interview me continually and systematically until the spec is complete. Document all responses and insights to create a comprehensive and well-structured specification that serves as the foundation for the project."
I tried it on a new project I've been wanting to work on for a while, and it vibe-coded a production-grade app in like 5 hours (tests included) what would have taken a month or so (in my conservative estimate).