playwright
Skill2 starsChanged 7 months agoMITView on GitHub
Playwright MCP browser automation workflow. Snapshot-first approach for page interaction, visual verification, form filling, and debugging.
55 other projects use a version of this.
Adopted by
Most recently taken up by
- hmjBill/skillstheir own version, first seen Oct 5, 2026
- fmind/dottheir own version, first seen Oct 5, 2026
- hencter/hencte.toptheir own version, first seen Oct 4, 2026
- HanksChen0110/skillstheir own version, first seen Oct 3, 2026
- hahuyhungdev/ai-coding-configtheir own version, first seen Oct 2, 2026
- Enjoyoer/loadouttheir own version, first seen Sep 30, 2026
Used with
Projects with it also use doc, web-perf and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
JetBrainsSkilldoc
Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts/render_docx.py` for visual checks.
Also in 5 projects that use this
OpenAISkillweb-perf
Analyzes web performance using Chrome DevTools MCP. Measures Core Web Vitals (FCP, LCP, TBT, CLS, Speed Index), identifies render-blocking resources, network dependency chains, layout shifts, caching issues, and accessibility gaps. Use when asked to audit, profile, debug, or optimize page load performance, Lighthouse scores, or site speed. Biases towards retrieval from current documentation over pre-trained knowledge.
Also in 4 projects that use this
CloudflareSkillturnstile-spin
Set up, repair, or migrate to Cloudflare Turnstile bot verification in an existing frontend and backend, including server-side Siteverify.
Also in 3 projects that use this
CloudflareSkillcloudflare-one
Design, configure, troubleshoot, or review Cloudflare One Zero Trust and SASE deployments. Use cloudflare-one-migrations for migration planning from other vendors.
Also in 3 projects that use this
kayamanSkilledit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
Also in 4 projects that use this
OpenAISkilldurable-objects
Create and review Cloudflare Durable Objects. Use when building stateful coordination (chat rooms, multiplayer games, booking systems), implementing RPC methods, SQLite storage, alarms, WebSockets, or reviewing DO code for best practices. Covers Workers integration, wrangler config, and testing with Vitest. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.
Also in 3 projects that use this
- +2 more from openai
Other versions55 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 55
- openai/openai-agents-python★ 30ksame name
- openai/skills★ 28ksame name
- freestylefly/wesight★ 941same name
- JetBrains/skills★ 360same name
- Mindrally/skills★ 266same name
- alexeykrol/claude-code-starter★ 194same name
- kandada/aacode★ 134same name
- magnus919/agent-skills★ 109same name
- matyasstoch/david-skills★ 59same name
- letitbk/claude-academic-setup★ 46same name
45 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- audit-vs-fix-disciplineSkill
- block-journeySkill
- clean-worktreesSkill
- debuggingSkill
- debug-rulesSkill
- debug-wpSkill
- figmaSkill
- handoffSkill
- module-depth-reviewSkill
- qa-checkSkill
- review-memorySkill
- swift-concurrency-reviewSkill
- test-planSkill
- tool-usageSkill
- vibe-userSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 7 are distinctive, and 10 are very specific to this project.
0
Common
Most of the 50 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Use this skill for browser automation tasks: visual testing, page interaction, form filling, screenshot comparison, and debugging rendered …
- Very specific: line 15
Use $ARGUMENTS as the URL to navigate to.
- Distinctive: line 17
Do NOT use this skill for writing test files or test code.
- Distinctive: line 34
When comparing implementation against Figma designs:
- Very specific: line 35
Call get_screenshot from the Figma MCP for the design reference
- Very specific: line 38
Call browser_take_screenshot to capture the current state
- Very specific: line 42
Don't declare "looks good" after a single screenshot.
- Distinctive: line 48
If multiple elements share the same label, provide context: parent container, position, or surrounding text
- Distinctive: line 49
After every action, take a snapshot to confirm the expected state change happened.
- Very specific: line 53
Use browser_fill_form to populate multiple fields at once instead of individual browser_type calls when possible
- Very specific: line 55
After form submission, use browser_wait_for to confirm the expected result (success message, redirect, etc.)
- Very specific: line 56
Check browser_console_messages if something fails silently
- Distinctive: line 60
When something goes wrong:
- Very specific: line 61
browser_console_messages: - Check for JavaScript errors - Very specific: line 62
browser_network_requests: - Look for failed API calls (4xx, 5xx) - Distinctive: line 66
Don't guess at the problem.
- Distinctive: line 80
Don't attempt to script login with hardcoded credentials
“Common” is measured: kept by at least 6 in 10 of the 50 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: playwright
When to Use
Use this skill for browser automation tasks: visual testing, page interaction, form filling, screenshot comparison, and debugging rendered pages. Invoke with /playwright [URL] to navigate to a specific page, or /playwright to start without a URL.
Use $ARGUMENTS as the URL to navigate to. If empty, ask the user what page to work with.
Do NOT use this skill for writing test files or test code. This is for live browser interaction via MCP tools.
Snapshot First, Screenshot Second
The Playwright MCP provides two ways to see page state. Use the right one:
browser_snapshot- Returns the accessibility tree. Use this for planning actions, finding interactive elements, and understanding page structure. Fast, deterministic, token-efficient. Always start here.browser_take_screenshot- Returns a visual image. Use this for visual verification, layout debugging, comparing against Figma designs, and documentation. You cannot perform actions based on screenshots alone. Usebrowser_snapshotfor that.
Default workflow:
browser_snapshotto understand what's on the page- Perform actions (
browser_click,browser_type,browser_fill_form, etc.) browser_snapshotagain to verify the action workedbrowser_take_screenshotonly when visual verification is needed
Visual Verification with Figma
When comparing implementation against Figma designs:
- Call
get_screenshotfrom the Figma MCP for the design reference - Navigate to the implementation with
browser_navigate - Match viewport dimensions to the Figma frame with
browser_resize - Call
browser_take_screenshotto capture the current state - Compare the two images. If they don't match, identify the specific deltas and fix them
- Repeat until visual parity is achieved
Don't declare "looks good" after a single screenshot. Compare carefully. If you can't tell, use browser_evaluate to measure computed styles and compare against the Figma spec values.
Be Specific with Actions
Vague instructions lead to wrong element clicks. When interacting with elements:
- Reference elements by their accessibility role and name from
browser_snapshotoutput (e.g., "Submit button in the login form", not just "the button") - If multiple elements share the same label, provide context: parent container, position, or surrounding text
- After every action, take a snapshot to confirm the expected state change happened. Don't assume it worked.
Form Interactions
- Use
browser_fill_formto populate multiple fields at once instead of individualbrowser_typecalls when possible - For dropdowns, use
browser_select_optionrather than clicking and typing - After form submission, use
browser_wait_forto confirm the expected result (success message, redirect, etc.) - Check
browser_console_messagesif something fails silently
Debugging
When something goes wrong:
browser_console_messages- Check for JavaScript errorsbrowser_network_requests- Look for failed API calls (4xx, 5xx)browser_evaluate- Inspect DOM state, computed styles, or run diagnostic JSbrowser_take_screenshot- See what the user would actually see
Don't guess at the problem. Use these tools to gather evidence first.
Token Efficiency
Large DOM trees consume significant tokens per browser_snapshot. Keep context manageable:
- Target specific sections of a page rather than full-page snapshots when possible
- For very large pages, use
browser_evaluateto query specific elements instead of snapshotting the entire tree - Close tabs and pages you're done with using
browser_close
Authentication
The Playwright MCP browser is visible. For authenticated pages:
- Navigate to the login page and let the user log in manually with their own credentials
- Cookies persist for the session duration, so you only need to do this once
- Don't attempt to script login with hardcoded credentials
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

