NikiforovAll

Pw Generate Tests — Testing skill for Claude Code

Testing community

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

Terminal
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 Repository