anti-entropy-governanc…
Use when touching retiring old logic, collapsing duplicate owners, removing fallbacks, or schema/persistence/source-of-truth boundaries; identify opportunities…
Use when executing a written implementation plan across sessions or with review checkpoints. Small or single-slice plans stay inline. For same-session independent tasks, use subagent-driven-development instead.
$ npx -y skills add GanyuanRan/Aegis --skill executing-plans --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/executing-plansContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when executing a written implementation plan across sessions or with review checkpoints. Small or single-slice plans stay inline. For same-session independent tasks, use subagent-driven-development instead.
name: executing-plans description: "Use when executing a written implementation plan across sessions or with review checkpoints. Small or single-slice plans stay inline. For same-session independent tasks, use subagent-driven-development instead."
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.
1. Read plan file 2. If the plan or active checkpoint includes an `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. 3. Review critically - identify any questions or concerns about the plan 4. If the view contradicts the plan, baseline, or current worktree evidence, return to plan review or refresh the advisory handoff before editing. 5. Run the TDD Route Guard before implementation: confirm `Mode`, `Decision`, `Strict authority`, strict signals, light eligibility, `Test posture`, and verification. Strict steps require either an explicit user/project request or a recorded auto decision; plan approval or risk labels alone 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. An auto-light record is unsupported when any strict signal is present or when its tiny/low-risk/single-owner/no-behavior-change proof is incomplete. 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. 6. If concerns: Raise them with your human partner before starting 7. Before the first write, capture `TaskStartSnapshot`: root, `HEAD`, branch or detached 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. 8. Reuse the current branch unless rules require independent history or another goal owns it. If justified, switch/create it in the current workspace when safe; a worktree still requires concurrent checkout or blocking dirty state. 9. If no concerns: Create TodoWrite and proceed
If the plan has multiple tasks, may span sessions, or includes architecture / contract / workflow changes:
1. Announce: "I'm using the long-task-continuation skill to keep this plan checkpointed and drift-aware." 2. Load aegis:long-task-continuation. 3. Create the initial checkpoint from the plan:
4. Before each task, restate the current checkpoint. 5. After each task, update checkpoint, evidence refs, and drift check.
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: 1. Mark as in_progress 2. Follow each step exactly (plan has bite-sized steps) 3. Before any new source-code path is added by a task, restate the plan's `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. 4. Before any non-trivial source edit, run the plan's `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
Aegis Method Pack Make your AI coding agent trustworthy: fewer reworks, safer changes, proof before "done". English · 中文 · Fast-Track Playbook · 速通秘籍 Stop babysitting your agent.
Use when touching retiring old logic, collapsing duplicate owners, removing fallbacks, or schema/persistence/source-of-truth boundaries; identify opportunities…
Use when defining ambiguous or high-complexity new features, product behavior, UI/component design, architecture choices, contract changes, or when…
Use when the user asks for caveman mode, fewer tokens, brief responses, compressed communication, or otherwise explicitly requests a much shorter answer.
Use when facing 2+ independent tasks without a written plan, with no shared state or sequential dependencies, where parallel delegation beats inline cost;…
Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active…
Use when verified work needs integration or cleanup of an existing task-created branch/worktree, or the user explicitly requests merge, PR, or branch lifecycle…