
Generate
Generates Playwright tests from a user story, URL, component, or feature with project-aware conventions.
- CCM score
- 72 of 100
- skills.sh installs
- 1.6K
- GitHub stars
- 30.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers test generation from a user story, component path, route, or feature name, with codebase exploration first
- Includes 10 template categories for auth, CRUD, checkout, search, forms, dashboards, settings, onboarding, API, and accessibility
- Enforces web-first assertions and locator priority, banning
waitForTimeout,$selectors, and unnecessaryevaluatecalls - Designed for teams using Playwright that want generated specs to match existing page objects, fixtures, and TypeScript or JavaScript conventions
Install
$ npx -y skills add alirezarezvani/claude-skills --skill generate -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Generate Playwright Tests
Generate production-ready Playwright tests from a user story, URL, component name, or feature description.
Input
$ARGUMENTS contains what to test. Examples:
"user can log in with email and password""the checkout flow""src/components/UserProfile.tsx""the search page with filters"
Steps
1. Understand the Target
Parse $ARGUMENTS to determine:
- User story: Extract the behavior to verify
- Component path: Read the component source code
- Page/URL: Identify the route and its elements
- Feature name: Map to relevant app areas
2. Explore the Codebase
Use the Explore subagent to gather context:
- Read
playwright.config.tsfortestDir,baseURL,projects - Check existing tests in
testDirfor patterns, fixtures, and conventions - If a component path is given, read the component to understand its props, states, and interactions
- Check for existing page objects in
pages/ - Check for existing fixtures in
fixtures/ - Check for auth setup (
auth.setup.tsorstorageStateconfig)
3. Select Templates
Check templates/ in this plugin for matching patterns:
Details
- Repository
- github.com/alirezarezvani/claude-skills
- Categories
- Testing & QA, Browser Automation & Scraping
- First seen
- Apr 16, 2026
More from alirezarezvani/claude-skills
All 259- Browserstack1.6K
- Extract1.6K
- Aws Solution Architect1.6K
- Promote1.6K
- Migrate1.6K
- Social Media Analyzer1.6K
- Testrail1.6K
- Senior Architect1.6K
- Status1.6K
- Loop1.6K
- Resume1.5K
- Setup1.5K
- Postmortem1.5K
- Senior Fullstack1.5K
- Board Prep1.5K
- Run1.5K
- Stress Test1.5K
- Challenge1.5K
- Spawn1.4K
- Board1.4K
- Hard Call1.4K
- Eval1.4K
- Merge1.4K
- Senior Security1.3K
Similar to Generate
More Testing & QA
coverageSkillalirezarezvani/claude-skills1.7K installsCoverage analysis that maps app surfaces against existing Playwright specs and ranks the gaps by business impact.
playwright-generate-testSkillgithub/awesome-copilot18.3K installsGenerate a Playwright TypeScript test from a scenario by first driving the flow through Playwright MCP.
pwPluginalirezarezvani/claude-skills30.3K starsProduction-grade Playwright testing toolkit. 9 skills, 3 agents, 55 templates, plus optional (manually enabled) TestRail/BrowserStack integrations. Generate tes
playwright-e2e-testingSkillfugazi/test-automation-skills-agents641 installsAuthoring and maintaining versioned Playwright TypeScript UI specs for browser user flows, with API-setup and mocking.
playwright-explore-websiteSkillgithub/awesome-copilot14.8K installsWebsite exploration skill that maps core user flows and locators through Playwright MCP for test generation.
playwright-skillSkilllambdatest/agent-skills559 installsGenerates production-grade Playwright E2E tests in five languages, running locally or on TestMu AI cloud.