ganyuanran/executing-plans
Use when you have a written implementation plan to execute in a separate session with review checkpoints
npx skills add https://github.com/GanyuanRan/Aegis --skill executing-plans
Load plan, review critically, execute all tasks, report when complete.
Announce at start: "I'm using the executing-plans skill to implement this plan."
For non-trivial execution, include Aegis Visibility: briefly tie the active
slice to its plan, checkpoint, drift or verification boundary. At completion,
pass plan adherence, evidence, complexity and residual risk to
verification-before-completion for the unified receipt.
If subagents are available and the plan has genuinely independent tasks,
prefer subagent-driven-development; lack of subagent support does not block
inline execution. Same-task agents share one workspace, and the coordinator
remains the only Git mutation owner.
Execution Readiness View,read it before implementation and compare the plan against its intent lock,
scope fence, baseline lock, owner / contract constraints, compatibility
boundary, retirement boundary, test obligations, review gates, drift /
rewind rules, and evidence required before completion.
return to plan review or refresh the advisory handoff before editing.
Mode, Decision, Strict authority,Test posture, and verification. Strict steps require recorded explicit
user/project authority; plan approval or risk labels are not authority. An
off-mode missing record may be repaired only as `Mode: off / Decision:
skipped` without loading TDD. Missing/unsupported auto decisions return to
plan review. Only Decision: strict with recorded strict authority may
authorize steps named Write failing test, Verify RED, GREEN, or
REFACTOR. Do not infer strict during execution.
TaskStartSnapshot: root, HEAD, branch ordetached state, upstream divergence, staged/unstaged/untracked paths, active
Git operations, and git worktree list --porcelain. Preserve task-preexisting
state; do not stash, reset, clean, or commit it.
goal owns it. If justified, switch/create it in the
current workspace when safe; a worktree still requires
concurrent checkout or blocking dirty state.
If the plan has multiple tasks, may span sessions, or includes architecture / contract / workflow changes:
Before a verification-driven unplanned edit, read retained PatchShape,
CanonicalOwner, UpwardDrillSignal, outcome, and evidence refs. Route their
comparison with the candidate to systematic-debugging before editing; it
decides whether the directions converge. A proven independent canonical-owner
root stays on the normal plan path.
For each task:
Change Necessity or create a compact one if the plan failed to carry it
forward. Plan approval is not by itself proof that a new helper, small guard,
new branch, fallback, adapter, or owner is necessary.
Change Necessity:
- User-visible need:
- No-change / non-code option:
- Why code change is necessary:
- Minimum change boundary:
- Decision: no-change | docs/config-only | code-change | needs-clarification
If the decision is not code-change, pause execution and return to plan
review instead of editing. If the decision is code-change, carry the
minimum boundary into the edit and verification scope.
Pre-Edit Complexity Check or create a compact one:
Use using-aegis/references/complexity-governance.md for shared artifact
classes, pressure signals, and over-budget handling.
Complexity Budget:
- Artifact class:
- Target files / artifacts:
- Current pressure:
- Projected post-change pressure:
- Budget result: within-budget | at-risk | over-budget
- Planned governance:
Pre-Edit Complexity Check:
- Target edit file:
- Existing pressure signal:
- Safer edit boundary:
- Decision: edit-in-place | extract helper | add owner file | split task | pause for plan update
Pre-Edit Owner-Fit Decision:
- Edit intent: wiring-only | move-out / extract-first | local-fix-without-new-responsibility | new-responsibility | emergency / compatibility patch
- Owner fit:
- Safer edit boundary:
- Decision: edit-in-place | extract helper | add owner file | split task | pause for plan update
If the check contradicts the plan's file boundary, pause and return to plan
review instead of silently stuffing logic into an overloaded owner. If the
budget result is over-budget and the task does not also govern that
overrun, stop execution and return to plan review rather than pushing the
task through as if it were still atomic.
When the target edit file is over-budget or mixed-purpose,
new-responsibility must not be added in place by default. wiring-only,
move-out / extract-first, and local-fix-without-new-responsibility may
proceed only when they do not add a new responsibility and the verification
boundary is clear. emergency / compatibility patch requires residual risk
and a retirement trigger.
its planned verification, use verification-before-completion before a
default local commit, stage only task-owned paths, and read back HEAD, the
committed file list, and remaining task delta. no commit, read-only,
no-change, and failed-verification tasks create no normal commit.
TodoCheckpointDraft and DriftCheckDraft before marking the task completed.When an Execution Readiness View exists, the drift check must explicitly
compare the active slice against the view's intent lock, scope fence,
baseline lock, compatibility boundary, retirement boundary, test
obligations, and review gates.
After all tasks complete and verified:
use aegis:finishing-a-development-branch;
verification-before-completion, report the local task commitand Task clean / Repository clean, and do not invent merge/PR ceremony.
STOP executing immediately when:
Ask for clarification rather than guessing.
Return to Review (Step 1) when:
Don't force through blockers - stop and ask.
main/masterRequired workflow skills:
Take ganyuanran/executing-plans from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.