Pw Generate Tests — Testing skill for Claude Code
Generate Playwright tests based on user scenarios.
How to install Pw Generate Tests
Installs to ~/.claude/commands/nikiforovall-playwright-claude-code-demo-pw-generate-tests.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/NikiforovAll/playwright-claude-code-demo/HEAD/.claude/commands/pw-generate-tests.md -o ~/.claude/commands/nikiforovall-playwright-claude-code-demo-pw-generate-tests.md Restart Claude Code, or start a new session, for it to be picked up.
What Pw Generate Tests does
description: Generate Playwright tests based on user scenarios
Context
Your goal is to generate a Playwright test based on the provided scenario after completing all prescribed steps.
Your task
- You are given a scenario and you need to generate a playwright test for it. If the user does not provide a scenario, you will ask them to provide one.
- DO NOT generate test code based on the scenario alone.
- DO run steps one by one using the tools provided by the Playwright MCP.
- Onl
Alternatives in Testing
- Pua — Use when the user invokes /pua or asks for PUA mode, try-harder/retry help, change-approach coaching, completi 19.5k ★
- Test Scenarios — Create comprehensive test scenarios from user stories 7.8k ★
- Test TDD — Run when user calls /test-tdd 957 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Testgen
Discover Playwright scenarios or generate grounded specs
Test Gen
Generate comprehensive tests for a specified file with edge cases and error scenarios
Add E2e Test
Create Playwright end-to-end test for a complete user flow.
Codrive
User signals "drive it for me, I'll log in" — drive a multi-step browser flow via Playwright MCP, handing the
Ship And Verify
Build the Mori desktop release, prompt user to install + run targeted tests, then read JSONL log to verify the
Piv
Self-recursive development loop with real auth testing, live DB research, 100% test pass requirements, and MAN
Related Agents
Compass Implement
Validation test designer who writes Playwright E2E tests, manual checklists, and pressure test scenarios in pa
Mx Test Builder
Use this agent to write Playwright end-to-end tests for a built product. It takes the feature list and test sc
BDD Specialist
BDD specialist for Gherkin scenarios and acceptance tests. Turns user stories and acceptance criteria into Fea