AI Engineer Guide

How to improvise your prompt or spec using Claude Code

Claude Code’s AskUserQuestionTool tool can help us to improve prompt/spec so that we can build a feature completely.

How to do it?

Write initial spec and use Claude Code to enhance it by prompting this

read this @SPEC.md and interview me in detail using the AskUserQuestionTool about literally anything: technical implementation, UI & UX, concerns, tradeoffs, etc. but make sure the questions are not obvious

be very in-depth and continue interviewing me continually until it's complete, then write the spec to the file

And Clade Code will ask some questions based on the spec and you need to select the answer based on your requirements.

Here’s a video by Prompt Engineering where uses this feature to build a text to image generation app using this method.

Reference

https://x.com/trq212/status/2005315275026260309

#Claude-Code

Stay Updated

Get the latest AI engineering insights delivered to your inbox.

No spam. Unsubscribe at any time.