Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/stuartshields-playwright
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/playwright
Tools it pre-approves 27
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Read,Grep,Glob,Bash,Write,Edit,mcp__playwright__browser_navigate,mcp__playwright__browser_snapshot,mcp__playwright__browser_take_screenshot,mcp__playwright__browser_click,mcp__playwright__browser_type,mcp__playwright__browser_fill_form,
Show 15 more
mcp__playwright__browser_select_option,mcp__playwright__browser_press_key,mcp__playwright__browser_hover,mcp__playwright__browser_evaluate,mcp__playwright__browser_console_messages,mcp__playwright__browser_network_requests,mcp__playwright__browser_wait_for,mcp__playwright__browser_resize,mcp__playwright__browser_close,mcp__playwright__browser_tabs,mcp__playwright__browser_drag,mcp__playwright__browser_handle_dialog,mcp__playwright__browser_file_upload,mcp__playwright__browser_navigate_back,mcp__playwright__browser_run_code
What's inside
- Skill name
playwright- Description
- Playwright MCP browser automation workflow. Snapshot-first approach for page interaction, visual verification, form filling, and debugging.
- License
- MIT
- Allowed tools
- Read,, Grep,, Glob,, Bash,, Write,, Edit,, mcp__playwright__browser_navigate,, mcp__playwright__browser_snapshot,, mcp__playwright__browser_take_screenshot,, mcp__playwright__browser_click,, mcp__playwright__browser_type,, mcp__playwright__browser_fill_form,, mcp__playwright__browser_select_option,, mcp__playwright__browser_press_key,, mcp__playwright__browser_hover,, mcp__playwright__browser_evaluate,, mcp__playwright__browser_console_messages,, mcp__playwright__browser_network_requests,, mcp__playwright__browser_wait_for,, mcp__playwright__browser_resize,, mcp__playwright__browser_close,, mcp__playwright__browser_tabs,, mcp__playwright__browser_drag,, mcp__playwright__browser_handle_dialog,, mcp__playwright__browser_file_upload,, mcp__playwright__browser_navigate_back,, mcp__playwright__browser_run_code
- Instructions
- 74 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves some shell commands
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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. Use `browser_snapshot` for that. **Default workflow:** 1. `browser_snapshot` to understand what's on the page 2. Perform actions (`browser_click`, `browser_type`, `browser_fill_form`, etc.) 3. `browser_snapshot` again to verify the action worked 4. `browser_take_screenshot` only when visual verification is needed ## Visual Verification with Figma When comparing implementation against Figma designs: 1. Call `get_screenshot` from the Figma MCP for the design reference 2. Navigate to the implementation with `browser_navigate` 3. Match viewport dimensions to the Figma frame with `browser_resize` 4. Call `browser_take_screenshot` to capture the current state 5. Compare the two images. If they don't match, identify the specific deltas and fix them 6. 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_snapshot` output (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_form` to populate multiple fields at once instead of individual `browser_type` calls when possible - For dropdowns, use `browser_select_option` rather than clicking and typing - After form submission, use `browser_wait_for` to confirm the expected result (success message, redirect, etc.) - Check `browser_console_messages` if something fails silently ## Debugging When something goes wrong: 1. **`browser_console_messages`** - Check for JavaScript errors 2. **`browser_network_requests`** - Look for failed API calls (4xx, 5xx) 3. **`browser_evaluate`** - Inspect DOM state, computed styles, or run diagnostic JS 4. **`browser_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_evaluate` to 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
From stuartshields/claude-setup, MIT.
More from stuartshields/claude-setup
- 0.507score
swift-concurrency-review
stuartshields
Use when reviewing Swift 5.5+ code containing `await`, `actor`, `Task { }`, `@MainActor`, `@unchecked Sendable`, cancellable timer/deadline handles, or…
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
module-depth-review
stuartshields
Use when reviewing whether module boundaries earn their keep — finding shallow modules that should be consolidated into deep ones.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
debugging
stuartshields
Structured debugging protocol.
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
clean-worktrees
stuartshields
Remove stale agent worktree directories and their orphaned branches.
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
block-journey
stuartshields
Discover all files for a block or component, trace the editorial and front-end user journeys, and write a journey document to docs/journeys/.
SkillCFreshness: C★ 2Claude Code +9 - 0.502score
tool-usage
stuartshields
Recovery protocol for tool failures and search budgets.
SkillCFreshness: C★ 2Claude Code +9 - 0.482score
audit-vs-fix-discipline
stuartshields
Use when the user asks to audit, review, investigate, check, scan, "look at", or "find issues in" code — anything that sounds like a diagnostic request…
SkillCFreshness: C★ 2Claude Code +9 - 0.440score
vibe-user
stuartshields
Open an app in Playwright and explore it as a real user with no prior knowledge.
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
debug-rules
stuartshields
Diagnose which rules loaded, which didn't, and why.
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
figma
stuartshields
Figma-to-code workflow using MCP tools.
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
qa-check
stuartshields
Auto-detects the project's tech stack, then audits for Accessibility, Performance, and Code Quality.
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
review-memory
stuartshields
Review auto-memory for the current project.
SkillDFreshness: D★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 13, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/stuartshields/claude-setup
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from stuartshields
- 0.507score
debugging
stuartshields
Structured debugging protocol.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
module-depth-review
stuartshields
Use when reviewing whether module boundaries earn their keep — finding shallow modules that should be consolidated into deep ones.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
swift-concurrency-review
stuartshields
Use when reviewing Swift 5.5+ code containing `await`, `actor`, `Task { }`, `@MainActor`, `@unchecked Sendable`, cancellable timer/deadline handles, or…
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
clean-worktrees
stuartshields
Remove stale agent worktree directories and their orphaned branches.
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
block-journey
stuartshields
Discover all files for a block or component, trace the editorial and front-end user journeys, and write a journey document to docs/journeys/.
SkillCFreshness: C★ 2Claude Code +9 - 0.502score
tool-usage
stuartshields
Recovery protocol for tool failures and search budgets.
SkillCFreshness: C★ 2Claude Code +9
Cite this page
playwright skill. Agent Mart. https://agentmart.dev/skills/stuartshields-playwright (last updated 2026-10-24)