executing-plans
Skill2 starsChanged 51 days agoMITView on GitHub
Use when executing written implementation plans batch by batch inline in the current session or task by task via delegated subagents. Don't use for architectural design (use codebase-design), plan authoring (use writing-plans), open-ended ideation (use brainstorming), or multi-task plan verification and audit defense (use agent-planning).
- Deletes or force-pushes
- Commits and pushes
189 other projects use a version of this.
Adopted by
Most recently taken up by
- DemonDamon/AgenticXtheir own version, first seen Nov 9, 2026
- PabloBuilder/AgenticAxelortheir own version, first seen Nov 8, 2026
- roundpilot/superpowers-antigravitytheir own version, first seen Nov 8, 2026
- REPOZY/superpowers-optimizedtheir own version, first seen Nov 8, 2026
- lingyired/status-triotheir own version, first seen Nov 8, 2026
- BrightGold70/skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use chinese-code-review, chinese-commit-conventions and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Leodorareluctant259Skillchinese-code-review
中文代码审查规范——在保持专业严谨的同时,用符合国内团队文化的方式给出有效反馈
Also in 8 projects that use this
Leodorareluctant259Skillchinese-commit-conventions
中文 Git 提交规范 — 适配国内团队的 commit message 规范和 changelog 自动化
Also in 8 projects that use this
obraSkilldiagnosing-superpowers
Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.
Also in 20 projects that use this
allanninalSkillalgorand-vulnerability-scanner
Scans Algorand smart contracts for 11 common vulnerabilities including rekeying attacks, unchecked transaction fees, missing field validations, and access control issues. Use when auditing Algorand projects (TEAL/PyTeal). (project, gitignored)
Also in 4 projects that use this
allanninalSkillcairo-vulnerability-scanner
Scans Cairo/StarkNet smart contracts for 6 critical vulnerabilities including felt252 arithmetic overflow, L1-L2 messaging issues, address conversion problems, and signature replay. Use when auditing StarkNet projects. (project, gitignored)
Also in 4 projects that use this
farslabSkillaws-agentic-ai
AWS Bedrock AgentCore comprehensive expert for deploying and managing AI agents at scale. Use when working with any AgentCore service including Gateway, Runtime, Memory, Identity, Code Interpreter, Browser, Observability, Agent Registry, or Evaluations. Covers agent deployment, MCP tool integration, credential management, agent discovery, governance workflows, and automated quality assessment. Essential when user mentions AgentCore, agent runtime, agent registry, agent evaluation, MCP gateway, deploy agent, register MCP server, discover agents, evaluate agent quality, agent credentials, or wants to build, deploy, catalog, or monitor AI agents on AWS.
Also in 3 projects that use this
- +3 more from Leodorareluctant259
- +1 more from allanninal
Other versions189 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 189
- obra/superpowers★ 314ksame name
- jnMetaCode/superpowers-zh★ 8.4ksame name
- openai/plugins★ 7.8ksame name
- farm-fe/farm★ 5.6ksame name
- lingyired/status-trio★ 1.8ksame name
- GanyuanRan/Aegis★ 1.4ksame name
- pcvelz/superpowers★ 1.3ksame name
- DemonDamon/AgenticX★ 1ksame name
- coco-research/coco★ 797same name
- koaning/wigglystuff★ 455same name
179 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository35 other files it gives its agents.
- agent-planningSkill
- brainstormingSkill
- codebase-designSkill
- code-reviewSkill
- conventional-commitSkill
- copy-web-designSkill
- frontend-designSkill
- i18nSkill
- laravelSkill
- prototypeSkill
- pull-requestSkill
- reactSkill
- recursive-researchSkill
- reflect-to-skillSkill
- review-a-skillSkill
- s13nSkill
- schema-migrationSkill
- security-auditSkill
- skill-testingSkill
- summarizeSkill
- systematic-debuggingSkill
- t3-operational-guardrailSkill
- technical-writingSkill
- testing-patternsSkill
- ui-motionSkill
- ui-ux-reviewSkill
- unslopSkill
- upsert-codebase-docsSkill
- verification-before-completionSkill
- vibe-wiseSkill
- web-advisor-promptSkill
- wizardSkill
- workspace-onboardingSkill
- writing-for-agentsSkill
- writing-plansSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. 0 are common, 13 are distinctive, and 9 are very specific to this project.
0
Common
Most of the 178 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
When the user specifies an execution mode, apply it directly.
- Distinctive: line 32
Ask the user if task boundaries allow either approach and preference is ambiguous.
- Distinctive: line 44
Commit or stash any unrelated modifications before beginning execution.
- Distinctive: line 57
Keep tightly dependent changes in the same batch.
- Distinctive: line 65
Run the failing test. Execute the test command specified in the plan task and confirm failure.
- Distinctive: line 67
Run the passing test. Re-run the test command and verify all assertions pass cleanly.
- Very specific: line 69
Update plan status. Change the task checkbox in the plan markdown file from - [ ] to - [x].
- Distinctive: line 70
Commit changes. Create a git commit referencing the completed task with a clear message:
- Distinctive: line 83
Run regression tests. Execute existing test suites to confirm no breaks occurred in adjacent code.
- Very specific: line 100
Read the plan file in docs/superpowers/plans/ and extract all tasks.
- Distinctive: line 102
Keep the plan file synchronized as the single source of truth.
- Very specific: line 125
Read references for subagent configuration.
- Distinctive: line 133
Before accepting subagent claims, enforce a mechanical boundary check:
- Very specific: line 138
Run at most 3 review cycles per task.
- Very specific: line 145
Update the plan file to mark the task checkbox as completed (- [x]).
- Distinctive: line 147
After all tasks complete, verify global diff statistics:
- Distinctive: line 168
After all tasks in the plan are completed and verified:
- Very specific: line 169
Verify that every checkbox in the plan file is marked - [x].
- Distinctive: line 170
Run the complete automated test suite to ensure system integrity.
- Very specific: line 172
Read the plan header Source spec field.
- Very specific: line 175
If git ls-files returns empty (file untracked), record plan_recovery_command: "not-recoverable" and plan_tracked: false.
- Very specific: line 178
If a component spec is present, derive component_spec_path_rel and its recovery command using the same git check.
“Common” is measured: kept by at least 6 in 10 of the 178 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Executing implementation plans
Execute implementation plans written in docs/superpowers/plans/ using either inline batch execution or delegated subagents. Maintain test-driven development discipline across every task, update markdown checkboxes directly inside the plan file, and run verification before completing the branch.
Announce the starting stance at session start:
I am using the executing-plans skill to execute this plan.
<HARD-GATE>
Write-Target Boundary. Write only to paths declared in the active plan task `Files` block, the plan file itself for checkbox updates, and `.agents/state/` for receipts and blockers. Do not modify files outside that set. Do not run `git commit --amend`, `git reset --hard`, `git push --force`, or any destructive command without explicit user approval. Mode 1 and Mode 2 both inherit this gate.
</HARD-GATE>Modes
Implementation plans define structured tasks with explicit file paths, full code blocks, and automated test commands. Choose between two execution modes depending on task coupling, plan size, and session architecture:
| Dimension | Mode 1 (Inline Batch Execution) | Mode 2 (Subagent Delegation) |
| Context isolation | Single session context | Fresh subagent per task |
| Best suited for | Tightly coupled tasks, small plans | Independent tasks, large plans |
| Review mechanism | User checkpoints between batches | Two-stage automated subagent review |
| Context consumption | Consumes primary session window | Preserves primary session window |
| Execution style | Direct sequential edits | Orchestrated delegation |
When the user specifies an execution mode, apply it directly. When the mode is not specified:
- Choose Mode 1 for plans with 1 to 3 tightly coupled tasks where context continuity is required.
- Choose Mode 2 for plans with 4 or more modular tasks where context preservation is required.
- Ask the user if task boundaries allow either approach and preference is ambiguous.
Pre-execution verification
Complete these preparation steps before editing code under either mode:
- Verify workspace isolation. Confirm work proceeds on a dedicated feature branch. Run
git rev-parse --abbrev-ref HEADand verify the branch is notmainormaster. Exception: repository maintenance, skill audits, or prompt updates underskills/or.agents/may be committed directly tomainwhen operating in single-branch maintenance mode. - Inspect plan completeness. Confirm every task specifies exact file targets, interface contracts, and executable test commands. Ensure no placeholders like TODO or TBD remain.
- Establish test baseline. Run the existing test suite once before making changes to confirm a clean starting state. If baseline tests fail, record the failing command and output in
.agents/state/baseline-failures.md, stop, and ask the user whether to repair baseline or abort. Do not repair unrelated baseline failures without approval. - Synchronize git status. Ensure the working tree is clean:
git status --porcelainCommit or stash any unrelated modifications before beginning execution. 5. Prioritize compiler and test diagnostics over plan snippets. When compiler errors, linter rules, or test failures contradict code examples in the plan markdown, resolve the issue using live toolchain feedback rather than forcing invalid plan code. The live toolchain takes precedence over markdown text.
Completion criterion. Git status confirms a clean working tree on a non-main feature branch (or documented maintenance mode on main) and baseline test suites pass with exit code 0.
Mode 1. Inline batch execution
Execute tasks directly in the current session using structured batch checkpoints.
Step 1. Define batch boundaries
Group plan tasks into logical batches before writing code:
- Set batch size to 1 to 3 related tasks.
- Keep tightly dependent changes in the same batch.
- Mark the current batch boundaries clearly for the user.
Completion criterion. Plan tasks partitioned into sequential batches of 1 to 3 related tasks with confirmed boundaries.
Step 2. Test-driven task execution
Execute each task in the active batch following red, green, refactor cycles:
- Run the failing test. Execute the test command specified in the plan task and confirm failure. Verify the failure matches expected missing functionality rather than broken imports or syntax.
- Implement minimum code. Write the minimal code necessary to make the test pass. Apply the reuse hierarchy in order by choosing existing codebase helpers first, standard library features second, installed dependencies third, and minimal new code last.
- Run the passing test. Re-run the test command and verify all assertions pass cleanly.
- Clean up refactors. Remove orphan imports, unused variables, and temporary debugging logs.
- Update plan status. Change the task checkbox in the plan markdown file from
- [ ]to- [x]. - Commit changes. Create a git commit referencing the completed task with a clear message:
git add <changed-files>
git commit -m "feat(scope): implement specific task functionality"Repeat this sequence for every task within the batch.
Completion criterion. All tasks in the active batch pass their red-green test cycles, reflect - [x] in the plan file, and have dedicated git commits.
Step 3. Batch review checkpoint
Pause at the end of each batch to inspect changes and report progress:
- Run regression tests. Execute existing test suites to confirm no breaks occurred in adjacent code.
- Inspect diff scope. Run diff stats against the starting commit of the batch:
git diff --stat <base-sha>..HEAD- Present batch report. Summarize completed tasks, passing test outputs, and git commit hashes to the user.
- Request user confirmation. Await explicit user approval before proceeding to the next batch.
Completion criterion. Regression tests pass with zero failures and explicit user confirmation is received before advancing to the next batch.
Mode 2. Subagent delegation
Execute tasks by orchestrating isolated subagents per task to preserve the primary context window and enforce zero-paraphrase boundaries.
Step 1. Plan parsing and task queue
Initialize execution state from the plan file:
- Read the plan file in
docs/superpowers/plans/and extract all tasks. - Maintain full task specifications in memory, including target files, commands, and acceptance criteria.
- Keep the plan file synchronized as the single source of truth.
Completion criterion. All tasks parsed from the plan file into a structured task queue with exact paths, commands, and acceptance criteria.
Step 2. Dispatch implementer subagent with invariant envelope
Apply the zero-paraphrase protocol. Never paraphrase or summarize task instructions into the prompt string. Instead, pass immutable file pointers and task IDs inside a compiled invariant envelope:
# SUBAGENT INVARIANT ENVELOPE (DO NOT MODIFY)
task_source_file: docs/superpowers/plans/<slug>-plan.md
task_id: "Phase X, Task Y"
workspace_runtime:
package_manager: "<pm>"
test_runner: "<test-runner-cmd>"
required_skills_to_load: ["<path-to-skill-1>/SKILL.md"]
write_allowlist: ["<target-file-1>", "<target-file-2>"]
prohibited_actions:
rule_1: "Do not modify files outside write_allowlist."
rule_2: "Do not alter package.json or lockfiles unless specified."
rule_3: "Do not skip the exact verification command."- Read references for subagent configuration. Read
references/subagent-skill-loading.mdfor mandatory skill mapping, and readreferences/parallel-dispatch.mdfor parallel execution rules. - Require skill ingestion confirmation. Implementers must confirm reading the mandated skills in their opening turn before editing code.
- Require evidence-only return receipt. The implementer terminates by reporting task ID, mutated files, verification command, exit code, and raw output tail.
Completion criterion. Implementer subagent completes execution and returns an evidence-only receipt with zero unhandled errors.
Step 3. Boundary validation and two-stage review cycle
Before accepting subagent claims, enforce a mechanical boundary check:
- Validate git diff boundaries. Run
git status --porcelainandgit diff --name-only. If any modified file falls outside the declaredwrite_allowlist, stop the task. If the unauthorized change is uncommitted, rungit restore --source=HEAD --staged --worktree -- <file>. If it is committed, record the commit SHA and stop. Do not rewrite history without explicit user approval. - Spec compliance review. Dispatch a reviewer subagent using
prompts/spec-reviewer-prompt.md. The reviewer inspects actual git diffs line by line against requirements without trusting implementer claims. - Code quality review. After spec compliance passes, dispatch a reviewer using
prompts/code-quality-reviewer-prompt.md. The reviewer evaluates single responsibility, interface clarity, and maintainability.
Run at most 3 review cycles per task. On cycle 3 failure, stop. Write .agents/state/execution-blocker.json with task_id, failed_review, diff_sha, and reviewer_output. Ask the user to resolve the blocker. Do not dispatch another reviewer for the same task.
Completion criterion. Git diff strictly matches write allowlist, review cycles remain at or under 3, and independent spec compliance and code quality reviews both pass.
Step 4. Mark task completed and advance
Once all checks pass:
- Update the plan file to mark the task checkbox as completed (
- [x]). - Advance to the next task in the plan.
- After all tasks complete, verify global diff statistics:
BASE_REF=$(git rev-parse --abbrev-ref --symbolic-full-name '@{upstream}' 2>/dev/null || printf 'main')
BASE_SHA=$(git merge-base "$BASE_REF" HEAD)
git diff --stat "${BASE_SHA}..HEAD"Completion criterion. The completed task checkbox is marked - [x] in the plan file and diff statistics are verified before advancing.
Boundary isolation
Apply execution rules strictly to orchestration, review checkpoints, and git tracking. Keep application code syntax, database schemas, and terminal commands idiomatic, clean, and free of persona artifacts.
Integration and completion handoff
Coordinate with related workflow skills:
writing-planscreates the structured implementation plan indocs/superpowers/plans/that this skill executes.testing-patterns,frontend-design,ui-motion,codebase-design, andsecurity-auditprovide domain constraints injected during subagent dispatch.code-reviewprovides templates and evaluation rubrics for code reviewers.verification-before-completionconducts final verification of test outputs and git state.
After all tasks in the plan are completed and verified:
- Verify that every checkbox in the plan file is marked
- [x]. - Run the complete automated test suite to ensure system integrity.
- Emit execution receipt to
.agents/state/execution-receipt.json. - Read the plan header
Source specfield. If it names a path, verify the referenced file header declaresartifact_type: component-specbefore recordingcomponent_spec_path_abs. If the field isnoneor absent, skip component-spec purge entirely. Never infer the component spec path from the plan file name. - Derive the repo-relative plan path before recording recovery:
plan_path_rel: output ofgit ls-files --full-name -- "$plan_path_abs"- If
git ls-filesreturns empty (file untracked), recordplan_recovery_command: "not-recoverable"andplan_tracked: false. - Otherwise record
plan_recovery_command:git show <plan_last_commit_sha>:<plan_path_rel>. - Record
plan_path_relalongsideplan_path_absin the receipt. - If a component spec is present, derive
component_spec_path_reland its recovery command using the same git check.
- Present
plan_recovery_commandto the user with the confirmation gate. After explicit user confirmation, runrm -f -- "$plan_path_abs". When a component spec is present, runrm -f -- "$component_spec_path_abs". The--flag prevents paths beginning with a dash from being parsed as options. Recordplan_cleanup: "confirmed"in the receipt. On refusal, recordplan_cleanup: "user-declined". - Transition to
verification-before-completionfor final test verification and PR preparation.
Completion criterion. All plan checkboxes reflect [x], execution receipt emitted to .agents/state/execution-receipt.json with recovery provenance, plan cleanup decision recorded, and full test suites pass with zero failures.
Quick audit checklist
Review this table before completing plan execution:
| Check | Passing condition |
| Hard gate | Write-target boundary active across Mode 1 and Mode 2 |
| Workspace isolation | Feature branch active and not main or master (except documented maintenance mode) |
| Zero-paraphrase dispatch | Tasks passed via immutable plan path and task ID inside invariant envelope |
| Diff boundary check | Mutated files strictly contained within declared write_allowlist |
| Minimal diff | Shortest working diff applied without extra dependencies |
| Review passes | Spec compliance and code quality reviews approved within 3 cycles |
| Plan synchronization | All plan checkboxes reflect [x] and commit hashes recorded |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

