Playwright Testing
chongdashu/vibejam-starter-pack
Plan, implement, and debug frontend tests: unit/integration/E2E/visual/a11y.
The complete QA skill for Claude Code — turn Claude into an expert QA engineer that picks the right test type, writes reliable Playwright, Cypress, and pytest tests, eliminates flaky tests, enforces…
$ npx skills add PramodDutta/qaskills --skill claude-code-qa -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install PramodDutta/qaskills claude-code-qa --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/PramodDutta/qaskills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packs/qa-essentials/skills/claude-code-qa .claude/skills/claude-code-qa && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "claude-code-qa" agent skill from https://github.com/PramodDutta/qaskills/tree/main/packs/qa-essentials/skills/claude-code-qa into .claude/skills/claude-code-qa/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "claude-code-qa", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/PramodDutta/qaskills/tree/main/packs/qa-essentials/skills/claude-code-qaType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add PramodDutta/qaskills --skill claude-code-qa -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install PramodDutta/qaskills claude-code-qa --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PramodDutta/qaskills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/packs/qa-essentials/skills/claude-code-qa .agents/skills/claude-code-qa && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "claude-code-qa" agent skill from https://github.com/PramodDutta/qaskills/tree/main/packs/qa-essentials/skills/claude-code-qa into .agents/skills/claude-code-qa/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "claude-code-qa", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PramodDutta/qaskills --skill claude-code-qa -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install PramodDutta/qaskills claude-code-qa --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PramodDutta/qaskills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/packs/qa-essentials/skills/claude-code-qa .cursor/skills/claude-code-qa && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "claude-code-qa" agent skill from https://github.com/PramodDutta/qaskills/tree/main/packs/qa-essentials/skills/claude-code-qa into .cursor/skills/claude-code-qa/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "claude-code-qa", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/PramodDutta/qaskills.git --path packs/qa-essentials/skills/claude-code-qa--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add PramodDutta/qaskills --skill claude-code-qa -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install PramodDutta/qaskills claude-code-qa --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PramodDutta/qaskills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/packs/qa-essentials/skills/claude-code-qa .gemini/skills/claude-code-qa && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "claude-code-qa" agent skill from https://github.com/PramodDutta/qaskills/tree/main/packs/qa-essentials/skills/claude-code-qa into .gemini/skills/claude-code-qa/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "claude-code-qa", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install PramodDutta/qaskills claude-code-qaInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add PramodDutta/qaskills --skill claude-code-qa -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/PramodDutta/qaskills.git skills-src && mkdir -p .github/skills && cp -r skills-src/packs/qa-essentials/skills/claude-code-qa .github/skills/claude-code-qa && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "claude-code-qa" agent skill from https://github.com/PramodDutta/qaskills/tree/main/packs/qa-essentials/skills/claude-code-qa into .github/skills/claude-code-qa/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "claude-code-qa", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PramodDutta/qaskills --skill claude-code-qa -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install PramodDutta/qaskills claude-code-qa --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PramodDutta/qaskills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/packs/qa-essentials/skills/claude-code-qa .opencode/skills/claude-code-qa && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "claude-code-qa" agent skill from https://github.com/PramodDutta/qaskills/tree/main/packs/qa-essentials/skills/claude-code-qa into .opencode/skills/claude-code-qa/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "claude-code-qa", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
claude-code-qaThe complete QA skill for Claude Code — turn Claude into an expert QA engineer that picks the right test type, writes reliable Playwright, Cypress, and pytest tests, eliminates flaky tests, enforces…
Claude Code QA is an agent skill from PramodDutta/qaskills. The complete QA skill for Claude Code — turn Claude into an expert QA engineer that picks the right test type, writes reliable Playwright, Cypress, and pytest tests, eliminates flaky tests, enforces coverage, and wires up CI. Claude Code QA testing done right.
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering QA and bug reports, Failing and flaky tests and End-to-end testing. It works with Playwright, Cypress and pytest. The repository describes itself as: QA Skills Directory QA Skills is a curated directory of testing-specific skills for AI coding agents (Claude Code, Cursor, Copilot, etc.). The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 1d2a092. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript and python).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Claude Code QA loads about 2.3k tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 1,013 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from PramodDutta/qaskills at commit 1d2a092, republished under its MIT licence (© PramodDutta). 1,013 words, ~2,280 tokens.
.claude/skills/claude-code-qa/SKILL.md (or your agent's skills folder).You are an expert QA engineer working inside Claude Code (and other AI coding agents). When the user asks you to write tests, add test coverage, fix flaky tests, set up a testing framework, or review existing tests, follow this skill. Your job is not just to make tests pass — it is to produce tests that are reliable, meaningful, and maintainable, and that actually catch regressions.
Before introducing any tool, detect what the project already uses (check package.json,
lockfiles, config files, requirements.txt/pyproject.toml). Do not add a second framework.
| Stack you find | Default test tools |
|---|---|
| Node/TS web app, has Vite | Vitest (unit), Playwright (E2E) |
| Node/TS, Jest already present | Jest (unit), Playwright or Cypress (E2E) |
| React components | React Testing Library + Vitest/Jest |
| Python | pytest (+ pytest-mock, pytest-cov) |
| REST/GraphQL API | Playwright request / supertest / pytest + httpx |
If the project has no framework, recommend one, explain the choice in one sentence, then set
it up minimally (config + one example test + a test script) rather than a giant scaffold.
Locators (E2E): prefer user-facing, stable locators. Order of preference: role/label/text →
data-testid → CSS. Never depend on auto-generated classes, deep CSS chains, or DOM position.
// Good — resilient to markup changes
await page.getByRole('button', { name: 'Sign in' }).click();
await expect(page.getByRole('alert')).toHaveText('Invalid credentials');
// Bad — brittle, breaks on any restyle
await page.click('div.css-1x9f7 > button:nth-child(2)');Waiting: never use fixed sleeps. Use the framework's auto-waiting / web-first assertions.
// Bad: await page.waitForTimeout(3000);
// Good: Playwright retries this assertion until it passes or times out
await expect(page.getByTestId('cart-count')).toHaveText('2');Structure: Arrange–Act–Assert. One logical behavior per test. Factor shared setup into fixtures, not copy-paste.
def test_discount_applies_to_eligible_cart():
cart = Cart(items=[Item(price=100)]) # Arrange
cart.apply_coupon("SAVE10") # Act
assert cart.total() == 90 # AssertPage Object Model (E2E): wrap pages/flows in small objects so selectors live in one place and tests read like prose. Keep assertions in the test, actions in the object.
Flakiness is the #1 reason teams abandon a suite. Hunt these causes:
vi.useFakeTimers(), freezegun, Playwright clock).responses); only hit real services in a small,
isolated contract/E2E tier.If a test is irredeemably flaky and blocking, quarantine it (mark, track, fix) rather than leaving it to randomly fail the build — but treat quarantine as debt, not a destination.
// Playwright APIRequestContext — fast, no browser
test('rejects unauthenticated request', async ({ request }) => {
const res = await request.get('/api/orders');
expect(res.status()).toBe(401);
});Cover: status codes, schema/shape of the body, auth/authorization, validation errors, pagination, and idempotency. For contracts between services, add consumer-driven contract tests (Pact) so a provider change can't silently break a consumer.
test script and run it on every PR. Fail the build on any failure.Before declaring tests done, self-review against this checklist:
sleep/waitForTimeout? No real external network in unit tests?try/except: pass that hides failures.import { test, expect } from '@playwright/test';
test.describe('Checkout', () => {
test('a logged-in user can buy an in-stock item', async ({ page }) => {
await page.goto('/products/widget-123');
await page.getByRole('button', { name: 'Add to cart' }).click();
await expect(page.getByTestId('cart-count')).toHaveText('1');
await page.getByRole('link', { name: 'Checkout' }).click();
await page.getByLabel('Card number').fill('4242 4242 4242 4242');
await page.getByRole('button', { name: 'Pay' }).click();
await expect(page.getByRole('heading', { name: 'Order confirmed' })).toBeVisible();
await expect(page.getByTestId('order-id')).not.toBeEmpty();
});
});This test uses stable role/label locators, web-first assertions (no sleeps), covers a real revenue-critical journey, and asserts concrete post-conditions — exactly the kind of test this skill exists to produce.
When you do QA inside Claude Code: understand the contract, pick the right level, respect the existing framework, write deterministic tests with stable locators and real assertions, kill flakiness at the source, make coverage meaningful, and gate it in CI. Reliable tests the team trusts — that is the goal.
© PramodDutta, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in packs/qa-essentials/skills/claude-code-qa of PramodDutta/qaskills.
Open the folder on GitHubat commit 1d2a092
Claude Code QA next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Claude Code QA this skillPramodDutta/qaskills | 232 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Playwright Testingchongdashu/vibejam-starter-pack | 149 | — | ~2.1k | Automated safety check: Pass | None | |
| Test Migrationpetrkindlmann/qa-skills | 163 | — | ~5.3k | Automated safety check: Pass | MIT | |
| Testing Patternssoftspark/ai-toolkit | 179 | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Playwright Testingchongdashu/vibejam-starter-pack | 149 | — | ~2.2k | Automated safety check: Pass | None | |
| E2E TestingOpentrons/opentrons | 521 | — | ~3k | Automated safety check: Notes | Apache-2.0 |
chongdashu/vibejam-starter-pack
Plan, implement, and debug frontend tests: unit/integration/E2E/visual/a11y.
petrkindlmann/qa-skills
Migrate a test suite from one framework to another, incrementally and without losing coverage.
softspark/ai-toolkit
Testing strategy: pyramid, AAA, mocks/fakes/stubs, flaky tests, coverage.
chongdashu/vibejam-starter-pack
Plan, implement, and debug frontend tests: unit/integration/E2E/visual/a11y.
Opentrons/opentrons
E2E testing conventions for Protocol Designer and Labware Library using Playwright + pytest in e2e-testing/.
withkynam/vibecode-pro-max-kit
Covers web testing from unit to E2E, load, visual, accessibility and security checks, with Playwright, Vitest and k6 guides plus a Playwright setup script.
PramodDutta/qaskills
A skill your agent uses when adding or editing QA skills in seed-skills/ or getting them onto the live qaskills.sh catalog, e.g.
PramodDutta/qaskills
A skill your agent uses when publishing SEO blog articles to qaskills.sh, e.g.
PramodDutta/qaskills
A skill your agent uses when deploying qaskills.sh to production, verifying whether a deploy landed, or when a push to main did not show up on the live site, e.g.
PramodDutta/qaskills
Comprehensive RESTful API testing patterns covering HTTP methods, status codes, request/response validation, authentication, error handling, and contract testing.
PramodDutta/qaskills
End-to-end testing skill using Cypress for web applications, covering custom commands, network intercepts, fixtures, cy.session, and component testing patterns.
PramodDutta/qaskills
Make Claude Code write and maintain end-to-end tests like a senior SDET — Playwright and Cypress flows with stable locators, the Page Object Model, fixtures, reused auth state, network mocking, and…
Works with
Categories
The complete QA skill for Claude Code — turn Claude into an expert QA engineer that picks the right test type, writes reliable Playwright, Cypress, and pytest tests, eliminates flaky tests, enforces…. Claude Code QA is an agent skill from PramodDutta/qaskills. The complete QA skill for Claude Code — turn Claude into an expert QA engineer that picks the right test type, writes reliable Playwright, Cypress, and pytest tests, eliminates flaky tests, enforces coverage, and wires up CI.
Claude Code QA fits situations like: tasks that involve QA and bug reports; tasks that involve Failing and flaky tests; tasks that involve End-to-end testing.
Run `npx skills add PramodDutta/qaskills --skill claude-code-qa -a claude-code`. Or copy the skill folder (packs/qa-essentials/skills/claude-code-qa in PramodDutta/qaskills) into .claude/skills/claude-code-qa in your project. Claude Code loads it when a task matches its description.
Run `npx skills add PramodDutta/qaskills --skill claude-code-qa -a codex`. Or copy the skill folder (packs/qa-essentials/skills/claude-code-qa in PramodDutta/qaskills) into .agents/skills/claude-code-qa in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PramodDutta/qaskills --skill claude-code-qa -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/claude-code-qa, .gemini/skills/claude-code-qa, .github/skills/claude-code-qa and .opencode/skills/claude-code-qa in your project.
SKILL.md names no scripts, command-line tools or credentials: Claude Code QA is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Claude Code QA is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Claude Code QA: Playwright Testing (chongdashu/vibejam-starter-pack, 149 stars), Test Migration (petrkindlmann/qa-skills, 163 stars), Testing Patterns (softspark/ai-toolkit, 179 stars) and Playwright Testing (chongdashu/vibejam-starter-pack, 149 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
PramodDutta (a GitHub user) maintains it in PramodDutta/qaskills, which has 232 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 4, 2026.
Source: PramodDutta/qaskills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.