executing-plans
できること
このスキルは、1つのセッションで計画をタスクごとに進め、各タスクをテストし、最後に1回だけ全体をレビューする手順を、AIエージェントに示します。すでに計画があり、それを慎重に実行してほしい開発者のためのものです。
使う場面
- ✓書かれた計画があり、このセッションでエージェントに実行させたいとき。
- ✓各ステップが完了したと見なされる前に、テストで証明したいとき。
- ✓変更全体のレビューを、各タスクごとではなく最後に1回だけ行いたいとき。
スキルのリンク
https://github.com/obra/superpowers/blob/main/skills/executing-plans/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このファイルの計画を段階ごとに実行し、それぞれの部分をテストして、変更全体がレビューできる状態になったら教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、計画を順番に進め、各変更の前に失敗するテストを書いて、それが合格することを確認します。進捗の記録を残し、最後にブランチ全体を1回レビューして終えます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Executing Plans
Execute the plan yourself, task by task, in this session: no implementer subagent per task, no reviewer per task. One fresh-context review of the whole branch at the end.
Why inline: Subagent-driven development pays for a fresh implementer and a fresh reviewer on every task, each re-reading the codebase from zero. Inline execution pays for one context (yours) plus one reviewer at the end. What it gives up is a fresh context per task and a second pair of eyes per task. This skill keeps what those two things bought, by other means: the brief is the spec, the ledger is your memory, TDD is the per-task gate, and the final reviewer is the second pair of eyes.
Core principle: The plan already did the thinking. Execute it exactly, prove each step with a test you watched fail and then pass, and leave a record that survives your own forgetting.
Narration: between tool calls, narrate at most one short line — the ledger and the tool results carry the record.
Continuous execution: Do not pause to check in with your human partner between tasks. They chose inline execution to spend less, not to answer "should I continue?" after every task. Execute all tasks from the plan without stopping.
Rulings, not stalls. Conflicts, ambiguities, plan defects — decide them.
The spec is the binding authority, the plan is its argument, and your
judgment settles what neither answers. Record every decision in the ledger
as Ruling: <what you decided> — <why> — <what it costs if wrong>, and keep
going. Deviating from the plan without a ledgered ruling is a decision made
in secret.
Four things stop you, and only these: an irreversible or destructive operation; a security-sensitive action; a side effect outside this worktree that norms say you ask about first (a merge, a push to a shared branch, a publish); and a plan so broken that every path forward is a guess. For those, stop and ask.
When to Use
- You have a plan from superpowers:writing-plans and your human partner chose inline execution at the handoff.
- Your harness has no subagent tool (see the per-platform references in
../using-superpowers/references/). Never fabricate a dispatch; run the plan here. - Tasks are mostly independent — the same precondition as superpowers:subagent-driven-development.
A fully specified plan makes inline execution transcription plus testing: it runs well on a mid-tier session model, and the one place the most capable model earns its cost is the final review, which this skill dispatches separately. Tell your human partner so when they choose inline.
Prefer superpowers:subagent-driven-development when your human partner wants a review gate on every task, or when the plan is long enough that its later tasks would run on a compacted context. Inline execution over a long plan still works — the ledger is what makes it recoverable — but the last tasks get the least of you.
The Process
digraph process {
rankdir=TB;
subgraph cluster_per_task {
label="Per Task";
"task-start: brief + BASE; read the brief" [shape=box];
"Work the steps in order: TDD, run every verification, read every output" [shape=box];
"Step output matches plan's Expected?" [shape=diamond];
"Plan wrong? Rule and ledger. Code wrong? systematic-debugging" [shape=box];
"Commit as the plan's commit steps say" [shape=box];
"Completion contract met?" [shape=diamond];
"task-done: run tests, ledger the result; mark todo complete" [shape=box];
}
"Setup: worktree, workspace + ledger, read plan + spec, pre-flight scan" [shape=box];
"More tasks remain?" [shape=diamond];
"Final whole-branch review (fresh reviewer if you have one)" [shape=box];
"Re-grade, then: Critical/Important → ONE fix pass, each fix RED→GREEN + green suite; Minor → ledger" [shape=box];
"Final review clean: delete this plan's workspace" [shape=box];
"Use superpowers:finishing-a-development-branch" [shape=box style=filled fillcolor=lightgreen];
"Setup: worktree, workspace + ledger, read plan + spec, pre-flight scan" -> "task-start: brief + BASE; read the brief";
"task-start: brief + BASE; read the brief" -> "Work the steps in order: TDD, run every verification, read every output";
"Work the steps in order: TDD, run every verification, read every output" -> "Step output matches plan's Expected?";
"Step output matches plan's Expected?" -> "Plan wrong? Rule and le
よくある質問
タスクごとに、エージェントは私に確認しますか?
いいえ。タスクを続けて進め、小さな衝突は自分で解決します。タスクごとに一時停止することはありません。
タスクごとに別のワーカーを使う方法と同じですか?
いいえ。この方法は1つのセッションで動作しますが、別の方法ではタスクごとに別のワーカーを使います。
何がそれぞれのステップを証明しますか?
まず失敗するのを確認し、その後に合格するテストです。
詳細
作者による元の説明
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
repo: obra/superpowers
人気
- GitHubのスター
- 311k
- ランキング
- #92
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
brainstorming
311k新しいものを作る前に、焦点を絞った質問をし、明確な選択肢を示して、本当に求めているものを見つけるようエージェントを支援します。
finishing-a-development-branch
311k完成したコードを、テストを実行してから、マージ、プルリクエストの作成、またはブランチの保持という明確な選択肢を示すことで仕上げるようエージェントを支援します。
receiving-code-review
311kコードレビューのフィードバックを慎重に検討し、変更を加える前に、各指摘がコードに照らして正しいかを確認するようエージェントを支援します。
test-driven-development
311k機能や修正を作る前に、まず失敗するテストを書き、それが失敗するのを確認してから、合格させる最小のコードを書くようエージェントに教えます。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。