Claude Skill
lackeyjb/playwright-skill
一个基于Playwright的Claude Skill,用于自主浏览器自动化。支持AI驱动的脚本编写与执行,适用于Web测试、验证及自定义自动化工作流。
概览
仓库信息
安装这个 Skill
git clone https://github.com/lackeyjb/playwright-skill.git /tmp/playwright-skill-tempRegistry 信息
项目简介
一个基于Playwright的Claude Skill,用于浏览器自动化,使Claude能够自主编写和执行定制化的自动化脚本,用于测试与验证。
Claude Code Skill for browser automation with Playwright. Model-invoked - Claude autonomously writes and executes custom automation for testing and validation.
要点
- 模型驱动的自动化
- 自主脚本编写
- Playwright浏览器控制
- 自定义自动化执行
- 专注于测试与验证
使用场景
- 端到端Web测试
- 自动化验证工作流
- 自定义浏览器自动化任务
- 模型辅助测试创建
- 网页交互自动化
README 摘要
# 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