1
---
2
name: prove-it
3
description: "Use before claiming work is done, fixed, working or passing, and before committing or opening a PR. Runs the smallest real check that could prove the claim wrong, shows the evidence, and states exactly what was checked and what was not. Triggers: done, fixed, works, passing, ready, ship it, tests green, verified."
4
license: MIT
5
metadata:
6
author: "DeadInternetStudios"
7
version: "0.2.0"
8
repository: "https://github.com/DeadInternetStudios/100x-engineer-skill"
9
---
10
11
# Prove it
12
13
A claim without a check is a guess. Before you say done, run the check.
14
15
Most bad "done" messages share one shape: the work probably is fine, and
16
nobody can tell from the message whether it was ever tried. This skill is
17
the habit that fixes that. It takes two minutes and it is the whole
18
difference between "trust me" and "here is the evidence".
19
20
## The rule
21
22
1. **Name the claim.** One sentence: what exactly is supposed to work now.
23
"The login fix is in" is not a claim. "A user with a wrong password now
24
sees the error message instead of a blank page" is.
25
2. **Pick the smallest check that could prove it wrong.** A test that fails
26
without the change and passes with it, a build, running the thing
27
itself, a screenshot for anything visual. Reading the code again is
28
not a check.
29
3. **Run it for real, after the last edit.** Show the output, or a short
30
summary that says where the full output lives. Never report a result
31
you did not see, and never reuse a result from before the last change.
32
4. **State the scope plainly.** "Checked X on Y" is honest. "The app
33
works" from one passing test is not. If you used a formal check, say
34
whether it was exhaustive, bounded or sampled, and on what model.
35
5. **Say what is unverified.** If a check cannot run here, name it, say
36
why, and say what would settle it. An honest "not checked" beats a
37
confident guess.
38
39
## Choosing the check
40
41
Match the check to the claim, smallest first:
42
43
| Claim | Smallest real check |
44
|---|---|
45
| A bug is fixed | Reproduce the bug on the old code, then show it gone on the new code |
46
| Code changed | The failing-then-passing test, or the existing suite for that area |
47
| A build or config change | Run the build or the command the config controls |
48
| Something visual | A screenshot, actually looked at, not just taken |
49
| A refactor changed nothing | The same tests, same results, before and after |
50
| Words only (docs, copy) | Say so. The check is names, links and commands spelled right |
51
| Data or migration | Row counts or a spot check against the source, before and after |
52
53
If the smallest check is expensive (a full end-to-end suite), run the
54
cheap one now and name the expensive one as unverified, with the command
55
that would run it.
56
57
## Worked examples
58
59
Good:
60
61
> Fixed. The wrong-password case showed a blank page; the new test
62
> `test_wrong_password_shows_error` failed before the change and passes
63
> now. Full suite: 42 passed. The reset-password email is not checked,
64
> it needs a mail server this machine does not have.
65
66
Bad:
67
68
> Fixed the login bug, should work now.
69
70
Nothing in the bad version is checkable: no test named, no output, no
71
scope. "Should" is the tell.
72
73
Cannot run it here:
74
75
> The change is in and the unit tests pass (18 of 18). I could not run
76
> the browser check, there is no browser on this machine, so the layout
77
> at mobile width is unverified. `npm run test:visual` on a machine with
78
> a browser settles it.
79
80
That is still a good message. The reader knows exactly what is known
81
and what is not.
82
83
## Score yourself before you send
84
85
Five questions. All five yes means you may say done.
86
87
1. Did I name the claim in one sentence?
88
2. Did a real check run after my last edit?
89
3. Can the reader see the output, or where it lives?
90
4. Did I state the scope (what the check covered, on what)?
91
5. Did I name anything that is still unverified?
92
93
A no on 2 means do not say done yet. A no on 5 usually means the message
94
is about to overclaim.
95
96
## Common mistakes
97
98
- **Old green.** Reporting CI or tests from before the last change.
99
- **The test that cannot fail.** A new test that passes on the broken
100
code too. Always watch it fail first, or say you did not.
101
- **Screenshot taken, not looked at.** The file existing is not evidence.
102
- **Happy path only.** Checking the case that already worked.
103
- **Effort as evidence.** "I spent an hour on it" proves nothing.
104
- **Scope creep in words.** One route checked, "the API works" claimed.
105
106
## The sentence to end with
107
108
End with one plain sentence: what was checked, on what, and what was
109
not checked. Like: "Ran the 42 unit tests on this commit, all pass; the
110
export flow is not checked."
111
112
---
113
114
Part of the [100x Engineer Skill](https://github.com/DeadInternetStudios/100x-engineer-skill) suite. This skill works on its own; no other files needed.
115