falsify-first
Skill0 starsChanged 56 days agoMITView on GitHub
Tries to break a claim, invariant or measurement with a concrete counterexample. Use before it enters a plan, a design or a gate.
In this repository52 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- best-practices-auditSkill
- catalog-authoringSkill
- cli-toolsSkill
- conventional-commitsSkill
- decompose-planSkill
- find-skillsSkill
- harness-clientSkill
- harness-loopSkill
- interface-factsSkill
- no-commentsSkill
- nodeSkill
- plain-englishSkill
- pythonSkill
- release-processSkill
- repair-in-placeSkill
- retention-probeSkill
- root-causeSkill
- session-finishSkill
- skill-creatorSkill
- test-disciplineSkill
- tier-injectionSkill
- validate-as-consumerSkill
- work-trackerSkill
- worktree-isolationSkill
- best-practices-auditSkill
- catalog-authoringSkill
- cli-toolsSkill
- conventional-commitsSkill
- decompose-planSkill
- falsify-firstSkill
- find-skillsSkill
- harness-clientSkill
- harness-loopSkill
- interface-factsSkill
- no-commentsSkill
- nodeSkill
- plain-englishSkill
- pythonSkill
- release-processSkill
- repair-in-placeSkill
- retention-probeSkill
- root-causeSkill
- session-finishSkill
- skill-creatorSkill
- test-disciplineSkill
- tier-injectionSkill
- validate-as-consumerSkill
- work-trackerSkill
- worktree-isolationSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Before you argue for a claim, try to make it false.
- Distinctive: line 19
Never report a manual search as a proof: Write "attacked this way, did not break" and name the way.
- Distinctive: line 36
When an analysis finds a mechanism by which the claim can fail, make that mechanism the next test case.
- Distinctive: line 38
When no cheap oracle exists, name the input that would falsify the claim and look for it by hand.
- Distinctive: line 48
When a probe counts the file that defines its vocabulary, the probe and the thing it checks share a step.
- Distinctive: line 51
Run the probe again without the definition: If the number moves, the agreement was the instrument that read itself.
- Very specific: line 69
Not the reviewer role, which attacks a diff that already exists.
≈ “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
<!-- Generated by `basicly skills-build` from skill.yaml. Do not edit; edit the source. -->Falsify First
Before you argue for a claim, try to make it false. A claim that nobody attacked is not evidence.
Rules
- Search for the counterexample before you defend the claim. A failed candidate shows the shape of the correct one.
- When the claim breaks, find the precondition that carried the weight. A patch that makes it pass hides the cause.
- Split a precondition that does two jobs, and attack each half alone. A double-duty condition is the most frequent hidden cause.
- Measure the baseline of a claim about a difference first. "X is present where it should not be" is false when X is already present by another route.
- Exclude the instrument from its own population. A probe that counts its own definition agrees with itself and proves nothing.
- State what measured a number and where it ran. A swapped instrument or a wrong tree gives a wrong number with no symptom.
- Never report a manual search as a proof. Write "attacked this way, did not break" and name the way.
Runbook
- State the claim so it can be false. Name the observation that refutes it. If you cannot name one, you have a preference. Sharpen it into a claim first.
- Pick the cheapest oracle that can say no. From cheapest to most expensive:
- run it;
- a property test over generated inputs;
- a set of adversarial inputs that you build by hand;
- a second implementation;
- a type checker or a contract checker.
- Search, do not sample for confirmation. Bias the inputs toward the boundary, the degenerate case, the empty case and the case the author finds inconvenient.
- When it breaks, read the counterexample. The precondition that carried the weight is usually visible in it.
- Stop on a survivor and record the attack. "Survived N generated cases and these three adversaries" is evidence. "I could not find a counterexample" is not.
Build the adversary from the failure
When an analysis finds a mechanism by which the claim can fail, make that mechanism the next test case. Write it down while you have it. A generic fixture set is weak.
When no cheap oracle exists, name the input that would falsify the claim and look for it by hand. Say in the deliverable that the search was manual and what it covered.
A difference needs its baseline
A finding of the form "X is present where it should not be" is two claims. The second claim is that X is not already present by another route. Attack the second claim first. It is the cheaper kill, and it decides the severity.
Example: an e-mail address in a tracker file is not a new exposure when git log --format='%ae' | sort -u already shows it as a commit author.
Exclude the instrument
When a probe counts the file that defines its vocabulary, the probe and the thing it checks share a step. Their agreement is then not a second derivation.
- Name the population and what defines it. Exclude the definition: the gate's own module, the schema, the fixture, the test that lists the set.
- Run the probe again without the definition. If the number moves, the agreement was the instrument that read itself.
- Split the hits by population before you report one total. One number over two populations reads as evidence and is not.
Pin the instrument and the tree
Two substitutions keep the population correct and make the number wrong:
- The instrument was swapped. Another lane can overwrite a script at a shared path between the write and the run. Keep an instrument where only you can write it.
- The tree was wrong.
uv run --project <worktree> pytestfrom another directory selects the environment, not the tree. It collects the tests of the other tree. Run from inside the tree. Prove the tree with a control that only it can satisfy, such as a symbol, a file or a string that exists nowhere else.
Take the measurement again when it came from a shared path or an unpinned tree.
Limits
- This method changes what you believe. It is not a gate and refuses nothing.
- It makes a wrong belief cheap to drop. It does not prove that a surviving claim is correct.
- Not
test-discipline, which structures a test after the behaviour is settled. - Not
root-cause, which runs after a failure to find why it happened. - Not the
reviewerrole, which attacks a diff that already exists.
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.

