Playwright Skill
Browser automation skill that auto-detects dev servers and runs custom Playwright scripts for testing and automation.
- CCM score
- 61 of 100
- skills.sh installs
- 320
- GitHub stars
- 7.2K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the full browser testing workflow: dev server detection, script generation in
/tmp, and execution throughrun.js - Includes example patterns for responsive viewports, login flows, form submission, broken-link checks, and error-handled screenshots
- Enforces a visible browser by default (
headless: false) and parameterized target URLs at the top of each script - Designed for testing websites and automating browser tasks, with network inspection left to chrome-devtools
Install
$ npx -y skills add tech-leads-club/agent-skills --skill playwright-skill -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
IMPORTANT - Path Resolution:
This skill can be installed in different locations (plugin system, manual installation, global, or project-specific). Before executing any commands, determine the skill directory based on where you loaded this SKILL.md file, and use that path in all commands below. Replace $SKILL_DIR with the actual discovered path.
Playwright Browser Automation
General-purpose browser automation skill. I'll write custom Playwright code for any automation task you request and execute it via the universal executor.
CRITICAL WORKFLOW - Follow these steps in order:
-
Auto-detect dev servers - For localhost testing, ALWAYS run server detection FIRST:
cd $SKILL_DIR && node -e "require('./lib/helpers').detectDevServers().then(servers => console.log(JSON.stringify(servers)))"- If 1 server found: Use it automatically, inform user
- If multiple servers found: Ask user which one to test
- If no servers found: Ask for URL or offer to help start dev server
-
Write scripts to /tmp - NEVER write test files to skill directory; always use
/tmp/playwright-test-*.js
Details
- Repository
- github.com/tech-leads-club/agent-skills
- Categories
- Browser Automation & Scraping, Testing & QA
- First seen
- Jun 3, 2026
Questions
What does the playwright-skill do for an agent?
It gives the agent complete browser automation with Playwright, including testing pages, filling forms, taking screenshots, checking responsive design, validating UX, testing login flows and checking links. It auto-detects running dev servers and writes its test scripts to /tmp so your project stays clean.
How do I install playwright-skill?
Run npx -y skills add tech-leads-club/agent-skills --skill playwright-skill -y in your project. After that, the agent can write and run browser scripts for any browser-based testing or automation task.
Should I use playwright-skill or chrome-devtools for page debugging?
Use chrome-devtools for quick page debugging or network inspection, since the playwright-skill description says not to use it for those tasks. Choose playwright-skill when you want to test websites, automate browser interactions or validate web functionality.
Which other browser skills sit alongside playwright-skill?
It is listed in the Browser Automation & Scraping category next to agent-browser, playwright-cli, anti-detect-browser and browser-act. Its focus is on Playwright-based testing and automation of any browser task.
More from tech-leads-club/agent-skills
All 22- Perf Astro303
- Coupling Analysis299
- Perf Web Optimization298
- Best Practices295
- Accessibility274
- Jira Assistant274
- Cursor Subagent Creator272
- Excalidraw Studio269
- Seo254
- Figma Implement Design248
- Tlc Spec Driven1.4K
- Subagent Creator971
- Technical Design Doc Creator669
- Security Best Practices406
- Domain Analysis389
- Nestjs Modular Monolith362
- Coding Guidelines358
- Mermaid Studio355
- Perf Lighthouse349
- Decomposition Planning Roadmap329
- Docs Writer322
Similar to Playwright Skill
More Browser Automation & ScrapingplaywrightSkillsecondsky/claude-skills1.1K installsBrowser automation and E2E testing with Playwright that auto-detects dev servers and writes scripts to /tmp.
playwright-visual-testingSkillmanutej/luxor-claude-marketplace1.4K installsBrowser automation and visual regression testing through the Playwright MCP server, covering navigation, snapshots, and interactions.
Playwright McpMCP servermicrosoft40.3K starsBrowser automation via accessibility snapshots: navigate, click, type, fill forms, and inspect network traffic.
PuppeteerMCP servermerajmehrabi492 starsBrowser automation through Puppeteer: navigate pages, click, fill forms, and capture screenshots.
browsing-with-playwrightSkillbilalmk/todo_correct1.7K installsBrowser automation skill that drives Playwright MCP to navigate pages, fill forms, and extract data.