AI Learning Hub › Learn AI › Self-Paced Courses › Cursor: Plan, Build, Debug, and Review › Build a Reviewed Feature

Capstone

Build a Reviewed Feature

One request, four constraints, and a change you take from plan to verified result — including deciding which parts of it you would keep.

What this asks of you

  • Take one request from understanding through to a verified change
  • Check the result against constraints you were given rather than ones you invented afterward
  • Decide what you would keep, and say why

No new interface in this one. Everything here uses what the nine modules covered, and the point is whether you can run the loop yourself.

The request

Add a “Save for later” interaction to each resource card, so a visitor can mark the ones they want to come back to.

Four constraints come with it:

Starting state. The project with the evening filter working and no uncommitted experiment left over — which is where Module 8 asked you to leave it. If you are unsure, copy in fallback/04-feature-fixed and delete any AGENTS.md you want to write fresh. Starting from the bare download works too; the filter is not required for this task.

Work the loop

  1. Inspect. Look at a card’s markup and at the palette definitions at the top of styles.css. You will check against both later.
  2. Ask. In Ask mode, find out where a per-card control would belong and what already exists that it could follow.
  3. Choose a model. Deliberately. Note which, so the result means something.
  4. Note the boundary. Your Run Mode and your two file protections, before anything runs.
  5. Plan. Get the change written down. Read it against the four constraints and against the project.
  6. Build. Then check the files on disk before opening any review view.
  7. Review. Every line. Name anything you did not ask for.
  8. Verify. In the browser, with the console open.
  9. Decide. What you would keep, what you would change, what you would not commit.

Checking the constraints

Each one has a test that gives a definite answer. Vague satisfaction is not the standard.

Keyboard

Reload and press Tab through the page. Does the new control take focus, show that it has focus, and respond to Enter or Space? A <div> with a click handler will fail all three.

Clear without color alone

Imagine the page in greyscale. Does anything besides a color change distinguish a saved card — a filled icon, a label, a border, a word?

Palette preserved

Search styles.css for a hex value or color name that is not one of the five custom properties at the top. Any new literal color is a departure, however good it looks.

Dependency-free

Search index.html for a script or stylesheet loaded from a URL, and the project for a new package file. There should be none.

Check each one. Do not assume a constraint held because the page looks right — the palette one in particular is easy to pass by eye and fail on inspection.

Module 8 had you write these constraints into AGENTS.md. Using that file here is a legitimate approach and a good test of whether standing instructions work. Checking afterward is still part of the task.

What to produce

Write a short record. It is the deliverable, and it is the thing that transfers to work that matters.

  1. Which model you used, and which mode you were in at each stage.
  2. Which files changed, and what each change does, in your own words.
  3. Each of the four constraints, with the result of the test you ran for it.
  4. Anything in the diff you did not ask for.
  5. What you verified in the browser, and what you saw.
  6. Whether you would commit it as it stands, and what you would change first.

What counts as success

A working feature is good. What this capstone measures is something else.

The question is whether you can take a request through to a result you understand and can defend: grant bounded authority, read what came back, test it against criteria set in advance, and separate what you would keep from what you would not.

Finding that a constraint failed is a successful capstone. Finding it and being unable to say which line caused it is the gap worth closing — and the answer is usually in a diff you read too quickly.

If you ran out of free usage partway

Do the stages you can and reason through the rest using what you already have. The review and verification steps work on any version of the feature, including one you write by hand. The record above is the deliverable, and most of it does not depend on the agent finishing.

You are done when

  • The feature exists and you can explain every line that changed
  • All four constraints have been tested, with a definite result for each
  • You can say what you would keep and what you would not, and why