AI models are trained on certain coding languages. Only use them for best code quality, and less errors.
Use these AI friendly Tech Stacks:
Frontend: NextJS/Vite/Flask
Database: Supabase (PostgreSQL)/Firebase
Auth: ClerkDev/Supabase/Firebase
AI: OpenAI/Claude/Gemini
5. Not building step by step
When you let AI to plan the next steps 8/10 times AI will mess up the codebase.
Use AI models just to execute the plan and implement the code.
Use a detailed plan like @CodeGuidedev 50-step implementation plan to force AI not to miss anything.
6. NO Debug prompting
Degugging is the most frustrating part of AI coding. To make it leas painful use these tricks.
- Attach the error and say "use chain of thought reasoning to find the core issue first and then plan step by step to fix the issue.
- Ask it to "follow the best practices of code. Search the web and find the fix for this issue"
- Only attach relevant files so AI can focus better.
7. No use of multiple AI models
1 AI model can't do everything. Use different models for different scenarios.
In Cursor/Windsurf:
Use Claude sonnet 3.5 for coding (yes for executing code it is better than 3.7.)
Use GPT o1/o3-mini-high to debug complex errors.
Use Gemini Flash 2.0 to scan the complete codebase and update docs.
8. No use if Starter Kits
Why start from scratch everytime and burn requests/tokens and fix unwanted errors.
Use Starter kits (boilerplates) with pre-installed components to build fast.
CodeGuide have 6 boilerplates that're built for just AI coding models.
9. Quitting too early
AI coding is fun until you 3rd prompt, then you start fixing errors and refining the layout.
There will be 100s of errors, build issues, and AI will mess up the codebase.
But if you have strong foundation (docs and rules) you can tame AI better.
TL;DR
- Plan the app before you open any AI coding tool
- Write detailed coding docs to provide context using @CodeGuidedev
- Pick best AI tool for your use case
- Use AI friendly Teck stacks only
- Prompt better when debugging
- Use different models for different work
• • •
Missing some Tweet in this thread? You can try to
force a refresh
Every AI startup is focused on "Build me an ........... app" (New projects)
But what about millions of existing codebases on GitHub with billions of lines of code?
To focus on existing codebases, I built a coding environment: Codespace.
(Explained below)
Simple Steps: 1. Connect your GitHub Account 2. Open Codespace and select the repo you want to work on. (AI agent will make an isolated environment for every request) 3. Let AI agent Analyze, generate docs and tasks list 4. analyze the kanban board to track tasks 5. Go have coffee and wait for the agent to email you when done.
I built a Claude Code wrapper that:
- runs on cloud (access it with phone, or laptop)
- can analyze upto 10M token size codebases
- has better visual UI & flow
- generate docs (knowledge base)
- tasks/sub-task list (2x better than claude)
- notifies me when its done via email