aboutsummaryrefslogtreecommitdiff
path: root/playwright-skill/package.json
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-04-19 15:16:46 -0500
committerCraig Jennings <c@cjennings.net>2026-04-19 15:16:46 -0500
commit11f5f003eef12bff9633ca8190e3c43c7dab6708 (patch)
treec74cb8c5cbb189a9b5aa8154ae4c898e9992b771 /playwright-skill/package.json
parentb3247d0b1aaf73cae6068e42e3df26b256d9008e (diff)
downloadrulesets-11f5f003eef12bff9633ca8190e3c43c7dab6708.tar.gz
rulesets-11f5f003eef12bff9633ca8190e3c43c7dab6708.zip
feat: adopt lackeyjb/playwright-skill (MIT verbatim fork) + deps target
Browser automation + UI testing skill forked verbatim from github.com/lackeyjb/playwright-skill (MIT, 2458 stars, active through Dec 2025). LICENSE preserved in skill dir with attribution footer added to SKILL.md. Bundle contents (from upstream): playwright-skill/SKILL.md playwright-skill/API_REFERENCE.md playwright-skill/run.js (universal executor with module resolution) playwright-skill/package.json playwright-skill/lib/helpers.js (detectDevServers, safeClick, safeType, takeScreenshot, handleCookieBanner, extractTableData, createContext with env-driven header injection) playwright-skill/LICENSE (MIT, lackeyjb) Makefile updates: - SKILLS extended with playwright-skill; make install symlinks it globally into ~/.claude/skills/ - deps target extended to check node + npm, and to run the skill's own `npm run setup` (installs Playwright + Chromium ~300 MB on first run). Idempotent: skipped if node_modules/playwright already exists. Stack fit: JavaScript Playwright aligns with Craig's TypeScript/React frontend work. Python-side (Django) browser tests would be better served by Anthropic's official webapp-testing skill (Python Playwright bindings), noted in the evaluation memory but not adopted here — minimal overlap, easy to add later if the need arises.
Diffstat (limited to 'playwright-skill/package.json')
-rw-r--r--playwright-skill/package.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/playwright-skill/package.json b/playwright-skill/package.json
new file mode 100644
index 0000000..ada6c8b
--- /dev/null
+++ b/playwright-skill/package.json
@@ -0,0 +1,26 @@
+{
+ "name": "playwright-skill",
+ "version": "4.1.0",
+ "description": "General-purpose browser automation with Playwright for Claude Code with auto-detection and smart test management",
+ "author": "lackeyjb",
+ "main": "run.js",
+ "scripts": {
+ "setup": "npm install && npx playwright install chromium",
+ "install-all-browsers": "npx playwright install chromium firefox webkit"
+ },
+ "keywords": [
+ "playwright",
+ "automation",
+ "browser-testing",
+ "web-automation",
+ "claude-skill",
+ "general-purpose"
+ ],
+ "dependencies": {
+ "playwright": "^1.57.0"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "license": "MIT"
+}