Skip to main content
skill CX Codex

build-loop-cursor — Cursor skill: build, review, test, fix loop

A skill that walks a feature through build, /review, end-to-end testing and fixes. Handy when the work follows a plan with checkboxes.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add BuildGreatProducts/builder-os --skill build-loop-cursor -a claude-code
Open on GitHub

What build-loop-cursor does

The skill pulls work from a plan file — a roadmap, refactor plan or task list with - [ ] checkboxes — and starts on the first unchecked task. Tasks are ordered on purpose, so skipping ahead is off the table. With no plan, or when the request falls outside it, the skill builds straight from the prompt: it restates the request as a verifiable goal with 2–4 success criteria and confirms scope in one message first.

Then the loop runs per task. Implementation stays minimal, surgical, matching existing project conventions. Next comes /review on the changes, with every in-scope finding fixed. If the project carries a design tokens file, DESIGN.md or a theme config, UI changes get checked against it — hardcoded colors, type or spacing that bypass tokens won't pass. /review reruns until clean. Testing follows: the full suite, new tests for new logic, and a walk through the real flow as a user, empty, loading and error states included. Whatever testing surfaces goes back through fix, /review, re-test.

One rule holds it together: skipped review or untested work counts as unfinished. A task isn't marked - [x] while something fails, and the next one never starts on a broken app. When a finding contradicts the task or the spec, the spec wins and the skill flags the disagreement. Pre-existing issues in untouched code get reported rather than fixed silently. Discovered work outside the plan doesn't expand scope on its own either — the skill proposes a separate task instead.

What it helps with

  • work through a plan without skipping tasks
  • run /review and close every finding
  • test a feature end to end, including empty and error states
  • fix what testing surfaces before marking a task done
  • check UI changes against the project's design tokens

Example prompts for the agent

  • run the build loop
  • build the next task
  • continue the plan

How to install build-loop-cursor

1Skills CLI (Vercel)

npx skills add BuildGreatProducts/builder-os --skill build-loop-cursor -a claude-code

2Manually: put the files in place

~/.claude/skills/build-loop-cursor/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/build-loop-cursor/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about build-loop-cursor

How do I install build-loop-cursor in Claude?

Run npx skills add BuildGreatProducts/builder-os --skill build-loop-cursor -a claude-code. The skill lands at ~/.claude/skills/build-loop-cursor/SKILL.md.

What does build-loop-cursor do?

It runs a feature through build, review, test and fix. The skill takes the first unchecked plan task or builds from your prompt, runs /review, tests end to end and only then checks the task off.

Do I need a plan file for the skill to work?

No. Without a plan the skill restates your request as a goal with 2–4 success criteria and confirms scope before building.

Source text

SKILL.md · MIT
---
name: build-loop-cursor
description: Use when building features with **Cursor** in any codebase and the work should go through a disciplined build → review → test → fix loop. Triggers on "run the build loop", "build the next task", "continue the plan", "build this feature properly", or any request to implement work from a plan file or a direct feature prompt. Builds from the plan (or the prompt if no plan exists), runs Cursor's `/review` and fixes every issue found, tests and verifies the feature end to end, fixes anything testing surfaces, and reports back once complete. Repeats until all plan tasks are checked off.
license: MIT
metadata:
  author: BuilderOS
  version: "1.0"
---

# Cursor Build Loop

Quality-gated feature work: nothing ships on "it compiles" — every increment is built, reviewed, tested end to end, and fixed before the user hears "done."

## Source of work

- **A plan file exists** (roadmap, refactor plan, or task list with `- [ ]` checkboxes — search the repo): work the first unchecked task. Tasks are ordered intentionally — never skip ahead. If the plan references spec docs, read only the sections relevant to the current task.
- **No plan (or the request is outside it):** build from the user's prompt. Restate it as a verifiable goal with 2–4 success criteria and confirm scope in one message before building.

## The loop

Run per task (or per prompted feature). Do not advance until every step passes.

1. **Build.** Implement exactly what the task specifies. Simplest implementation that satisfies it, surgical changes, no speculative scope. Match existing project conventions.

2. **Review.** Run Cursor's **`/review`** on the changes. Fix all findings in scope — bugs, security issues, edge cases, performance, style in files you touched. If the project has a design system spec (design tokens file, DESIGN.md, theme config), check UI changes against it — no hardcoded colors, type, or spacing that bypass tokens. Note pre-existing issues in untouched code for the report instead of fixing silently. Re-run `/review` until clean. If a finding contradicts the task or spec, the spec wins — flag the disagreement.

3. **Test end to end.** Run the task's verification step (or the success criteria). Run the full test suite — everything that passed before must still pass. Add tests for new logic. Then exercise the feature as a user would: run the app, walk the real flow including empty, loading, and error states.

4. **Fix.** Anything testing finds goes back through the loop: fix → `/review` → re-test. Never mark a failing task complete; never start the next task with the app broken.

5. **Continue.** Mark the task `- [x]`, update any progress/status line in the plan, and loop to the next task until the requested scope is complete.

6. **Report.** When done, tell the user: what was built and plan progress, review findings fixed and anything deferred, how it was verified (tests + flow walked), and what needs their attention next. Be honest about anything flaky or partially verified.

## Rules

- Skipped review or untested work = unfinished work.
- Don't relitigate plan decisions; if a task seems wrong, ask one specific question rather than guessing.
- Discovered work no task covers? Surface it and propose a task — never silently expand scope.

© BuilderOS · MIT · BuildGreatProducts/builder-os

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set10

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor