AI Learning Hub › Learn AI › Self-Paced Courses › Cursor: Plan, Build, Debug, and Review › Plan a Real Feature
Module 4 ยท 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.
By the end
- Produce a written plan for a feature before any code exists
- Check a plan against the project and say whether it matches the request
- Know where a plan is stored and what pressing Build commits you to
You now know that three cards in the project are marked as open in the evening and that no code reads the mark. The feature to build is the obvious one: a way to show only those three.
Plan Mode writes that change down before making it. The plan is a document you can read, edit and reject, which makes it the cheapest point in the whole process to catch a misunderstanding.
Exercise: plan the filter
Switch the mode chip to Plan, either from the chip itself or with Shift+Tab. Then:
Prompt to try
Plan how to add a filter that shows only resources open in the evening. Do not implement the feature yet.
Cursor reads some of the project, thinks for a while, and produces a plan. It may ask you a clarifying question first; on a request this specific it often proceeds without one.
The plan opens as its own tab, with a Build control on the toolbar. In the chat you get a Created Plan card carrying a one-line summary, a View Plan link and a second Build button.
Nothing has been built yet
Before reading the plan, check what planning did to your files. In a terminal in the project folder:
git statusThe working tree is clean. When this was tested for the course on Cursor 3.27.12, a forty-second planning run left the project untouched through every check, and added no file to it. The plan itself was written outside the project, into a plans folder in the home directory, as a Markdown file.
That division is worth holding on to. A plan is a document about your project rather than a change to it, and building is a separate action you take on purpose.
Read the plan against the project
Now read it, with four questions in mind. This is the review step, and it is as much a part of supervising the work as reading the diff later.
Which files does it propose to change?
You expect index.html for the control and script.js for the logic. A plan that wants to touch files you did not expect is telling you something.
Does the logic make sense to you?
You read script.js in Module 2. The existing filter hides a card when its category does not match. Adding a second condition means a card has to satisfy both.
Does it respect the project’s constraints?
This project has no libraries and no build step. A plan that reaches for one has changed the project into something else.
Is it broader than what you asked for?
Tidying, renaming and restructuring are easy to slip into a plan. Each one is a change you will have to review.
Course example — the plan Cursor produced, captured with Cursor 3.27.12
Run in the practice project on 23 October 2026, the plan opened with a reading of the project:
The six cards in
index.htmlalready carrydata-evenings="yes"or"no". PerREADME.md,yesmeans the service is open past 18:00. Three cards areyes: Rivermont Legal Aid, Tenancy Support Desk, and Canal Way Pantry.script.jsnever reads that attribute;apply()only comparesdata-categoryand setscard.hidden.Add one checkbox and fold it into that same function. Leave card data, hours text, and the tagline unchanged.
It then specified a labeled checkbox in the existing controls area, and this rule for the filter:
A card stays visible only when both conditions pass: Category —
wanted === "all"ordata-categoryequals the selected value. Evening — the checkbox is unchecked, ordata-eveningsis"yes".
It noted that no new CSS was required, proposed a one-line README update, and listed three to-do items.
Measured against the four questions, that plan passes all of them: the right two files plus documentation, logic that matches the code already there, no new dependency, and nothing beyond the request.
Changing a plan, or abandoning it
The plan is editable. If a step is wrong, change the wording and build from the corrected version. If it has misunderstood the task, say so in the chat and let it produce a new one.
Abandoning a plan is a legitimate result. You have spent two minutes and changed nothing, which compares well with reviewing a diff for a feature you did not want.
Cursor saves plans outside the project by default and offers a Save to workspace action to move one into the project folder instead. For a course exercise, leaving it where it is keeps the project clean.
Keep your plan open. The next module builds it.
Before the next module
- A plan for the evening filter exists and you have read all of it
git statusconfirms the project is unchanged- You can say which files the plan intends to touch, and why