Claude Skill
lackeyjb/playwright-skill
A Claude Skill for autonomous browser automation with Playwright. Enables AI-driven script writing and execution for web testing, validation, and custom automation workflows.
Overview
Repository
Install this Skill
git clone https://github.com/lackeyjb/playwright-skill.git /tmp/playwright-skill-tempRegistry
Summary
A Claude Skill for browser automation using Playwright, enabling Claude to autonomously write and execute custom automation scripts for testing and validation.
Claude Skill 用于基于Playwright的浏览器自动化。模型驱动 - Claude可自主编写并执行定制化自动化脚本,用于测试与验证。
Key features
- Model-invoked automation
- Autonomous script writing
- Playwright browser control
- Custom automation execution
- Testing and validation focus
Use cases
- End-to-end web testing
- Automated validation workflows
- Custom browser automation tasks
- Model-assisted test creation
- Web interaction automation
README excerpt
# Playwright Skill for Claude Code **General-purpose browser automation as a Claude Skill** A [Claude Skill](https://www.anthropic.com/blog/skills) that enables Claude to write and execute any Playwright automation on-the-fly - from simple page tests to complex multi-step flows. Packaged as a [Claude Code Plugin](https://docs.claude.com/en/docs/claude-code/plugins) for easy installation and distribution. Claude autonomously decides when to use this skill based on your browser automation needs, loading only the minimal information required for your specific task. Made using Claude Code. ## Features - **Any Automation Task** - Claude writes custom code for your specific request, not limited to pre-built scripts - **Visible Browser by Default** - See automation in real-time with `headless: false` - **Zero Module Resolution Errors** - Universal executor ensures proper module access - **Progressive Disclosure** - Concise SKILL.md with full API reference loaded only when needed - **Safe Cleanup** - Smart temp file management without race conditions - **Comprehensive Helpers** - Optional utility functions for common tasks ## Installation This repository is structured as a [Claude Code Plugin](https://docs.claude.com/en/docs/claude-code/plugins) containing a skill. You can install it as either a **plugin** (recommended) or extract it as a **standalone skill**. ### Understanding the Structure This repository uses the plugin format with a nested structure: ``` playwright-skill/ # Plugin root ├── .claude-plugin/ # Plugin metadata └── skills/ └── playwright-skill/ # The actual skill └── SKILL.md ``` Claude Code expects skills to be directly in folders under `.claude/skills/`, so manual installation requires extracting the nested sk