Prompting & Workflow
- How do I write good prompts for AI coding assistants?
Be specific, provide context, and break tasks into small steps. Include the tech stack, desired behavior, and any constraints. - What is the best way to describe my app idea to an AI?
Describe the problem, target users, core features, and tech preferences in plain language. Start with a high-level summary, then detail key screens and flows. - How do I get the AI to write code that actually works?
Provide clear requirements, test incrementally, and review the code. Ask the AI to explain its approach and fix errors step by step. - Should I use one big prompt or break it into smaller steps?
Breaking your request into smaller steps usually works better. It gives the AI clear, focused tasks and makes it easier to catch and fix issues early. - How can I make the AI follow my coding style and conventions?
Provide explicit style guidelines in your prompt or project files. Many AI tools can read configuration files like .editorconfig or custom instruction files to adapt to your conventions. - What should I include in a prompt to build a CRUD app?
Include the tech stack, data model, required operations, and any specific features like authentication or validation. Be clear about the expected endpoints and UI behavior. - How to use ai coding assistant?
Install an AI coding assistant in your editor, sign in, open your project folder, then describe one small change at a time in its chat. Review each suggestion before you accept it. - What are AI coding assistants best used for?
AI coding assistants are best used for repetitive code, quick explanations, test drafts, and first-pass debugging. They work less well as the sole source for security-sensitive or architecture decisions. - How do I write a project brief the AI can follow across sessions?
Write a short project file that lists the goal, the stack, the folder layout and the rules the AI must follow. Keep it in the repo and point the AI to it at the start of each session. - When should I stop prompting and start reading the code myself?
Switch to reading the code when the AI has failed the same fix twice, when the bug is unclear or when a change touches security, payments or user data. Manual review is most useful at those points.