Truth: AI coding models are good for code execution, but not good at planning.
If you let AI plan next step while coding, it will mess up the codebase.
You can solve this by attaching a detailed "Implementation Plan"
Here's how I create my plan: ↓
When you build production-grade applications, you need to sure about:
- What features you want in v1?
- What features are out-of-scope right now?
- How's your UI will look like?
- What tech stack are you using?
These are basic but core questions that AI tries to figure out itself if you don't provide context.
But here's the problem.
All the AI coding models have 1 core issue, that is "hallucinations"
In simple terms, AI models start to assume things on their own and mess up the code structure.
So if you don't hardwire your plan into AI, it'll make its own at every step.