/superskills:playwrightfrom Superskills
Generates, runs, and debugs Playwright end-to-end tests for web applications. Covers navigation, form interactions, assertions, screenshots, visual regression, and accessibility testing.
Ships in Superskills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate and run Playwright end-to-end tests for web applications.
npx playwright --version
If not installed:
npm init playwright@latest
# or add to existing project:
npm install -D @playwright/test && npx playwright install
Read the source files for the page/component to test. Understand routes, interactive elements, and expected behaviors.
Create a test file following the project's existing patterns and directory structure.
import { test, expect } from '@playwright/test';
test.describe('Feature Name', () => {
test.beforeEach(async ({ page }) => {
// Setup: navigate, authenticate, seed data
});
test('should do expected behavior', async ({ page }) => {
// Arrange
// Act
// Assert
});
});
npx playwright test <file> # Run specific test file
npx playwright test --headed # With visible browser
npx playwright test --ui # Playwright UI mode
npx playwright test --trace on # Capture trace for debugging
--trace on and open trace viewer: npx playwright show-trace trace.zipawait page.screenshot({ path: 'debug.png' })page.pause() for step-by-step debugging in headed modepage.goto(), URL assertions, redirect verificationpage.fill(), page.selectOption(), page.check(), multi-step wizardsexpect(page).toHaveURL(), expect(locator).toBeVisible(), toHaveText()page.screenshot(), full-page, element-levelexpect(page).toHaveScreenshot() with thresholds@axe-core/playwright, ARIA role selectors, keyboard navigationpage.route() for mocking, page.waitForResponse() for API callsdata-testid attributes for stable selectorstest.step() for complex multi-step flowsbaseURL in playwright.config.tspage.waitForResponse() for async navigationWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub ariadoss/superskills --plugin superskills48 skills in this plugin
/a11yAccessibility audit for frontend changes — WCAG 2.2 AA, screen-reader
compatibility, keyboard navigation, focus management, ARIA correctness, color
contrast, and reduced-motion. Static diff-scoped analysis (safe to auto-run) plus
an optional dynamic axe pass against a running app. Use when asked to "check
accessibility", "a11y audit", "screen reader check", "WCAG", "is this
accessible", "keyboard navigation", "ARIA review", or after heavy frontend work.
/articleExtract clean article content from URLs (blog posts, articles, tutorials) and save as readable text. Use when user wants to download, extract, or save an article/blog post from a URL without ads, navigation, or clutter./basic-reviewRead-only correctness review of pending changes, needing no external
install: correctness, security, reliability/performance and contract risk,
each finding cited as file:line with why it is wrong and a fix. The fallback
when gstack's /review is unavailable (not installed, or its install is
broken); /qa-full and /daily-qa call it automatically then. Applies a
vendored copy of gstack's pre-landing checklist. Use when asked for
a "basic review", a "quick review without gstack", or a review in a tool where
/review is missing. Not for quality cleanups (use /clean-code), and not the
first choice when /review is installed: /review goes deeper and applies fixes.
Other plugins' skills for the same job