Build Loop Cursor

buildgreatproducts/builder-os/skills/build-loop-cursor

作者 buildgreatproductsfb74cac0fc9dMIT228 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫3 個月前更新

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.

AI 產生的概覽

指導使用 Cursor 實作計畫功能時,依循建置、審查、測試、修正的循環紀律。

功能
此技能定義了一套在程式碼庫中使用 Cursor 實作功能的可重複流程。它會從計畫檔案中挑選第一個未勾選的工作,或將直接提示改寫為可驗證的目標,然後進行建置、執行 Cursor 的 /review 並修正發現的問題、端對端測試功能,並修正測試所暴露的問題。它會重複執行,直到所要求的範圍完成,接著回報進度、修正內容、驗證方式和待處理項目。
適用情境
適用於使用 Cursor 實作功能,並希望每個增量在宣告完成前都經過審查與測試的情況。它適合由帶核取方塊的計畫檔案或直接功能提示驅動的工作,以及執行建置循環或繼續計畫的要求。
執行需求
需要 Cursor 及其 /review 命令,以及一個可操作的程式碼庫。此技能不附帶指令碼,僅為說明文件。

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.

來源與署名

來源:buildgreatproducts/builder-os位於skills/build-loop-cursor提交fb74cac

授權條款: MIT

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架

更多來自 buildgreatproducts/builder-os 的技能

Product Planner

buildgreatproducts

Vision intake conversation followed by generation of three product documents — `docs/product-vision.md` (strategy and brand), `docs/prd.md` (technical spec for coding agents), and `docs/product-roadmap.md` (phased build plan with task checkboxes). Also captures the founder's answers as `docs/VISION.md`. Use when the founder says "plan my product", "plan a product", "define my vision", "generate a PRD", "create a roadmap", "spec out my idea", "help me build something", or wants to convert an idea into shippable spec documents.

待分類2283 個月前更新

Idea Validator

buildgreatproducts

對產品構想進行壓力測試,產出包含致命缺陷、競爭、MVP 測試與結論的驗證報告。

Business & Finance2283 個月前更新

Idea Generator

buildgreatproducts

引導創業者透過結構化對話發掘產品構想,並寫入 docs/product-idea.md。

Productivity & Workflow2283 個月前更新

Design System

buildgreatproducts

Translates an image (or a set of image references — screenshots, mockups, Figma URLs, live websites) into two mirrored design-system artifacts: `docs/design.md` (YAML tokens + prose, following Google's open [design.md](https://github.com/google-labs-code/design.md) format, for the coding agent) and `docs/design.html` (a self-contained, token-driven style guide rendering every token and component live, for the human to read). Reads the imagery, asks targeted clarifying questions, derives the design tokens (colors, typography, spacing, rounded, components), and writes both files. Fully standalone — requires no other document or skill. Use when the founder says "create a design system", "design from image", "translate image to design", "create design.md", "image to design system", "extract design tokens", or shares an image with no other clear intent.

待分類2283 個月前更新

Design Better

buildgreatproducts

將 UX/UI 工藝啟發式套用於前端程式碼生成與審查,視覺風格交由設計系統檔案決定。

Design & Creative2283 個月前更新

Build Loop Codex

buildgreatproducts

使用 OpenAI Codex CLI,為功能開發執行嚴謹的建置、審查、測試與修正循環。

Software Development2283 個月前更新