post-implementation-verification
Skill2 starsChanged 9 months agoMITView on GitHub
HARD-GATE — multi-dimensional verification that implementation meets requirements before completion
In this repository22 other files it gives its agents.
- ab-testingSkill
- ab-validateSkill
- architectural-gateSkill
- cardio-reviewSkill
- consensusSkill
- counter-positionSkill
- cross-examinationSkill
- direct-querySkill
- doc-organizerSkill
- integrity-checkSkill
- invariance-healthSkill
- narrate-surgerySkill
- neurologistSkill
- pre-implementation-reviewSkill
- probeSkill
- quality-gatesSkill
- researchSkill
- review-loopSkill
- sentinelSkill
- setup-api-keysSkill
- setup-teamSkill
- using-3-surgeonsSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Do NOT claim completion until this verification passes.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Post-Implementation Verification
Purpose
"It works on my machine" is not verification. This gate ensures that completed work is verified across infrastructure health, regression detection, and adversarial review before anyone claims "done."
<HARD-GATE>
Do NOT claim completion until this verification passes. "Done" means verified, not "I finished typing."
</HARD-GATE>Auto-Invocation Trigger
Invoke before ANY of these claims:
- "Done" / "complete" / "finished" / "implemented"
- "Ready for review" / "ready to merge"
- "All tests pass" (verify this claim, do not just assert it)
- "The fix is in" / "bug is resolved"
- Transitioning from executing-plans to completion
Checklist
You MUST create a TodoWrite task for each step:
- Run gains-gate — is infrastructure still healthy after changes? Changes can break things silently (port conflicts, stale locks, broken configs).
Sentinel re-scan on actual changes — scan the diff of what was actually implemented, not the original plan. Implementation often drifts from plan. The sentinel catches complexity introduced during implementation.
# Get the diff for sentinel input git diff --stat HEAD~N # or appropriate range git diff HEAD~N # full diff for sentinel content- If >3 files changed: quick consensus vote — ask all 3 surgeons: "Did we introduce regression?" with the actual diff as context. This catches issues that tests miss.
- Verify tests pass — run the actual test suite. Do not claim tests pass without running them. If no tests exist for the changed code, flag this as a gap.
- Counter-position: "What did we miss?" — invoke counter-position with the claim "this implementation is complete and correct." Steelman why it is not.
- Present verification results — summarize all findings. Only claim completion if all checks pass. If any check fails, fix the issue and re-run verification.
Diff-Based Sentinel Scan
The post-implementation sentinel scan differs from pre-implementation:
- Pre-implementation: scans the plan/description (what you intend to do)
- Post-implementation: scans the actual diff (what you actually did)
This catches:
- Scope creep (changed more than planned)
- Unintended complexity (introduced patterns not in the plan)
- Security concerns in actual code (not just planned approach)
Verification Levels
Scale verification to the size of change:
| Change Size | Verification |
| 1 file, clear scope | Gains-gate + sentinel re-scan |
| 2-5 files | Above + test verification |
| >5 files | Above + consensus vote + counter-position |
Integration
[executing-plans] → [post-implementation-verification] → completion claimThis is the mirror of pre-implementation-review. Together they bracket the implementation phase:
pre-implementation-review → [implementation] → post-implementation-verificationWhat NOT to Do
- Do NOT skip verification because "it's a small change" — small changes cause large outages. Light verification (gains-gate + sentinel) takes <30 seconds.
- Do NOT claim "tests pass" without running them — the verification is the running, not the claiming.
- Do NOT dismiss sentinel warnings on the diff — if sentinel flags something in what you actually wrote, investigate before dismissing.
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.

