Skip to main content
ClaudeWave
Skill240 repo starsupdated 10d ago

playwright-automation

The playwright-automation skill provides Playwright scripts for browser testing and automation tasks including page inspection, screenshot capture, form automation, responsive design testing, and console or network logging. Use this skill when you need to test web applications, validate UI behavior, automate browser interactions, or collect evidence from running web pages.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/majiayu000/spellbook /tmp/playwright-automation && cp -r /tmp/playwright-automation/skills/playwright-automation ~/.claude/skills/playwright-automation
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# Playwright Browser Automation

Use this skill for Playwright scripts that inspect pages, capture screenshots, automate forms, test responsive views, or collect console/network evidence.

## Routing

- Start here to confirm scope, safety boundaries, and the minimum workflow.
- Load `references/full-guide.md` before executing detailed commands, applying templates, or relying on examples from this skill.
- Keep the work limited to the user-requested target; do not add adjacent improvements unless the user asks.

## Quick Workflow

1. Confirm the target, available context, constraints, and done-when signal.
2. Read the relevant section of `references/full-guide.md` for task-specific details.
3. Execute the smallest reversible action that satisfies the request.
4. Verify with a runnable script, explicit target URL, captured output or artifact path, and cleanup of any started local servers.
5. Report changed files, commands run, evidence collected, and any remaining risk.

## References

- `references/full-guide.md` - complete command patterns, examples, checklists, and edge cases.