100x is a skill by a former Cursor engineer that turns prompts into formally verified, production-ready code
Expand prove-it into a full standalone skill (0.2.0) (#11)
numbers98d3ef92f8f1
diff --git a/skills/prove-it/SKILL.md b/skills/prove-it/SKILL.mdindex a1b2f1d..b7b4fd7 100644--- a/skills/prove-it/SKILL.md+++ b/skills/prove-it/SKILL.md@@ -4,7 +4,7 @@ description: "Use before claiming work is done, fixed, working or passing, and blicense: MITmetadata:author: "DeadInternetStudios"- version: "0.1.0"+ version: "0.2.0"repository: "https://github.com/DeadInternetStudios/100x-engineer-skill"---@@ -12,31 +12,102 @@ metadata:A claim without a check is a guess. Before you say done, run the check.+Most bad "done" messages share one shape: the work probably is fine, and+nobody can tell from the message whether it was ever tried. This skill is+the habit that fixes that. It takes two minutes and it is the whole+difference between "trust me" and "here is the evidence".+## The rule1. **Name the claim.** One sentence: what exactly is supposed to work now.-2. **Pick the smallest check that could prove it wrong.** A test that fails without the change and passes with it, a build, running the thing itself, a screenshot for anything visual. Reading the code again is not a check.-3. **Run it for real.** Show the output, or a short summary that says where the full output lives. Never report a result you did not see.-4. **State the scope plainly.** "Checked X on Y" is honest. "The app works" from one passing test is not. If you used a formal check, say whether it was exhaustive, bounded or sampled, and on what model.-5. **Say what is unverified.** If a check cannot run here, name it, say why, and say what would settle it. An honest "not checked" beats a confident guess.+ "The login fix is in" is not a claim. "A user with a wrong password now+ sees the error message instead of a blank page" is.+2. **Pick the smallest check that could prove it wrong.** A test that fails+ without the change and passes with it, a build, running the thing+ itself, a screenshot for anything visual. Reading the code again is+ not a check.+3. **Run it for real, after the last edit.** Show the output, or a short+ summary that says where the full output lives. Never report a result+ you did not see, and never reuse a result from before the last change.+4. **State the scope plainly.** "Checked X on Y" is honest. "The app+ works" from one passing test is not. If you used a formal check, say+ whether it was exhaustive, bounded or sampled, and on what model.+5. **Say what is unverified.** If a check cannot run here, name it, say+ why, and say what would settle it. An honest "not checked" beats a+ confident guess.++## Choosing the check++Match the check to the claim, smallest first:++| Claim | Smallest real check |+|---|---|+| A bug is fixed | Reproduce the bug on the old code, then show it gone on the new code |+| Code changed | The failing-then-passing test, or the existing suite for that area |+| A build or config change | Run the build or the command the config controls |+| Something visual | A screenshot, actually looked at, not just taken |+| A refactor changed nothing | The same tests, same results, before and after |+| Words only (docs, copy) | Say so. The check is names, links and commands spelled right |+| Data or migration | Row counts or a spot check against the source, before and after |++If the smallest check is expensive (a full end-to-end suite), run the+cheap one now and name the expensive one as unverified, with the command+that would run it.++## Worked examples++Good:++> Fixed. The wrong-password case showed a blank page; the new test+> `test_wrong_password_shows_error` failed before the change and passes+> now. Full suite: 42 passed. The reset-password email is not checked,+> it needs a mail server this machine does not have.++Bad:++> Fixed the login bug, should work now.++Nothing in the bad version is checkable: no test named, no output, no+scope. "Should" is the tell.++Cannot run it here:++> The change is in and the unit tests pass (18 of 18). I could not run+> the browser check, there is no browser on this machine, so the layout+> at mobile width is unverified. `npm run test:visual` on a machine with+> a browser settles it.++That is still a good message. The reader knows exactly what is known+and what is not.++## Score yourself before you send++Five questions. All five yes means you may say done.-## What counts+1. Did I name the claim in one sentence?+2. Did a real check run after my last edit?+3. Can the reader see the output, or where it lives?+4. Did I state the scope (what the check covered, on what)?+5. Did I name anything that is still unverified?-- Tests that ran on this change, with the count and any failures, not just "green".-- A build or type check that finished after the last edit.-- The program doing the thing, with its output.-- A screenshot for visual work, actually looked at, not just taken.+A no on 2 means do not say done yet. A no on 5 usually means the message+is about to overclaim.-## What does not count+## Common mistakes-- "It looks right."-- A check you ran before the last change.-- A green CI badge from a different commit.-- Effort. Time spent is not evidence.+- **Old green.** Reporting CI or tests from before the last change.+- **The test that cannot fail.** A new test that passes on the broken+ code too. Always watch it fail first, or say you did not.+- **Screenshot taken, not looked at.** The file existing is not evidence.+- **Happy path only.** Checking the case that already worked.+- **Effort as evidence.** "I spent an hour on it" proves nothing.+- **Scope creep in words.** One route checked, "the API works" claimed.## The sentence to end with-End with one plain sentence: what was checked, on what, and what was not checked. Like: "Ran the 42 unit tests on this commit, all pass; the export flow is not checked."+End with one plain sentence: what was checked, on what, and what was+not checked. Like: "Ran the 42 unit tests on this commit, all pass; the+export flow is not checked."---