investigate-before-fix
Skill0 starsChanged 5 months agoApache-2.0View on GitHub
Confirm a diagnosis against current code before building its fix. On a delicate, hot-path, security, or recovery change, a refutation — the diagnosed cause was wrong, so nothing ships — is a valid and valuable outcome. Use before committing to a fix, even outside a full slice.
In this repository20 other files it gives its agents.
- fableSkill
- adversarial-reviewerSkill
- agent-dispatch-packetSkill
- agent-pr-validatorSkill
- autonomous-finish-loopSkill
- easy-vs-right-checkSkill
- external-workflow-adapterSkill
- fable-orchestratorSkill
- fable-session-skill-minerSkill
- instruction-drift-controlSkill
- long-run-continuitySkill
- one-slice-worker-cycleSkill
- orphaned-wip-adopterSkill
- peer-review-packetSkill
- periodic-retrospectSkill
- review-verifierSkill
- seal-both-typesSkill
- task-relative-test-gateSkill
- think-work-trySkill
- two-critic-review-loopSkill
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 14
Check the premise the fix depends on.
≈ “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
Investigate Before Fix
A fix for a cause you have not confirmed is a guess. Confirm first.
Procedure
- Reproduce the cause at current HEAD, not from a remembered summary or a stale note.
- Map every reader and writer of the state the fix would touch; enumerate the interleavings the fix would create.
- Check the premise the fix depends on. If the fix assumes a value, field, or path exists, verify it does before designing against it.
- Decide:
- Confirmed: build the narrow fix.
- Refuted: the diagnosis was wrong. Report the finding and ship no change. This is a result, not a failure.
- Cannot prove safe: HOLD and write the tradeoff for a human.
Why
The most expensive changes are correct fixes to the wrong problem, and plausible fixes built on an unchecked premise. A refutation that costs one investigation is far cheaper than a merge that has to be reverted — and the premise a fix quietly assumes is exactly the thing an investigation exists to catch.
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.

