Cursor/Windsurf has 3 major issues: 1. AI hallucinations 2. Loop of...

@cjzafir
CJ Zafir@cjzafir
35 views Feb 24, 2025 ~2 min read
Advertisement
1
Cursor/Windsurf has 3 major issues:

1. AI hallucinations
2. Loop of errors
3. Context awareness

To fix these core issues we need to build a strong {Context Boundary} around AI.

Here's how you can fix your AI coding workflow : 🧵
Media image
2
Cursor and Windsurf built around predictive models like Claude Sonnet 3.5 and GPT4o.

These models can only think about 1 possibility and that 1 possible step can be wrong 9/10 times.

We need to make sure that we don't let these models predict their next steps.
3
We AI models plan! they mess up.

We need to utilize AI coding models as Implementation engine.

We need to provide them detailed plan in the form of docs.

Documents include:
- PRD
- App Flow Doc
- Tech Stack Doc
- Frontent Guidelines
- Backend Structure Doc
- cursorrules/windsurfrules
and any other docs you might find useful.
Media image
4
I've written a detailed thread on how you can generate coding documents with ChatGPT/@CodeGuidedev

x.com/cj_zZZz/status…
5
Once you attach these documents to Cursor/Windsurf in the root directory "instructions" folder.

Now you formed a boundary around AI and it will reference these docs to update its context throughout.

To make it air tight also provide detailed Implementation plan.


@cjzafir
CJ Zafir@cjzafir
o3-mini 1-shoted the 40 Step Coding Plan for Cursor.

This is huge!

Coding models struggle to plan the coding workflow in Cursor/Windsurf.

It is solved now.

We already implemented it in @CodeGuidedev
Enjoy.
6
Implementation plan will force AI to not plan its own next step and just implement the planned step.

By doing this you're using AI just as a Developer that can execute code from text instructions.

AI coding = {Project Documentation (Context)} + {Step by Step Instructions (Plan)}
7
The quality of docs generated by ChatGPT is not so good.

I've built 35+ projects with AI code and to fix the project documentation problem I built @CodeGuidedev

I use a mix of AI models:
o3-mini
GPT4o
Sonnet 3.5

You can follow simple 5 steps and download docs in .md format.
0:18
8
Join codeguide.dev here - Home of 2687 AI Coders

Enjoy Limited 40% discount on Yearly Membership - Only $199 right now.

Create project docs
Use starter kits
Use templates
Community
Discounts
AI Agent
and more features and partnerships are coming...
Actions
What You Can Do
  • Export as PDF or Markdown
  • Batch Export to Notion
  • Bookmark & Highlight
  • LinkedIn & Instagram Carousel Maker
Create Free Account

Includes 7-day Premium trial

Advertisement