From resilient-flows
Fail-closed verification before claiming work is complete. Requires parallel reviewer + silent-failure scan with explicit PASS evidence (file:line citations). Integrates with remediation-loop for findings. Use before marking any non-trivial task as done.
How this skill is triggered — by the user, by Claude, or both
Slash command
/resilient-flows:fail-closed-verificationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Before claiming any non-trivial work is complete, run structured verification that **defaults to "not done" until proven otherwise**. Narrative confidence ("I believe this works") is not evidence. Commands must be run, output must be checked, and findings must be explicit.
Before claiming any non-trivial work is complete, run structured verification that defaults to "not done" until proven otherwise. Narrative confidence ("I believe this works") is not evidence. Commands must be run, output must be checked, and findings must be explicit.
Execute the project's test suite (or the relevant subset). Record:
If there are no tests, state that explicitly. Do not claim "tests pass" when no tests exist.
For changes touching 3+ files or involving logic changes, dispatch two agents in parallel:
Agent A — Code Reviewer (read-only):
Review the changes for correctness, edge cases, and consistency
with existing patterns. For each finding, provide:
- file:line reference
- severity (CRITICAL/HIGH/MEDIUM/LOW)
- specific concern (not vague)
If everything looks correct, state PASS with what you verified.
Agent B — Silent Failure Scanner (read-only):
Scan the changed files for silent failure patterns:
- Swallowed exceptions (empty catch blocks, bare except:pass)
- Missing error returns (function can fail but caller doesn't check)
- Unchecked null/undefined access
- Missing validation at system boundaries
- Race conditions or state mutation without synchronization
For each finding, provide file:line and the specific pattern.
If the code is clean, state PASS with what you scanned.
| Result | Action |
|---|---|
| Both PASS with evidence | Work is verified. Proceed to completion. |
| Findings at HIGH+ | Invoke resilient-flows:remediation-loop to fix, then re-verify |
| Findings at MEDIUM/LOW only | Note them for the user, proceed to completion |
| Either agent fails to provide evidence | Fail closed. Re-run or investigate. |
When reporting completion to the user, include:
The default state is "unverified." Evidence moves it to "verified." Nothing else does.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub thamam/a2x-marketplace --plugin resilient-flows