Skip to content

By playing, you agree to uListen's Terms and Privacy Policy and YouTube's Terms of Service.

How I AIHow I AI

The beginner's guide to coding with Cursor | Lee Robinson (Head of AI education)

Lee Robinson is the head of AI education at Cursor, where he teaches people how to build software with AI. Previously, he helped build Vercel and Next.js as an early employee.

Claire VohostLee Robinsonguest
Sep 21, 202545mWatch on YouTube ↗

Summaries, chapters, transcripts, and FAQs on this page are made by uListen, not YouTube.

At a glance

WHAT IT’S REALLY ABOUT

Cursor coding guide: agents, linting, rules, and better writing workflows

  1. Cursor is presented as an AI code editor that blends a traditional IDE with agentic workflows, letting users work from basic autocomplete up to an autonomous agent that can read files, run commands, and apply verified changes.
  2. Lee explains how adding classic software engineering “guardrails” (TypeScript/typed languages, linters, formatters, and tests) dramatically improves agent reliability because the AI can read failures and correct itself.
  3. They demo an agent fixing lint errors end-to-end (run lint → identify issues → patch code → rerun lint to verify), then discuss running parallel tasks in the background while you keep coding.
  4. The conversation also covers power features—@-mentioning Git context, custom rules and reusable commands like “code review,” model selection (Auto vs manual), chat/context management—and ends with a writing workflow that uses a “banned words/phrases” prompt to reduce AI-sounding copy.

IDEAS WORTH REMEMBERING

5 ideas

Treat Cursor as a spectrum: autocomplete → agent.

Lee frames Cursor’s UI as progressive autonomy: basic inline suggestions, then higher-autonomy agent actions that can create files and make multi-step changes. This helps beginners start small while giving pros leverage for bigger tasks.

Add engineering guardrails to make agents consistently useful.

Typed languages, linters, formatters, and tests provide machine-readable feedback loops. When an agent causes or encounters failures, it can interpret the errors and correct itself rather than guessing blindly.

Use agents for closed-loop fixes: run → detect → patch → verify.

The lint demo shows the ideal agent pattern: it runs the lint command, applies fixes, and reruns lint to confirm success. This “GPS, not turn-by-turn” approach reduces manual instruction and catches regressions early.

Always inspect diffs to learn and stay in control.

Claire emphasizes opening the red/green diff to understand what changed—especially for beginners. Reviewing diffs teaches code structure, builds trust, and prevents silent mistakes from being merged.

Run parallel agent tasks to keep momentum.

Lee describes keeping focus in the main editor while delegating side tasks (e.g., creating a new route) to the agent panel “in the background.” This turns the agent into a true pair programmer rather than a single-threaded bottleneck.

WORDS WORTH SAVING

5 quotes

Rather than giving you step-by-step instructions, you're just putting the thing into the GPS, and it just figures it out along the way.

— Lee Robinson

There are tools that you can take from traditional software engineering... and apply them to make your code more resilient to errors and help the AI models fix errors for you.

— Lee Robinson

You can't just vibe code your way forever.

— Lee Robinson

It's a linter and a formatter.

— Claire Vo

When I re-prompt... and I'm not very explicit about what actually wasn't good... the model can't read my mind.

— Lee Robinson

Read the available transcript
Cursor’s three-panel IDE and autonomy levelsAgent workflow: run commands, patch code, self-verifyGuardrails: TypeScript/types, linters, formatters, testsDiff review and human-in-the-loop learningParallel agent tasks while you codeCustom rules and reusable agent commands (e.g., code review)Model selection, context limits, and chat micro-slicingUsing AI as a writing “linter” (banned phrases, LLM tics)Beginner-to-pro tool progression: vibe coding to real maintenance

High quality AI-generated summary created from speaker-labeled transcript.

Get more out of YouTube videos.

Read along on your phone, search it beside the video, or ask your favorite AI app what was said.