本文へスキップ
Skillpedia
一般的なプログラミング15k · #10988

principle-sequence-verifiable-units

できること

このスキルは、大量の変更を安全に行うための規則を、アシスタントに与えます。移行、一括の整理、同じような多数の編集を行う開発者向けです。

使う場面

  • ✓多段階の移行、一括の整理、または同様の編集の一連があるとき。
  • ✓壊れたものを、原因となったステップで見つけたいとき。
  • ✓レビュアーがたどれるように、コミットやプルリクエストを積み重ねているとき。

スキルのリンク

https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/principle-sequence-verifiable-units/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/principle-sequence-verifiable-units/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“関数の名前を、コードベース全体で変えようとしています。小さく確認しながら進めて、レビュアーがたどれるようにコミットを整理してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

アシスタントは、次の作業を始める前に各変更を検証するため、壊れたものは原因となったステップで検出されます。コミットを並べて、その流れが証明として読めるように整えます。たとえば、最初に失敗するテストを置き、その上に修正を重ねます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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.

よくある質問

各ステップで確認するのはなぜですか?

そのステップで見つかった破損は場所を特定しやすいのに対し、一括の後で見つかった破損は、後の作業に埋もれてしまうからです。

一般的なコミットの順序は?

最初に失敗するテストを置き、その上に修正を重ねます。順序そのものが論証として読めるようにするためです。

スクリプトがあると楽になりますか?

はい。スクリプトが編集を行う場合、ステップごとの確認はほとんどかかりませんが、それでも実行は必要です。

詳細

作者による元の説明

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.

repo: cursor/plugins

人気

GitHubのスター
15k
ランキング
#10988
ライセンス
—
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル