Tips for writing better promptsWhen building with CodinIT.dev, the quality of your results will often depend less on how well you know code and more on how clearly and effectively you can express your ideas through prompts. Learning to prompt well is like learning a new language: the better you get at it, the more powerful and precise your builds will become. This article will help you understand how to approach prompting so you can unlock the full potential of your projects.
Plan your app, and your first prompt
When you start with a clear, well-structured prompt, you set yourself up for success. Think of your prompt as a blueprint. The clearer your blueprint, the smoother the build process will be and the less likely you’ll need to rework things down the line. Not sure where to begin? Our guide on Planning your app walks you through practical ways to organize your ideas and start with a powerful first prompt.Automatically improve your prompt
CodinIT.dev has a built-in feature to help you create better prompts:
- Write your prompt in the chatbox.
 - In the bottom-left corner of the chatbox, click the plus icon, then click Enhance prompt.
 - CodinIT.dev generates a recommended prompt, which you can then edit.
 
Comparing original and enhanced prompt results
The image below compares two websites created with the same prompt. The version on the right was built with a simple prompt, while the version on the left was enhanced to produce a more engaging homepage and additional pages.
Prompting quick tips
- Start with the application architecture, including your choice of tools, frameworks, and so on.
 - Clear context regularly, so long as you’re sure CodinIT.dev doesn’t need to remember anything short-term.
 - Add individual components and features, one by one.
 - Add in details in each component with small, specific prompts. Avoid overwhelming the LLM with too many instructions and requirements at once.
 - Be explicit about what should and shouldn’t change. You can tell CodinIT.dev to change or not change specific files. When possible, refer to specific elements, classes, or functions to guide CodinIT.dev to the exact place where you want the changes made.
 - Don’t expect the LLM to have common sense.
 
Guide CodinIT.dev’s focus
You can direct CodinIT.dev to focus on specific files or avoid changing certain parts of your project: Tell CodinIT.dev what to change:- “Update the button styling in 
components/Button.tsx” - “Add a new function to 
utils/helpers.js” - “Modify only the header component”
 
- “Don’t modify the authentication logic”
 - “Keep the existing API routes unchanged”
 - “Update the styling but don’t touch the component logic”
 
Troubleshooting prompting
If CodinIT.dev doesn’t respond exactly as you expect, try these steps to work through common issues.CodinIT.dev didn’t complete everything you asked for
Break your request into smaller parts. Ask CodinIT.dev to make one change at a time.- Make one change.
 - Check that the change works.
 - Move on to the next update or feature.
 
CodinIT.dev forgets what you told it earlier in the same chat
CodinIT.dev’s ability to remember your chat history isn’t infinite. A way to preserve information while keeping the chat history window small is to ask CodinIT.dev to summarize your conversations far, then reset your chat history by duplicating your project.Customize the project and system prompts
Project and system prompts are extra instructions sent to CodinIT.dev. They tell it how to behave and provide helpful context. You can use them to guide CodinIT.dev’s tone, focus, or behavior every time it responds. Project versus system prompts:- The project prompt is specific to your current project.
 - The system prompt applies to every project.
 
- Click the gear icon in the top center of your screen, then click All project settings.
 - 
Click one of the two Knowledge options. (Project-specific or system.)
To update a specific project’s Project knowledge, you must have that project open, and CodinIT.dev must not be in the process of building.
 - Update the Project Prompt or Global System Prompt.
 - Click Save prompt. CodinIT.dev will confirm whether the prompt updated successfully.
 
Tips for the project or system prompts
- Include instructions to CodinIT.dev to only change relevant code.
 

