pre-implementation-review
Skill2 starsChanged 9 months agoMITView on GitHub
HARD-GATE — adversarial review of implementation plans by all 3 surgeons before coding begins
1 other project uses a version of this.
Adopted by
Most recently taken up by
- pablolok/claude-skillstheir own version, first seen Jul 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- pablolok/claude-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
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
- post-implementation-verificationSkill
- 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
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Do NOT start implementation until this review passes.
- Very specific: line 26
After writing-plans skill produces an implementation plan
- Very specific: line 27
Before executing-plans skill begins work
- Distinctive: line 28
Before any multi-file implementation begins
- Distinctive: line 29
When a design doc exists and coding is about to start
- Distinctive: line 67
Every pre-implementation review must produce a rollback strategy:
- Distinctive: line 79
If the rollback strategy reveals the change is hard to reverse, this is a signal to increase scrutiny (potentially escalating to Full mode …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Pre-Implementation Review
Purpose
The gap between "good plan" and "good implementation" is where most bugs are born. This gate ensures the plan survives adversarial scrutiny BEFORE any code is written.
<HARD-GATE>
Do NOT start implementation until this review passes. This fires at the writing-plans to executing-plans transition.
</HARD-GATE>Auto-Invocation Trigger
Invoke when transitioning from planning to implementation — specifically:
- After
writing-plansskill produces an implementation plan - Before
executing-plansskill begins work - Before any multi-file implementation begins
- When a design doc exists and coding is about to start
Checklist
You MUST create a TodoWrite task for each step:
- Sentinel scan on the implementation plan — run sentinel with the plan description as content. This catches complexity risks the planning phase may have introduced.
- Cross-exam the plan with all 3 surgeons — focus question: "What will break when we implement this?" Not "is this a good idea?" (that was architectural-gate's job) but "what will go wrong during execution?"
- Counter-position: argue why this plan will FAIL — invoke the counter-position skill. The claim is "this implementation plan will succeed." Steelman why it will not.
- Verify gains-gate passes — infrastructure must be healthy before starting. Do not build on broken foundations.
- Create explicit rollback strategy — before writing code, document how to undo the changes if they go wrong. This forces thinking about reversibility.
- Present review results — summarize findings from steps 1-5. Proceed only with approval. If surgeons raised critical concerns, those must be addressed in the plan before implementation begins.
What the Cross-Exam Should Focus On
The cross-exam question for pre-implementation is specifically:
We are about to implement the following plan:
[plan summary]
Focus your analysis on:
1. What will break during implementation?
2. What dependencies or ordering constraints are missing?
3. What edge cases does the plan not address?
4. Are there simpler approaches the plan overlooked?
5. What tests should exist BEFORE implementation starts?This is different from architectural-gate's cross-exam (which focuses on "is this the right approach?"). Pre-implementation focuses on "will this execution succeed?"
Rollback Strategy Template
Every pre-implementation review must produce a rollback strategy:
## Rollback Strategy
- Files that will change: [list]
- Git state before: [commit hash or branch]
- Rollback command: git checkout [hash] -- [files]
- Data migrations: [reversible? how?]
- External state: [any API keys, configs, or services that change?]
- Estimated rollback time: [minutes]If the rollback strategy reveals the change is hard to reverse, this is a signal to increase scrutiny (potentially escalating to Full mode in architectural-gate if not already there).
Integration
[architectural-gate] → [brainstorming] → [writing-plans] → [pre-implementation-review] → [executing-plans]Pre-implementation-review is the last checkpoint before code changes begin. After this, the next gate is post-implementation-verification.
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.

