principle-sequence-verifiable-units

Sequences multi-step code changes into small units verified before advancing.

Updated Aug 22, 2026
Ready to run
npx skills add https://github.com/squidllee/skills --skill principle-sequence-verifiable-units-squidllee
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: principle-sequence-verifiable-units
Source: https://github.com/squidllee/skills/tree/main/principle-sequence-verifiable-units
Command: npx skills add https://github.com/squidllee/skills --skill principle-sequence-verifiable-units-squidllee

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Large batches of edits verified only at the end make failures expensive to localize, and unordered commits force reviewers to trust rather than verify. This Skill structures sweeps, migrations, and stacked PRs so each unit ends in a checkable state before the next begins. ## Core Features & Use Cases - Per-Unit Verification: Verify each edit in a sweep or migration before starting the next, never batching checks to the end. - Red-to-Green Delivery Ordering: Stack commits and PRs so the sequence proves itself, such as a failing test first followed by the fix. - Baseline Discipline: Rebase onto clean trunk first so every check measures against the real baseline. - Use Case: During a codebase-wide migration, apply one edit, run its test, confirm green, then proceed; deliver the work as a commit stack a reviewer can replay from red to green. ## Quick Start Apply this principle to break my migration into small verifiable units and order the commits so each one proves itself to a reviewer.

Frequently Asked Questions about principle-sequence-verifiable-units

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I break a large migration into verifiable steps?▼

Pick the smallest unit that ends in a check, such as one edit plus its test. Verify that unit before starting the next, and never batch all edits with a single verification at the end.

How should I order commits in a stacked PR for review?▼

Order commits so the sequence proves the work: a failing test first to show the bug is real, then the fix on top to show it resolved. Each commit should land on its own so the stack reads as an argument.

Why verify each change instead of testing at the end?▼

A break caught at the unit that caused it is cheap to localize, while a break caught after a batch is buried under later work built on a broken base. Per-unit checks keep failures attributable.

Should I rebase before running per-unit checks?▼

Yes. Rebase onto clean trunk first so every check measures against the real baseline rather than a stale branch, keeping each unit's red-to-green signal meaningful.

When does batching edits make sense instead of per-unit verification?▼

This principle argues batching rarely makes sense for sweeps or migrations, since deferred verification hides which change caused a failure. Even when a tool automates the edits, run the per-unit check anyway because it is nearly free.