Prompt Best Practices
Clear, detailed prompts make the best results.
Be Clear, Detailed, and Specific
- Use concrete instructions: Specify the exact page, location (like /dashboard or a particular UI section), and functionality you want.
- Describe your needs in natural, conversational language:
- Tell the AI what not to do:
Provide Context
AI isn’t great at guessing, so it helps to describe your needs with as much context as possible.
-
Share Screenshots:
- UI design references: Screenshots of reference websites or component designs help the AI replicate or adapt them.
- Design mockups: Screenshots of Figma/whiteboard mockups help the AI accurately reconstruct your intended design.
- Error messages: Share screenshots of error messages or broken UI so the AI can pinpoint issues.
- Share key product info: Clearly explain your product’s core requirement.
- Repeat key info across prompts. AI has limited short-term memory.
Break Tasks Down
If you’re making major changes to an existing feature or layout, don’t submit everything at once. Think like a developer—break it into manageable steps.Not Recommended:“Redesign the entire page and add a data analytics component.”
Recommended:
- “Redesign the entire page layout based on the mockup in the image.”
- “Adjust the page color scheme to match Apple’s design style.”
- “Add a new data analytics page under the /dashboard route.”
- “On the /dashboard page, add an image showing user registration data.”
- “On the /dashboard page, add a line chart showing sales from the past 30 days.”
Debug Tips
Auto Fix
For compile-time and runtime errors, Step1.dev automatically captures and attempts to fix them.Use Screenshots
When debugging UI-related issues, screenshots help the AI quickly understand what’s wrong.Roll Back Code
If the AI can’t resolve an issue, roll back to a known working version and restart from there. Best for:- Getting stuck in a bug loop
- AI severely breaking the project