Read along with the audio summary
According to Greg Isenberg, the secret to mastering an artificial intelligence code editor like Cursor is to avoid opening it at all when you start a project. In this episode, which came out on September 12, 2024, Greg Isenberg and Michael Skimales share a masterclass on getting the best results from AI code editors through a strategic approach rather than simple prompting. By the end, you will learn how to plan your projects, feed the AI rich context, and use it to debug, learn, and build software much faster.
Lead your AI like a copilot, not an autonomous pilot. Handing over the controls entirely to artificial intelligence is a recipe for frustration, because the software still needs a leader. Michael Skimales points out that you are the boss, and the AI is the copilot. A developer's real job is to bring a developer mindset, meaning you visualize and create a clear plan before any execution happens.
Once you accept your role as the boss, you will find that the best coding workflow actually begins outside the code editor. Greg Isenberg jokes that step one of being good at Cursor is to not go on Cursor. Instead, start by sketching wireframes, which are basic visual outlines of a page, either on paper or in a design tool like Figma, and use user interface generators like v0 to create a clear visual target for the AI.
With your visual target ready, you can unlock much better code by feeding the AI the right context. The quality of what the AI builds is directly proportional to the quality of the background information you give it. You can do this by setting up a cursor rules file for project specific instructions, and by enabling Cursor Directory so the AI can see your entire codebase, which is the full collection of code for your project. You can also tag official documentation, the written guides for a technology, because the docs are usually the best source of truth and stop the AI from relying on outdated training data.
Turn your code editor into a debugging partner and personal tutor. Even with great context, you will still hit roadblocks or run into complex code you do not understand. When one AI model gets stuck on a bug, you can simply take the problem and the failed attempts and present them to a different AI model to overcome the challenge. When you hit a confusing block of code, ask the AI to explain the flow, logic, and how things work as if you were a beginner.
Stop building every new feature from scratch when you can use existing code as a template. Instead, you can significantly speed up your work by giving the AI a component that already works and asking it to duplicate and modify it for a new purpose. To save time on your next feature, point the AI to a working page and ask it to do the exact same thing for a new page, just with your specific changes.
Getting the best results from an AI code editor comes down to planning your structure before you prompt, providing rich context like official documentation, and treating the tool as a partner for debugging, learning, and reusing working components. "You're the boss, the AI's the copilot."