6 skills · category

Testing skills for Claude Code

Skills for test suites worth trusting: unit test design, Playwright end-to-end tests, Vitest, pytest, Testing Library, mocking boundaries, contract tests, k6 load tests, property-based and mutation testing, visual regression, test data factories, and flaky test triage.

~/.claude/skills

curl -fsSL claudeskills.page/install.sh \
| sh -s -- --category testing

+ 15 more testing skills

Done. 21 skills ready · run /skills to confirm

6 Testing skills with a full page

Each card opens the full playbook, example prompts and install commands.

API Testing

Prove every endpoint's contract, including who can't call it

Claude picks one API test format for the repo, builds an endpoint-by-case matrix that includes validation errors, expired tokens, wrong roles and cross-tenant access, and writes self-contained tests that create their own data. Responses are checked against the OpenAPI schema plus the fields each case is about, and CI runs the suite against a fresh container with JUnit output and service logs.

api-testing 254 lines

Benchmark Testing

Faster means significant, not one lucky run

Claude stops quoting single-run timings. It uses the right harness per language, guards against dead-code elimination, quiets the machine, measures noise with an A/A run, and compares 10 or more samples per side with a significance test and confidence interval. CI gates get thresholds derived from measured noise, or instruction counts when shared runners are too jittery.

benchmark-testing 259 lines · 2 files

Mobile E2E Testing

Mobile UI tests that pass ten runs out of ten

Claude picks one end-to-end framework per app stack, adds stable test IDs and a launch-argument test mode that fixes backend, locale and animations, and writes journeys that reset state and wait on conditions rather than sleeping. It sets up emulator and simulator CI with artifacts on failure, uses device farms for real-device passes, and works through a flake checklist until runs are repeatable.

mobile-e2e-testing 275 lines

Mutation Testing

Find out if your tests would notice a real bug

Claude runs mutation testing where it pays off, on critical modules or changed files, and triages every surviving mutant: missing boundary case, weak assertion, untested error path, equivalent mutant, or dead code. Survivors turn into small behavior-named tests, ignores carry a written reason, and CI gates only the modules that matter.

mutation-testing 167 lines

Testcontainers

Real databases in tests, started once and reset fast

Claude replaces database mocks and H2 stand-ins with the production engine in a container, started once per run rather than per test. It runs the real migrations, picks rollback, truncation, template databases or snapshots for isolation, gives each parallel worker its own database, and sets up GitHub Actions or GitLab Docker-in-Docker so the suite passes cold, shuffled and in parallel.

testcontainers 202 lines · 2 files

Unit Testing

Tests that survive refactors and catch real bugs

Claude stops writing tests that mirror the implementation. It lists observable behaviors first, picks boundary and error inputs on purpose, writes behavior-named arrange-act-assert tests with literal expected values, and breaks the code once to prove each new test can go red. Mocks stay at out-of-process edges, so the suite survives refactors.

unit-testing 188 lines · 2 files

15 more in the installer

These install with --category testing, the category zip or by name, but don't have a page of their own yet. Each is the same kind of complete SKILL.md playbook.

contract-testing
Catch breaking API changes before either side deploys
coverage-analysis
Find untested risk instead of chasing a percentage
cypress-e2e
Cypress tests that wait on aliases, never on timers
flaky-test-triage
Find flakes from CI data and fix the cause
fuzz-testing
Throw hostile bytes at parsers before attackers do
jest-testing
Jest suites with hoisting-safe mocks and honest snapshots
load-testing
A verdict and a bottleneck, not just a pile of numbers
mocking-strategy
Mock the edges, run everything you own
playwright-e2e
End-to-end tests that never need a sleep
property-based-testing
Let the generator find the edge case you missed
pytest-suites
Strict, fast pytest suites with clean fixtures
test-data-factories
Valid test data by default, only relevant fields shown
testing-library
Component tests that query like a screen reader
visual-regression
Screenshot tests that fail on real change, not noise
vitest-testing
Vitest suites with no leaking mocks or hung timers

Choosing Testing skills

Install the skills that match requests you make every week. Each one's name and description cost about 140 tokens on every turn, and Claude Code's skill listing holds roughly 13 of them on a 200K-token model before it starts dropping descriptions.

Start with

Install

Every Testing skill in one command

Installs all 21 into ~/.claude/skills/. Add --project after -- to install into the current repository instead.

Their descriptions add about 3,020 tokens to every turn, about 1.5× Claude Code's skill listing budget on a 200K-token model, so most of them would lose their descriptions. Listing the few you use is usually better. How many skills fit

The installer is a 101-line POSIX shell script. It downloads each skill you name from claudeskills.page and unpacks it into your skills folder, nothing else: no sudo, no telemetry. Every skill page shows the full SKILL.md, so you can read what you install first. Read install.sh

All 21 Testing skills

curl -fsSL https://claudeskills.page/install.sh \ | sh -s -- --category testing

Only the ones you want: list their names

curl -fsSL https://claudeskills.page/install.sh \ | sh -s -- api-testing benchmark-testing

Testing skills FAQ

Short answers about installing and using these skills. For the details, read the install guide.

How do I install every Testing skill at once?

Run curl -fsSL https://claudeskills.page/install.sh | sh -s -- --category testing to install all 21 into ~/.claude/skills/, adding --project to install into the current repository. Or download the bundle at https://claudeskills.page/downloads/category/testing.zip and unzip it yourself. To pick a few, pass their names instead: curl -fsSL https://claudeskills.page/install.sh | sh -s -- api-testing benchmark-testing mobile-e2e-testing.

Will installing all 21 Testing skills slow Claude Code down?

It won't slow responses, but it overflows the skill listing. Their names and descriptions add about 3,020 tokens to every turn, about 1.5 times Claude Code's listing budget on a 200K-token model, which is 1% of the context window. Past the budget, Claude Code drops the descriptions of the skills you invoke least, and a skill without its description rarely triggers on its own. Install the few you will use, or set the rest to "name-only" in skillOverrides so they stay available as /name.

Which Testing skill should I start with?

Start with API Testing, Benchmark Testing, Mobile E2E Testing. They cover the most common requests in this category; add the rest as your work calls for them.

esc