Guides deliberate selection of stubs, fakes, and mocks, defaulting to state verification over interaction testing to keep tests resilient during refactors.
A test double replaces a real dependency the test cannot afford: a payment gateway, a system clock, a database round trip. The trap is reaching for a mock by reflex and asserting that a method was called, which pins the code's internal wiring rather than its result. Such tests fail on every refactor that keeps behavior intact, and they pass while behavior is quietly broken. Pick the double that matches what you actually need to control.
assert account.balance == 40. This survives any refactor that preserves
the outcome, which is the entire reason the test exists.verify(gateway).charge(500) is right
when charging is what the code exists to do.This is about choosing and placing doubles, not about seam design or the real-dependency end of the scale: defer wiring seams to integration-testing and library choice to the project. Mocking frameworks vary, so follow the one already in the suite.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Not loaded · from ai-skills-commands
Claude Code won't load this skill
It ships in ai-skills-commands 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.
npx claudepluginhub amey-thakur/ai-skills --plugin ai-skills-commands1,000 skills in this plugin
/ab-test-designDesign product experiments with real hypotheses, honest sample-size math, guardrails, and peeking discipline. Use when validating a change by experiment or reviewing a test before believing its result./accessibility-reviewAudit a UI for real accessibility, keyboard-first, with concrete failures and fixes rather than checkbox compliance. Use when reviewing or building any user interface./accessibility-specialist-roleOperate as an accessibility specialist who audits against WCAG, trains teams to stop shipping the same defects, and owns the compliance sign-off. Use when a product needs to be usable with a keyboard, a screen reader, or magnification and someone must certify it before launch.Other plugins' skills for the same job