Key Takeaways
- Testing skills do two different jobs. Some teach the agent how to write tests (tdd, test-driven-development, vitest). Others let it check a running app in a browser (agent-browser, playwright-cli, webapp-testing).
- Pick one TDD skill, not three. Matt Pocock's, obra's and Addy Osmani's TDD skills all enforce red before green. They differ in tone and in how much they ask of you.
- Browser skills need a tool on your machine. agent-browser and playwright-cli each need their own CLI installed globally. webapp-testing needs Python and Playwright.
- Read the permissions. agent-browser and playwright-cli pre-approve their own commands through
allowed-tools, so the agent can run them without asking each time. - A shared test skill only helps if everyone runs the same version. Pin the exact commit in a lockfile that lives in the repo, so every agent and CI run follows the same rules.
What testing skills actually do
A Claude Code skill is a folder with a SKILL.md file. It holds instructions, and sometimes scripts or reference files, that the agent loads when a task matches the skill's description (what is SKILL.md).
Agents can already write tests. The trouble is what they write by default. They often write the code first and the tests after, mock the very thing under test, or assert whatever the code happens to return. They also say "all tests pass" without running them. The skills below fix that in two ways.
Test-writing skills give the agent a method. They force a failing test before any production code, decide where tests belong, and list the anti-patterns to avoid. Some are framework references, like the Vitest skill.
Browser testing skills give the agent eyes on a running app. They open pages, click, fill forms, take snapshots and report what broke. Each one wraps a browser tool that runs on your machine.
None of them is an MCP server. A skill gives the agent know-how. An MCP server gives it access to a system (Agent Skills vs MCP). Addy Osmani's TDD skill is the one entry here that points to an MCP server, Chrome DevTools MCP, for browser checks.
How we ranked these skills
We looked at the most-installed skills on skills.sh whose main job is writing tests or testing an app. We kept one skill per repository and used four public criteria. All numbers were collected on October 26, 2026.
- Adoption: all-time installs reported by skills.sh, the open leaderboard for Agent Skills, through its public search API. The leaderboard can show slightly different totals for the same skill.
- Maintainer: who maintains the skill, and the GitHub stars of its repository. Stars count the whole repository, not the individual skill.
- License clarity: whether the skill or its repository declares an open-source license.
- Scope fit: whether the skill writes tests, runs them in a browser, or checks the agent's own claims.
Adoption sets the order. The other criteria are shown for every skill so you can weigh them yourself. We left out skills tied to a single paid testing product, and copies of the same skill republished under other accounts. Skillpack isn't ranked. The Vibe Company, the author's company, builds Skillpack, the open-source tool used here to install and share skills. It only appears in the install commands.
The best Claude Code skills for testing in 2026
Install counts change every day, so treat this as a snapshot from October 26, 2026. Each command below points at the skill's real folder on GitHub. We ran every one through the Skillpack CLI in dry-run mode on that date. Add --scope project to install it in the current repo for Claude Code, Codex and OpenCode. Add --share-org to publish a copy to your Skillpack organization.
1. agent-browser
by Vercel Labs · vercel-labs/agent-browser
Best for exploratory testing and QA of a running web app
- 1.17Minstalls
- 44.6Krepo stars
- Apache 2.0license
skillpack install github:vercel-labs/agent-browser/skills/agent-browser --scope projectagent-browser is a browser automation CLI built for AI agents. The skill itself is short. It's a discovery stub. It tells the agent to install the CLI with npm i -g agent-browser && agent-browser install, then load the current instructions from it. Those instructions ship with each CLI version, so they stay in step with the tool.
Testing is one of its named jobs. Its description lists "test this web app", exploratory testing, dogfooding, QA and bug hunts. The command agent-browser skills get dogfood loads a dedicated guide for that. Other guides cover Electron apps, Slack and cloud browsers.
Two things to know before you install. Its allowed-tools line pre-approves the agent-browser commands, so the agent runs them without asking. Its description also tells the agent to prefer agent-browser over any built-in browser tool. Because the real instructions come from the CLI, your Skillpack lockfile pins the stub, not the guides.
Best suited for
teams who want the agent to click through a web app, find bugs and report them, without writing a test suite first.
2. tdd
by Matt Pocock · mattpocock/skills
Best for test-driven development with tests worth keeping
- 1.15Minstalls
- 303.5Krepo stars
- MITlicense
skillpack install github:mattpocock/skills/skills/engineering/tdd --scope projectMatt Pocock's tdd skill is short and opinionated. It treats TDD as a red to green loop and spends most of its words on what makes a test worth keeping. Tests check behavior through public interfaces, so they survive a refactor.
Its key idea is the seam: the public boundary where a test observes behavior. Before writing any test, the agent writes down the seams it wants to test and confirms them with you. No test goes on an unconfirmed seam. It also names three anti-patterns. Implementation-coupled tests break on a refactor. Tautological tests recompute the expected value the way the code does. Horizontal slicing writes every test before any code.
The loop is strict. One seam, one test and one minimal implementation per cycle. Refactoring is left out of the loop and handed to a review step, which the skill links to the repository's code-review skill. The folder adds two guides, on tests and on mocking.
Best suited for
developers who want TDD with a human in the loop, and who care more about useful tests than about test count.
3. test-driven-development (obra)
by Jesse Vincent (obra) · obra/superpowers
Best for strict test-first discipline the agent can't talk its way out of
- 260.6Kinstalls
- 305.2Krepo stars
- MITlicense
skillpack install github:obra/superpowers/skills/test-driven-development --scope projectThis skill comes from Superpowers, Jesse Vincent's collection of workflow skills. It's built around one "Iron Law": no production code without a failing test first. If the agent wrote code before the test, the skill tells it to delete that code and start over.
It walks through red, green and refactor, and makes the agent watch each test fail before writing code. Most of its length goes to the excuses an agent uses to skip a step. A table of common rationalizations answers each one, and a list of red flags tells the agent when to stop. The folder adds a guide on writing good tests.
Pair it with verification-before-completion from the same repository (253.2K installs). Its rule is "no completion claims without fresh verification evidence". The agent must run the command and read the output before it says anything passes.
Best suited for
teams whose agent keeps skipping tests or claiming success too early, and who want hard rules rather than advice.
4. playwright-cli
by Microsoft · microsoft/playwright-cli
Best for driving Playwright from the agent and generating tests
- 196.1Kinstalls
- 14.6Krepo stars
- Apache 2.0license
skillpack install github:microsoft/playwright-cli/skills/playwright-cli --scope projectThis is Microsoft's official skill for Playwright CLI, a command-line version of Playwright made for coding agents. The project's README says CLI commands are more token-efficient than the Playwright MCP server. They don't push large tool schemas or page trees into the agent's context.
The agent takes a snapshot of the page and gets a short reference for each element. It then acts on them with commands like click, fill and type. The skill covers tabs, storage, network mocking, tracing and video. Its reference files include a guide to test generation (plan, generate, heal) and one on writing Playwright tests. Another covers attaching screenshots and videos to pull requests.
It needs Node.js 18 or newer and npm install -g @playwright/cli@latest. Like agent-browser, its allowed-tools line pre-approves playwright-cli and npx playwright commands.
Best suited for
teams already on Playwright who want the agent to explore a page and turn what it finds into real test files.
5. webapp-testing
by Anthropic · anthropics/skills
Best for testing a local web app with Python Playwright scripts
- 188.4Kinstalls
- 183.8Krepo stars
- Apache 2.0license
skillpack install github:anthropics/skills/skills/webapp-testing --scope projectwebapp-testing is Anthropic's own skill for checking a web app that runs on your machine. The agent writes native Python Playwright scripts rather than calling a separate CLI. A short decision tree tells it what to do: read static HTML directly, or start the server and inspect the page first.
For dynamic apps, it follows a "reconnaissance-then-action" pattern. It waits for the network to go idle, takes a screenshot or reads the DOM, finds the right selectors, and only then acts. The skill warns that skipping the wait is a common mistake.
The folder ships a helper, scripts/with_server.py, that starts one or more dev servers, runs your script and shuts them down. The Skillpack CLI flags it as an executable before copying it. You need Python and Playwright installed.
Best suited for
developers who want quick checks of a frontend and its backend together, and who are comfortable with Python scripts.
6. playwright-best-practices
by Currents · currents-dev/playwright-best-practices-skill
Best for writing and maintaining a Playwright test suite in TypeScript
- 98.5Kinstalls
- 411repo stars
- MITlicense
skillpack install github:currents-dev/playwright-best-practices-skill/playwright-best-practices --scope projectCurrents, which makes a dashboard for Playwright testing, publishes this skill as a free reference. It's the largest folder on this list, with more than 50 guides. They cover locators, assertions, fixtures, page objects, authentication, network mocking, flaky tests, CI providers and sharding. Framework guides cover React, Next.js, Vue and Angular.
It's activity-based. The SKILL.md maps tasks to guides, so the agent opens only the file it needs. A task like fixing a flaky test pulls in the debugging guides, not the CI ones. Testing patterns go beyond end-to-end tests: component, API, visual regression, accessibility, Electron and browser extensions.
Note the gap between its installs and its 411 repository stars. Most of its adoption seems to come from people installing it through skills.sh rather than starring the repo.
Best suited for
teams with a growing Playwright suite who want the agent to follow consistent patterns across every test file.
7. test-driven-development (Addy Osmani)
by Addy Osmani · addyosmani/agent-skills
Best for bug fixes that start with a failing regression test
- 61.9Kinstalls
- 110.6Krepo stars
- MITlicense
skillpack install github:addyosmani/agent-skills/skills/test-driven-development --scope projectAddy Osmani's TDD skill covers the same red-green loop, then adds a test strategy around it. It starts by having the agent find the repository's own test commands, and never assume a default like npm test.
Its "Prove-It Pattern" is the part to steal. When a bug is reported, the agent doesn't start with the fix. It writes a test that reproduces the bug, watches it fail, fixes the code, then runs the full suite. The skill also describes a test pyramid with about 80% unit tests, and prefers real implementations over mocks.
For browser checks it points to Chrome DevTools MCP. The same repository has a separate browser-testing-with-devtools skill (58.4K installs) that requires that MCP server.
Best suited for
teams who want one skill that covers both the TDD loop and how many tests of each kind to write.
8. vitest
by Anthony Fu · antfu/skills
Best for writing Vitest tests against the current Vitest API
- 43.7Kinstalls
- 6.0Krepo stars
- MITlicense
skillpack install github:antfu/skills/skills/vitest --scope projectAnthony Fu generates this skill from the vitest-dev/vitest repository. Its GENERATION.md file records the exact source commit. The current version is based on Vitest 5.1.0-beta.1 and was generated on October 23, 2026.
It doesn't teach a method. It's a reference, so the agent writes tests with the real API rather than one it half remembers. The SKILL.md is a set of tables that point to about 20 reference files. They cover configuration, the test API, hooks, mocking, coverage, snapshots, filtering, concurrency, type testing and benchmarking.
It pairs well with one of the TDD skills above. The TDD skill decides when to write a test, and this one makes sure the Vitest code is right.
Best suited for
TypeScript and Vite projects that use Vitest and want fewer outdated API calls in agent-written tests.
A few skills just missed the list. Samber's golang-testing (43.4K installs) covers testing in Go. Seth Hobson's python-testing-patterns (37.2K) covers pytest and fixtures, and his e2e-testing-patterns (24.4K) covers end-to-end tests.
Side-by-side comparison
Ranked by adoption, with maintainer, license and scope shown for each skill. Data from skills.sh and GitHub, collected October 26, 2026. Stars are for each skill's whole GitHub repository.
| Skill (maintainer) | Installs (skills.sh) | Repo stars (GitHub) | License | Focus |
|---|---|---|---|---|
1agent-browserVercel Labs | 1.17M | 44.6K | Apache 2.0 | Browser automation CLI |
2tddMatt Pocock | 1.15M | 303.5K | MIT | Red-green loop and test quality |
3obra-test-driven-developmentJesse Vincent (obra) | 260.6K | 305.2K | MIT | The Iron Law of TDD |
4playwright-cliMicrosoft | 196.1K | 14.6K | Apache 2.0 | Official Playwright CLI |
5webapp-testingAnthropic | 188.4K | 183.8K | Apache 2.0 | Local app checks in Python |
6playwright-best-practicesCurrents | 98.5K | 411 | MIT | Playwright reference library |
7addyosmani-test-driven-developmentAddy Osmani | 61.9K | 110.6K | MIT | TDD with a test strategy |
8vitestAnthony Fu | 43.7K | 6.0K | MIT | Vitest reference |
Which testing skill fits your use case
| Use case | Start with | Add | Why |
|---|---|---|---|
| New features built test-first | tdd (Matt Pocock) | vitest | Agreed seams and vertical slices, with the current Vitest API |
| An agent that skips tests or claims success too early | test-driven-development (obra) | verification-before-completion | Hard rules before code, and proof before any success claim |
| Fixing a reported bug | test-driven-development (Addy Osmani) | tdd (Matt Pocock) | A failing regression test first, then the fix |
| QA pass on a running web app | agent-browser | webapp-testing | Exploratory testing in a real browser, plus scripted checks |
| Growing a Playwright test suite | playwright-best-practices | playwright-cli | Consistent patterns, plus an agent that can explore and generate tests |
| Local frontend and backend checked together | webapp-testing | verification-before-completion | Servers started for you, and results read before anything is called done |
How to install and share these skills with your team
Each command above installs a public GitHub folder with the Skillpack CLI, without an account. The CLI resolves the branch or tag to an exact commit, shows you the source and any executable files, and asks before copying anything. It never runs package scripts. With --scope project, the skill lands in .agents/skills/, which OpenCode reads, with managed copies in .claude/skills/ for Claude Code and .codex/skills/ for Codex. The exact commit is recorded in .companion/skills.lock.json. Commit that lockfile, and skillpack sync --frozen gives every teammate and every CI run the same files (full install guide).
Version drift matters more for testing skills than most. Say one developer's agent follows last month's TDD rules and another follows today's. Your test suite ends up with two styles, and reviews get harder.
A skill can also be installed by hand: copy its folder into .claude/skills/ in your repository, and Claude Code picks it up. Nothing records which commit you copied, though, so keeping teammates on the same version is up to you.
To share a skill with your organization, add --share-org. Once the CLI is signed in to your Skillpack workspace, it publishes a copy there and keeps the license and GitHub provenance. It refuses to overwrite an organization skill that already has the same name:
skillpack install github:mattpocock/skills/skills/engineering/tdd --scope project --share-org
Skillpack is open source (MIT) and can run on your own infrastructure. For other use cases, see our rankings for code review and frontend design, the overall top Claude Code skills, or write your own skill.
FAQ
What is the best Claude Code skill for testing?
By installs on skills.sh, it's Vercel Labs' agent-browser, with 1.17M installs on October 26, 2026, for testing a running app in a browser. For writing tests, Matt Pocock's tdd skill leads with 1.15M installs.
Is there a TDD skill for Claude Code?
Yes, several. Matt Pocock's tdd, obra's test-driven-development from Superpowers and Addy Osmani's test-driven-development all make the agent write a failing test before the code. Pick one, since they cover the same loop.
How do I install a testing skill in Claude Code?
Run skillpack install github:owner/repo/path, for example skillpack install github:mattpocock/skills/skills/engineering/tdd. Add --scope project to install it in the current repository. You can also copy the skill's folder into .claude/skills/ by hand.
Should I use Playwright MCP or a Playwright skill?
Microsoft's playwright-cli README says the CLI with its skill is more token-efficient for coding agents. It keeps MCP for long, stateful sessions such as exploratory automation or self-healing tests. See Agent Skills vs MCP.
Do these testing skills work with Codex?
They're plain SKILL.md folders, so they work in any agent that reads Agent Skills. With --scope project, the Skillpack CLI also writes a copy to .codex/skills/. See how to use skills in Codex.
What licenses do these skills use?
Five declare MIT and three use Apache 2.0. For webapp-testing, the Apache 2.0 license sits in the skill folder, while the anthropics/skills repository declares none.
How do I keep the same testing skills across my team?
Pin them to an exact commit in a lockfile committed to the repo, and share them through one workspace. See how to share Claude Code skills with your team.
Try Skillpack for free
Once you've picked your TDD rules and your browser tool, the next step is making sure everyone uses the same ones. Skillpack installs any public skill from GitHub with one command and pins the exact commit in a lockfile you can commit. It shares skills with your whole organization, with license and source kept. It's open source. Create your free Skillpack workspace and share your first skill in a few minutes.