Playwright Pro
Production-grade Playwright testing toolkit with 55 templates and smart reporting.
$skillfish add ~skills/playwright-pro Real Conversations
See how the Playwright Pro skill responds to actual requests. These are representative examples of what your AI agent will produce.
We just migrated from Cypress to Playwright on a Next.js 14 app. I need to get everything set up properly — config, CI, the works. We have 3 developers and push to main about 5 times a day.
I'll get your Playwright setup production-ready for a Next.js 14 team. This skill includes executable scripts — I'll need your permission before running them.
Here's what I'll configure:
1. playwright.config.ts — Next.js-optimized:
export default defineConfig({
testDir: './e2e',
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: process.env.CI ? 1 : undefined,
use: {
baseURL: 'http://localhost:3000',
trace: 'on-first-retry',
screenshot: 'only-on-failure',
},
webServer: {
command: 'npm run dev',
url: 'http://localhost:3000',
reuseExistingServer: !process.env.CI,
},
});
2. GitHub Actions workflow — uploads HTML report as artifact on every PR
3. Folder structure — e2e/fixtures/, e2e/pages/, e2e/test-data/
4. Golden rules enforced — no waitForTimeout, getByRole over CSS, web-first assertions
With 5 pushes/day I'd recommend retries: 2 in CI and trace: 'on-first-retry' — rich debugging without the overhead of tracing every pass.
Shall I run npm init playwright@latest and generate all files?
Get Started
How to install and use this skill in your preferred environment.
Skills are designed for AI coding agents (Claude Code, Cursor, Windsurf) and IDE-based workflows where the agent can read files, run scripts, and act on your codebase. Web-based AI can use the knowledge and frameworks, but won't have tool access.
Models & Context
Which AI models and context windows work best with this skill.
Recommended Models
Larger models produce more detailed, production-ready outputs.
Context Window
This skill's SKILL.md is typically 3–10 KB — fits in any modern context window.
All current frontier models (Claude, GPT, Gemini) support 100K+ context. Use the full window for complex multi-service work.
Pro tips for best results
Be specific
Include numbers — users, budget, RPS — so the skill can size the architecture.
Share constraints
Compliance needs, team size, and existing stack all improve the output.
Iterate
Start with a high-level design, then ask follow-ups for IaC, cost analysis, or security review.
Combine skills
Pair with companion skills below for end-to-end coverage.
Ready to try Playwright Pro?
Install the skill and start getting expert-level guidance in your workflow — any agent, any IDE.
$skillfish add ~skills/playwright-pro