/claude-kit:playwright-verification [page route, "smoke", "all", or "cross-browser"]from Claude Kit SDLC
Runs E2E tests after deployment to verify page loads, navigation, user interactions, and cross-browser compatibility. Supports smoke, all, cross-browser, route-specific, and mobile scopes.
Ships in Claude Kit SDLC. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run E2E verification for: $ARGUMENTS.
Determine test scope: Based on $ARGUMENTS, select the test scope according to the project's E2E framework configuration. Common patterns:
| Argument | Scope | Example Command Pattern |
|---|---|---|
smoke | All smoke tests | Run smoke test suite |
all | All E2E tests | Run all E2E tests |
cross-browser | All tests on multiple browsers | Run tests on Chromium + Firefox + WebKit |
/route | Tests for a specific page | Run tests for a specific route |
mobile | Mobile viewport tests | Run mobile-specific tests |
Ensure dev server is running: Check if the app is running at the configured URL (e.g., http://localhost:5173, http://localhost:3000, http://localhost:8000). If not, start it according to the project's setup.
Run the tests: Execute the project's E2E test suite with the selected scope.
If writing new tests, follow these conventions:
// Example using Playwright syntax - adapt to project's E2E framework
import { test, expect } from '@playwright/test';
test.describe('Page Name', () => {
test.beforeEach(async ({ page }) => {
await page.goto('/route');
});
test('loads successfully', async ({ page }) => {
await expect(page.locator('main#main-content')).toBeVisible();
});
test('displays key content', async ({ page }) => {
await expect(page.getByRole('heading', { name: 'Page Title' })).toBeVisible();
});
test('navigation works', async ({ page }) => {
await page.click('a[href="/next-page"]');
await expect(page).toHaveURL('/next-page');
});
test('user interaction flow', async ({ page }) => {
await page.getByRole('button', { name: 'Action' }).click();
await expect(page.getByText('Result')).toBeVisible();
});
});
| Priority | Selector Type | Example |
|---|---|---|
| 1 | Role-based | getByRole('button', { name: 'Submit' }) |
| 2 | Text content | getByText('Exception #1234') |
| 3 | Label association | getByLabel('Search') |
| 4 | Placeholder | getByPlaceholder('Filter by name') |
| 5 | Test IDs | [data-testid="metric-card"] |
| 6 | CSS/XPath | main#main-content (last resort) |
// Example using Playwright - adapt to project's framework
import { Page, Locator, expect } from '@playwright/test';
export class DashboardPage {
readonly page: Page;
readonly heading: Locator;
readonly metricCards: Locator;
readonly sidebar: Locator;
constructor(page: Page) {
this.page = page;
this.heading = page.getByRole('heading', { level: 1 });
this.metricCards = page.locator('[data-testid="metric-card"]');
this.sidebar = page.locator('aside');
}
async goto() {
await this.page.goto('/');
await expect(this.page.locator('main#main-content')).toBeVisible();
}
async getMetricCount() {
return this.metricCards.count();
}
async navigateTo(route: string) {
await this.page.click(`a[href="${route}"]`);
await expect(this.page).toHaveURL(route);
}
}
Check test results: Review the output for failures.
Report results: Output a summary table:
| Test Suite | Passed | Failed | Skipped | Duration |
|---|
For failures:
| Test | Error | File:Line | Suggested Fix |
|---|
Every route loads without errors:
Feature-specific user flows:
Example configuration (adapt to project's framework):
// Example using Playwright - adapt as needed
import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
testDir: './e2e',
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 1 : 0,
workers: process.env.CI ? 1 : undefined,
reporter: [['html'], ['list']],
use: {
baseURL: 'http://localhost:5173', // Adjust to project's dev server
trace: 'on-first-retry',
screenshot: 'only-on-failure',
},
projects: [
{ name: 'chromium', use: { ...devices['Desktop Chrome'] } },
{ name: 'firefox', use: { ...devices['Desktop Firefox'] } },
{ name: 'webkit', use: { ...devices['Desktop Safari'] } },
{ name: 'mobile-chrome', use: { ...devices['Pixel 5'] } },
{ name: 'mobile-safari', use: { ...devices['iPhone 13'] } },
{ name: 'tablet', use: { ...devices['iPad (gen 7)'] } },
],
webServer: {
command: 'npm run dev', // Adjust to project's dev command
url: 'http://localhost:5173', // Adjust to project's dev server
reuseExistingServer: !process.env.CI,
},
});
e2e/
smoke.spec.ts # Smoke tests covering all routes
pages/
dashboard.spec.ts # Page-specific tests
feature-a.spec.ts
feature-b.spec.ts
models/
DashboardPage.ts # Page Object Models
FeatureAPage.ts
cross-cutting/
auth.spec.ts # Authentication flows
responsive.spec.ts # Responsive behavior tests
navigation.spec.ts # Global navigation tests
fixtures/
test-helpers.ts # Shared test utilities
Structure E2E tests to match the application's route hierarchy. Identify critical user paths and create dedicated test suites for:
What SKILL.md sets; muted values are Claude Code's defaults
127 skills in this plugin
/accessibility-reviewUI accessibility (WCAG) review — keyboard operability, focus, ARIA semantics, color contrast, touch targets. Returns prioritized fixes. Distinct from performance/visual review./alembic-migrationsAlembic migration setup and patterns for async SQLAlchemy — async engine + run_sync in env.py, autogenerate, RLS/multi-tenant migrations. Use for alembic init, writing migrations, or debugging migration errors./anthropic-vertex-integrationClaude on Vertex AI via the AnthropicVertex SDK — lazy ADC client init, env-based project/region resolution, async helpers, backoff retry. Use when calling Claude via GCP Vertex AI (not direct Anthropic API)./api-and-interface-designStable API and interface design patterns. Use when designing REST/GraphQL endpoints, module boundaries, type contracts between modules or frontend/backend, or changing public interfaces./api-integrationWire the app to a backend API — data fetching, caching, error handling, loading states. Use when connecting to an endpoint, adding a fetch layer, or fixing API error and loading behaviour. React-query detail lives in tanstack-react-query-patterns./api-pagination-filtering-sortingHTTP query parameter conventions for pagination, filtering, sorting, and search with standardized response metadata. Use when designing list endpoints or building repositories that turn query params into SQL.npx claudepluginhub ajyadav013/claude-kit --plugin claude-kitOther plugins' skills for the same job