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 从公开仓库中收录这些内容。

举报或申请下架