Principle Sequence Verifiable Units

作者 cursorccb5507cec15無授權條款10K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新

Apply to multi-step work (sweeps, migrations, runs of similar edits) and to how you stack commits and PRs. Break work into small units that each end in a verifiable state, check each before the next, and order delivery so the sequence proves itself to a reviewer.

AI 產生的概覽

引導代理把多步驟工作拆成以可驗證狀態結束的小單位,並依序堆疊提交與 PR,讓順序本身成為證明。

功能
這是一項只有說明的原則型技能,用來安排工作順序。它要求代理把批次修改、遷移或一連串相似編輯拆成小單位,每個單位都以可檢查的狀態結束,並在開始下一個單位前先驗證目前這個單位。它也涵蓋交付方式:依照能自證其理的順序堆疊提交與 PR,例如先放失敗的測試,再把修正疊上去。它不會產出檔案或指令碼,只影響代理如何規劃與排序工作。
適用情境
適用於多步驟工作,例如批次修改、遷移或反覆進行的相似編輯,也適用於決定如何堆疊提交與拉取請求。它適合這樣的情境:希望問題在造成它的那個單位就被發現,而不是等到一批之後才浮現。
執行需求
不需要任何工具、套件、執行環境、憑證或網路存取。它不附帶指令碼,只有說明。

Sequence work into verifiable units

Order work as a sequence of small units, each ending in a state you can check, and don't advance until the current one is green.

Why: A break caught at the unit that caused it is cheap to localize. A break caught after a batch is buried, and you have already built further on a broken base. Sequencing those same units into a delivery a reviewer can replay turns "trust me" into "watch it go red, then green."

Execution. In a sweep, migration, or any run of similar edits, verify each change before starting the next. Each unit is a before/after bracket: known-good state, one change, run the check, then proceed. Rebase onto clean trunk first so every check measures against the real baseline. When a lever does the edits, the per-unit check is nearly free. Run it anyway.

Delivery. Stack commits and PRs in the order that proves the work. The canonical shape is the failing test first, then the fix on top. Other story orders are a subtraction before the reshape, a baseline capture before the treatment, the scaffold before the feature. Each commit lands on its own and the sequence reads as an argument.

The sequencing complement to the prove-it-works principle skill, which keeps each check real, and the build-the-lever principle skill, which makes the per-unit check cheap.

來源與署名

來源:cursor/plugins位於pstack/skills/principle-sequence-verifiable-units提交ccb5507

授權條款: 無授權條款

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

檢舉或申請下架