AI Learning Hub › Learn AI › Self-Paced Courses › Cursor: Plan, Build, Debug, and Review
Course · Beginner to intermediate
Cursor: Plan, Build, Debug, and Review
Work on a real project in Cursor: read and edit the code yourself, plan a feature, let the agent build it, debug what breaks, and review every line before you keep it.
Cursor is a code editor with an AI agent that can read your project, plan a change, write it, run it and help you check it. You stay the programmer: you read the code, you decide what gets built, and you review what came back before it becomes part of the project.
You will spend most of this course building one small feature in one small project. A page lists community resources, each one tagged with whether it stays open in the evening, and nothing on the page uses that tag yet. By the end you will have added a filter that does, found a fault in a version of it that misbehaves, and fixed that too.
Along the way the agent writes some of the code and you write some of it. That split is deliberate. Reading a diff is much easier when you have already edited the same file by hand, and deciding whether to keep an agent’s work is a judgment you can only make about code you can follow.
Working well with an agent comes down to three things: knowing what it can see, knowing what it can do without asking you, and checking what it did.
What you will actually do
Open a project in Cursor and in VS Code and watch both show the same files. Edit a heading by hand and reload the page. Ask the agent where a feature would go, and get an answer that cites real line numbers. Choose a model on purpose. Plan the feature in writing before any code is written. Let the agent build it, and notice exactly when your file changed on disk. Read the diff, then improve one line of it yourself. Take a version that breaks on the second click, work out why from what the page does, and fix it. Then do the whole loop once more, unaided, in the capstone.
What it deliberately leaves out
No JavaScript framework, no package manager, no build step, no deployment, no GitHub account. The practice project is four files and fewer than two hundred lines, which is small enough that you can read every change the agent makes rather than skimming it.
It also stops short of the machinery. How an agent loop works, how context windows are managed, how tools are described to a model — those belong to a later course, and this one borrows the vocabulary without spending time on the mechanism.
Where another hub course already teaches something well, this one links to it instead of repeating it. VS Code: Files, Changes, and AI Agents teaches reading a diff. Terminal on Mac teaches reading a command before you run it. GitHub Without the Jargon teaches commits and history. Codex Without the Code covers the same supervision habits for a different product, and is worth taking either before or after this one.
Format
Nine modules, a capstone and a sources page, each on its own page, with a hands-on exercise in every module.
Time
About 125 minutes in all, in sittings of 9 to 14 minutes. The capstone takes about 20.
Written for
Students, faculty and staff at Stanford Law School who want to build something with AI assistance without being software developers. No professional coding experience assumed.
What you need
A free Cursor account and the practice project, which is a download. No paid plan, no GitHub account and no credit card.
The practice project
Every exercise runs in one small project: a page listing community resources in a fictional county, built from four files and fewer than two hundred lines. Nothing in it is real, and it holds no credentials or personal records, which is what makes it a reasonable place to let an agent write files.
- Download it using the button below.
- Unzip it. You will get a folder named
cursor-practice. Put it wherever you keep your own work. - Treat it as disposable. If an exercise goes wrong, delete the folder and unzip the download again. That is the reset this course assumes.
The download also carries a fallback folder holding three prepared versions of the project: the finished feature, a version with a fault in it that Module 7 asks you to load, and the corrected version. They are there so an exercise that cannot run live still has something to work on.
About the free plan
Cursor’s free tier includes the agent with limited usage. Cursor does not publish the amount, so a long session can run it out. Every exercise here ships with the finished files and a real saved result from the same project, so you can carry on and finish the course either way. Those fallbacks are labeled where they appear.
Use the practice project for everything in this course. The content in it is fictional, and it holds no credentials, no personal information and no real records, which is what makes it safe to let an agent write to it. Keep student, client, clinic, research and other Stanford information out of Cursor unless you have checked the guidance that applies — Before You Use Cursor for SLS Work explains what to check and links to the current sources.
Everything here was tested against Cursor 3.27.12 on 23 October 2026, and the screenshots were captured from that build. Cursor released three versions in the eight days before that date, so labels and menus move. Where a button or a menu name appears in these pages it carries that version, and if what you see differs, what you see is correct. Where This Came From records the evidence behind each claim and what the course could not establish.
The course
-
Module 01 · Beginner to intermediate
Two Editors, One Project
Your project is a folder of files with a history. Cursor and VS Code both open that folder, each keeping its own settings, extensions and agent configuration.
Start module -
Module 02 · Beginner to intermediate
Read the Code, Then Ask About It
Three files, one page. Change something by hand and watch it happen, then use Ask to find the piece of this project nothing is using yet.
Start module -
Module 03 · Beginner to intermediate
Models, Context, and What Cursor Reads
Which model answers, and which files it can see. The picker, the plan that gates it, and the ignore file that narrows what the agent reads.
Start module -
Module 04 · Beginner to intermediate
Plan a Real Feature
Plan Mode writes the change down before making it. Read the plan against the project, decide whether it is the change you asked for, and only then press Build.
Start module -
Module 05 · Beginner to intermediate
Build It with Agent
Find out what the agent may do before you let it work. Then watch it build the feature, and notice when the file on disk changed.
Start module -
Module 06 · Beginner to intermediate
Read and Review the Code
Undo, Keep or Review arrives after the edit is already on disk. Read the diff line by line, then make one improvement of your own.
Start module -
Module 07 · Beginner to intermediate
Debug and Verify
A filter that works once and misbehaves on the second click. Find the cause from what the page actually does, fix it, and confirm the fix in a browser.
Start module -
Module 08 · Beginner to intermediate
Give the Project Standing Instructions
Write the correction once, in a file the project keeps, instead of retyping it into every request.
Start module -
Module 09 · Beginner to intermediate
Where Your Code Goes
What Privacy Mode covers, where model requests travel, what an ignore file reaches, and how a cloud agent differs from the one on your machine.
Start module