Not loaded · from checkpickerupper-skills
Guides writing tests that actually check user-stated rules, not implementation. Prevents vacuous tests by requiring explicit user request and rule definition before any test is written.
Claude Code won't load this skill
It ships in checkpickerupper-skills at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
A test exists only when the user asked for it and stated the rule it checks: what must hold, and in which situations, in their own words. An agent never decides on its own that a test is worth writing.
A test checks the rule in every situation the rule covers, never one example of it. "Orders over $50 ship free" is a rule about every order total in every region; a test of one $60 order passes while free shipping is broken at $50.01, in every other region, and for every order with a coupon.
The reason is where the expected value comes from. When an agent writes both the code and the test, both are the agent's reading of what the user wants. The test agrees with the code because one author wrote both, and it checks nothing about whether that reading was right. Breaking the code on purpose does not expose this: a test that asserts the code's own constant fails whenever the constant changes, so it passes every break proof and still only repeats the implementation.
Both come from the code, so the user is never asked for them. The expected results come from the user's words. When those leave a result open, ask for it; never fill it in from the code. 3. Check that no existing test already covers it. Break the rule in the code in the smallest plausible wrong way (skip the request, return the default, swap the currency, drop the write), run the module's tests, and undo the break. If one fails, the rule is covered: write nothing. A test's name never shows what it covers; only the break shows it.
Without a test the user asked for, a change's proof is its compile, its type and lint checks, and the tests that already exist.
For a bug fix the user asked to have tested, the test is written first and must fail on the code before the fix.
| Bad test | What to write instead |
|---|---|
| Checks one situation of a rule: one order total, one region, one state | Every situation the rule covers, listed or generated |
| Checks only the members the issue title names, when others run the same code | Every member that runs that code, read from where they are declared |
| A proposal that says it catches a failure the test would pass on | Name only the failures some situation in its range shows |
| A test the user never asked for | Nothing. Ask the user, with what it would catch and its run time |
| Asserts a value copied from the code: a constant, tuning number, seed, offset or size | Nothing. Changing that value is a decision, not a regression |
| Tests diagnostics, logging, developer-only commands, test tooling or the test runner | Nothing, unless the user asked for that test |
| Compares new code step by step against an older version or prototype | Nothing. Once the user accepted the new code, the old version is not a spec |
| Asserts appearance or feel: layout, animation, geometry, pacing | Nothing. The user judges those by eye |
| Asserts a mock or spy was called | Assert the result the call was for: the payload sent, the state it left |
| Snapshot of a constant or a config value | Nothing |
| Re-checks what the type checker already refuses | Nothing. The compiler is the test |
| Tests a library's own behaviour | Test your code that uses it |
| Restates the implementation: private state, internal call order, which helper ran | Assert what a caller observes: cart.total(), not cart._items.length |
| Asserts removed code stays gone, such as a file absent from its old path | Nothing. Bringing the code back is a decision, not a regression |
Needs a production hook written only for it, such as _resetCacheForTests() | Test through the public entry point, and delete the hook with the test |
| Passes when the code returns its default or an empty result | Assert the value the user named, and give each failure its own variant |
| Replaces an internal module with a fake | Use the real module; replace only the outside effect |
| A second test for a break another test already fails on | Nothing. Keep the one at the public entry point |
| Repeats a shared mechanism's test inside every feature that uses it | Test the mechanism once in its own suite |
| A check that could not run, counted as a pass | Report "could not run" as its own result |
| Sleeps for a fixed time, then checks | Wait for the event |
The break proof shows a test can fail. Only the user's stated rule shows it checks the right thing, so the proof never stands in for step 1 of "Before writing a test".
Done when the test's rule is quoted from the user, it checks every situation the rule covers, it failed on each break, it passes on the fixed code, and it is the only test that failed for its breaks.
--cov-context=test for Python, or the
runner's own per-test coverage. Where the runner records coverage only for
a whole run, run each test file alone with coverage on.Done when every test left has a recorded request, the deletion and decision lists are settled by the user, and no file exists only for the deleted tests.
A test that fails under load, on a slow machine or in another order is a bug in the test. Fix it at once: wait for the event instead of a time, give it its own scratch resources, remove the shared state. Never retry it, skip it, mark it slow or raise its time limit.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
23 skills in this plugin
/agent-mdlintReview AGENTS.md changes for Markdown defects, duplicated or conflicting instructions, and unintended semantic drift. Use when editing or reviewing agent instruction files, especially large rewrites or diffs that remove existing rules./anti-ai-slop-writingUse whenever writing or editing prose for people to read: website and landing-page copy, articles, blog posts, documents, READMEs, emails, replies, comments, docstrings, reviews, release notes, cover letters, bios, and any rewrite or edit of existing text. Bans every sign of AI writing, including answering a different question, windup openers, padded lists of three, puffed-up significance, promotional tone, corporate verbs such as owning or spearheading, 'not X but Y', privatives, abstraction laundering, AI vocabulary, em dashes, trailing -ing clauses, signpost transitions, choppy disconnected sentences, chatbot talk, notes to the writer, placeholders and summary endings./antimatter-codebase-structure-reviewPedantic structural audit of a commit, PR or branch, selected directory or module, or an entire codebase — hierarchy, nesting, naming, ownership, dependency boundaries, and growth readiness. Use when a change may distort repository shape, when a file or folder needs structural review, or when deciding whether to reorganize before expansion. Every finding must survive adversarial refutation and include evidence plus a concrete current→proposed change.Generated from the plugin's indexed repository (checkpickerupper/skills) — no native marketplace selected
npx claudepluginhub p/checkpickerupper-checkpickerupper-skillsOther plugins' skills for the same job