/verification-before-completion
Use when about to claim work is complete, fixed, passing, verified, release-ready, or ready to commit, merge, publish, or hand off.
$ npx -y skills add GanyuanRan/Aegis --skill verification-before-completion --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/verification-before-completion
Context preview
The summary Claude sees to decide when to auto-load this skill.
Use when about to claim work is complete, fixed, passing, verified, release-ready, or ready to commit, merge, publish, or hand off.
SKILL.md
verification-before-completion.SKILL.mdname: verification-before-completion
description: "Use when about to claim work is complete, fixed, passing, verified, release-ready, or ready to commit, merge, publish, or hand off."
<EXPLICIT-MODE-GATE> If activation mode is explicit (`~/.config/aegis/config.toml` has `activation_mode = "explicit"`, or `AEGIS_ACTIVATION_MODE=explicit` is visible in the environment) and the current user request did not explicitly invoke Aegis or this skill by name, exit back to the fast path: answer concisely without this workflow's checklist, ceremony, or document requirements. If the user explicitly named Aegis or this skill, proceed normally. </EXPLICIT-MODE-GATE>
Execute
Before any success claim, classify destructive permission needs, choose and run a fresh falsifying check, read its complete result/scope, then select L0/L1/L2. If evidence is partial, stale, failing, or narrower than the claim, downgrade; never claim complete first and verify later.
This Method Pack grants no authoritative `GateDecision`, `PolicySnapshot`, evidence sufficiency, requirement acceptance, or completion authority.
Stop Signals
Stop before claiming or advancing when:
- evidence is uncertain, stale, agent-only, or narrower than the claim;
- the next action is commit, push, PR, merge, tag, publish, release, or handoff;
- task/slice completion is being treated as accepted requirement satisfaction;
- governance or retirement lacks repair/retirement evidence;
- retained old logic lacks a retention reason and retirement trigger; or
- complexity closure is unresolved.
Destructive or irreversible work needs scoped permission; warnings or broad assent do not grant it.
Required Evidence Slots
Keep these slots explicit and auditable:
- Evidence action / check performed:
- Result / exit status:
- Covered scope:
- Uncovered scope:
- Residual risk:
- Confidence grade: A | B | C
- `A`: direct target plus relevant regression evidence; no meaningful unknown.
- `B`: direct target evidence with bounded residual risk.
- `C`: partial evidence only; do not claim full completion.
When tests shape the claim, include target test and related regression evidence. If automation is blocked, give reproducible manual steps and lower confidence. Evidence is not completion authority.
Task Git Closeout
For modification tasks, compare the final state with `TaskStartSnapshot`. Only the coordinator stages task-owned paths; never use broad staging or include pre-existing user state. A default local task commit follows fresh verification unless the task is read-only/no-change, user/project authority says `no commit`, or verification failed. Read back `HEAD`, message, files, and remaining task delta. Commit/hook failure preserves the work and blocks a clean claim; do not bypass hooks.
The Git receipt reports branch; commit SHA/message or non-commit reason; `Task clean`; `Repository clean`; and each task-created branch/worktree as created, removed, or retained with reason. Task-clean never implies repo-clean. This receipt is evidence, not external integration or completion authority.
Aegis Visibility / Single Closeout
Use one completion surface; no parallel final reports. `verification-before-completion` is the single completion closeout aggregator. Adjacent skills and L2 cards feed the receipt but must not replace it or become a competing final report owner. Receipt aggregation is output conformance, not a routing trigger: do not load extra skills, emit a Trace Digest, or add ceremony merely to fill the receipt.
If entry visibility was omitted, recover the decision/evidence boundary and name the gap; a used-skills list or `Aegis Contribution Note` is no substitute.
L0 Fast-Path
For tiny low-risk work, one natural sentence can name check/result, uncovered scope/risk, and confidence.
L1 Default Receipt
For non-trivial Aegis-shaped work, use this receipt. Evidence slots fold into `Evidence strength` and `Uncovered risk`; avoid a second evidence report.
Aegis Impact and Safety Receipt:
- Key judgment:
- Avoided misfix:
- Boundary held:
- Baseline alignment:
- Complexity control:
- Evidence strength:
- Uncovered risk:
- Next most valuable verification:
- Aegis path:
Field meanings: `Key judgment`=owner/root cause/requirement/completion boundary; `Avoided misfix`=fallback/duplicate/test accommodation/scope growth; `Boundary held`=contract/owner/baseline/non-goal/data/runtime boundary; `Baseline alignment`=aligned/Design Defect/Implementation Drift/missing-authority/needs-clarification/not triggered; `Complexity control`=completion-time delta/closure; `Evidence strength`=fresh check/result/scope/confidence; `Uncovered risk`=remaining gaps/residual risk; `Next most valuable verification`=highest-value next check; `Aegis path`=optional, not judgment/evidence.
Natural wording is valid when every semantic slot stays auditable. `Semantic Slots`, `Natural Surface`, and `Governance Receipt` are compatibility names, not other reports.
L2 Expanded Triggers
On any match, read `expanded-closeout.md`. It owns detail; this file owns routing and the final receipt.
| Trigger | Expanded owner | |---|---| | release/merge/publish/readiness/handoff | Readiness Summary | | audit/debug/release/long-task review/trace request | Trace Digest | | goal/TaskIntentDraft/plan/spec/Slice Card | Goal Closure | | project/domain semantic delta | Context Impact | | target `docs/aegis/` changed | Workspace Integrity | | requirement/product/durable architecture | Baseline/ADR | | governance/cleanup/migration/compat/retirement | Governance/Retirement | | source-of-truth/irreversible deletion | destructive-action cards | | material complexity pressure | Expanded Complexity Detail | | high-risk or explicit user request for expanded closeout | applicable cards |
For target workspace changes, keep configured Aegis workspace support wired. When a work record exists run `python <aegis-workspace-helper> bundle --root <target-pr
Read more
name: verification-before-completion description: "Use when about to claim work is complete, fixed, passing, verified, release-ready, or ready to commit, merge, publish, or hand off."
<EXPLICIT-MODE-GATE> If activation mode is explicit (`~/.config/aegis/config.toml` has `activation_mode = "explicit"`, or `AEGIS_ACTIVATION_MODE=explicit` is visible in the environment) and the current user request did not explicitly invoke Aegis or this skill by name, exit back to the fast path: answer concisely without this workflow's checklist, ceremony, or document requirements. If the user explicitly named Aegis or this skill, proceed normally. </EXPLICIT-MODE-GATE>
Execute
Before any success claim, classify destructive permission needs, choose and run a fresh falsifying check, read its complete result/scope, then select L0/L1/L2. If evidence is partial, stale, failing, or narrower than the claim, downgrade; never claim complete first and verify later.
This Method Pack grants no authoritative `GateDecision`, `PolicySnapshot`, evidence sufficiency, requirement acceptance, or completion authority.
Stop Signals
Stop before claiming or advancing when:
- evidence is uncertain, stale, agent-only, or narrower than the claim;
- the next action is commit, push, PR, merge, tag, publish, release, or handoff;
- task/slice completion is being treated as accepted requirement satisfaction;
- governance or retirement lacks repair/retirement evidence;
- retained old logic lacks a retention reason and retirement trigger; or
- complexity closure is unresolved.
Destructive or irreversible work needs scoped permission; warnings or broad assent do not grant it.
Required Evidence Slots
Keep these slots explicit and auditable:
- Evidence action / check performed: - Result / exit status: - Covered scope: - Uncovered scope: - Residual risk: - Confidence grade: A | B | C
- `A`: direct target plus relevant regression evidence; no meaningful unknown.
- `B`: direct target evidence with bounded residual risk.
- `C`: partial evidence only; do not claim full completion.
When tests shape the claim, include target test and related regression evidence. If automation is blocked, give reproducible manual steps and lower confidence. Evidence is not completion authority.
Task Git Closeout
For modification tasks, compare the final state with `TaskStartSnapshot`. Only the coordinator stages task-owned paths; never use broad staging or include pre-existing user state. A default local task commit follows fresh verification unless the task is read-only/no-change, user/project authority says `no commit`, or verification failed. Read back `HEAD`, message, files, and remaining task delta. Commit/hook failure preserves the work and blocks a clean claim; do not bypass hooks.
The Git receipt reports branch; commit SHA/message or non-commit reason; `Task clean`; `Repository clean`; and each task-created branch/worktree as created, removed, or retained with reason. Task-clean never implies repo-clean. This receipt is evidence, not external integration or completion authority.
Aegis Visibility / Single Closeout
Use one completion surface; no parallel final reports. `verification-before-completion` is the single completion closeout aggregator. Adjacent skills and L2 cards feed the receipt but must not replace it or become a competing final report owner. Receipt aggregation is output conformance, not a routing trigger: do not load extra skills, emit a Trace Digest, or add ceremony merely to fill the receipt.
If entry visibility was omitted, recover the decision/evidence boundary and name the gap; a used-skills list or `Aegis Contribution Note` is no substitute.
L0 Fast-Path
For tiny low-risk work, one natural sentence can name check/result, uncovered scope/risk, and confidence.
L1 Default Receipt
For non-trivial Aegis-shaped work, use this receipt. Evidence slots fold into `Evidence strength` and `Uncovered risk`; avoid a second evidence report.
Aegis Impact and Safety Receipt: - Key judgment: - Avoided misfix: - Boundary held: - Baseline alignment: - Complexity control: - Evidence strength: - Uncovered risk: - Next most valuable verification: - Aegis path:
Field meanings: `Key judgment`=owner/root cause/requirement/completion boundary; `Avoided misfix`=fallback/duplicate/test accommodation/scope growth; `Boundary held`=contract/owner/baseline/non-goal/data/runtime boundary; `Baseline alignment`=aligned/Design Defect/Implementation Drift/missing-authority/needs-clarification/not triggered; `Complexity control`=completion-time delta/closure; `Evidence strength`=fresh check/result/scope/confidence; `Uncovered risk`=remaining gaps/residual risk; `Next most valuable verification`=highest-value next check; `Aegis path`=optional, not judgment/evidence.
Natural wording is valid when every semantic slot stays auditable. `Semantic Slots`, `Natural Surface`, and `Governance Receipt` are compatibility names, not other reports.
L2 Expanded Triggers
On any match, read `expanded-closeout.md`. It owns detail; this file owns routing and the final receipt.
| Trigger | Expanded owner | |---|---| | release/merge/publish/readiness/handoff | Readiness Summary | | audit/debug/release/long-task review/trace request | Trace Digest | | goal/TaskIntentDraft/plan/spec/Slice Card | Goal Closure | | project/domain semantic delta | Context Impact | | target `docs/aegis/` changed | Workspace Integrity | | requirement/product/durable architecture | Baseline/ADR | | governance/cleanup/migration/compat/retirement | Governance/Retirement | | source-of-truth/irreversible deletion | destructive-action cards | | material complexity pressure | Expanded Complexity Detail | | high-risk or explicit user request for expanded closeout | applicable cards |
For target workspace changes, keep configured Aegis workspace support wired. When a work record exists run `python <aegis-workspace-helper> bundle --root <target-pr
Aegis Method Pack Make your AI coding agent trustworthy: fewer reworks, safer changes, proof before "done". English · 中文 · Fast-Track Playbook · 速通秘籍 Stop babysitting your agent.
Other skills on aegis.
- /anti-entropy-governance
Use when retiring old logic, collapsing duplicate owners, removing fallbacks, or touching schema, persistence, or source-of-truth boundaries while deciding whether to delete old paths, retain compatibility, or stop for confirmation.
Open skill - /brainstorming
Use when defining ambiguous or high-complexity new features, product behavior, UI/component design, architecture choices, contract changes, or when grilling/pressure-testing a plan or design. Routine small requests stay on the fast path.
Open skill - /communicating-concisely
Use when the user asks for caveman mode, fewer tokens, brief responses, compressed communication, or otherwise explicitly requests a much shorter answer.
Open skill - /dispatching-parallel-agents
Use when facing 2+ independent tasks without a written plan that can be worked on without shared state or sequential dependencies. Planned tasks in the current session use subagent-driven-development.
Open skill - /establishing-project-context
Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.
Open skill - /executing-plans
Use when executing a written implementation plan across sessions or with review checkpoints. For same-session execution with independent tasks, use subagent-driven-development instead.
Open skill

