browser-test-skills

A set of Claude Code skills that provides a complete E2E browser test pipeline using Playwright MCP.
What It Does
Four skills that form a pipeline for creating, stabilizing, compiling, and running E2E browser tests:
Author → Refiner → Compiler → Playwright CI
| Skill | Purpose |
|---|
browser-test:author | Turns a vague feature description into a structured markdown test case via exploratory browser runs |
browser-test:refiner | Stabilizes a test case by running it repeatedly, fixing flaky steps, and updating conventions until N consecutive passes |
browser-test:runner | Executes a stable test case exactly as written using Claude and playwright-mcp, reports pass/fail with evidence. Requires LLM to run tests. |
browser-test:compiler | Converts a stable markdown test case into a Playwright .spec.ts file via guided browser replay. No LLM dependency to run tests. |
Installation
The skills ship as a Claude Code plugin. Install them from the marketplace defined in this repo.
From the marketplace (recommended)
Inside a Claude Code session, add the marketplace and install the plugin:
/plugin marketplace add https://github.com/Autodesk/claude-browser-test-skills
/plugin install browser-test@browser-test-skills
browser-test is the plugin name; browser-test-skills is the marketplace name (from .claude-plugin/marketplace.json). After installing, the four skills are available as browser-test:author, browser-test:refiner, browser-test:compiler, and browser-test:runner.
From a local checkout (development)
To try the skills without publishing, add the local directory as a marketplace:
/plugin marketplace add /path/to/claude-browser-test-skills
/plugin install browser-test@browser-test-skills
Validate the plugin
Before publishing changes, validate the manifest and skill frontmatter from the repo root:
claude plugin validate .
Getting Started
The fastest way to get comfortable with the skill pipeline is to try it on a public demo app before writing tests against your own product. This removes all environment friction — no credentials to set up, no conventions files to write, no dev server to run — so you can focus entirely on learning how the skills work together.
Try it on saucedemo.com
Saucedemo is a purpose-built demo e-commerce site designed specifically for practising test automation. It has login, product listing, cart, and checkout flows that are realistic enough to be meaningful but simple enough to learn on. Login credentials are documented on the site's main page.
Step 1 — Explore manually first
Before invoking any skill, spend a few minutes on the site yourself. Log in, browse the products, add something to the cart, and complete a checkout. Pick one simple, end-to-end flow you'd like to turn into a test — for example, adding a specific item to the cart and checking out as a standard user.
Doing this yourself first means you arrive at the authoring step with a clear mental model of the expected behaviour. The author skill will produce a much sharper test case when you can describe the flow precisely rather than asking it to discover one from scratch.
Step 2 — Author the test (directed)
Once you've chosen a flow, describe it directly:
"Write a test that verifies a standard user can add an item to the cart and complete checkout on https://www.saucedemo.com"
Step 3 — Run the full pipeline
"Refine the saucedemo checkout test" → browser-test:refiner
"Compile the saucedemo checkout test" → browser-test:compiler
npx playwright test → runs the generated .spec.ts in CI
After one full pass on saucedemo you'll have the muscle memory for the workflow. Then move on to your real product — set up your project structure and conventions files as described in Project Setup, and start authoring tests that reflect your team's actual domain knowledge.
Later — Exploratory authoring
Once you're comfortable with the pipeline, the author skill can also drive discovery. Ask it to explore the site and propose a full test plan:
"Do exploratory testing on https://www.saucedemo.com, discover what flows are present, and suggest a set of tests broken down by functional area."