* feat: modernize agent skill for v5
* fix: address review findings for v5 refresh
- Restore $SKILL_DIR path resolution in SKILL.md with explicit export
- Fix -e stdout/stderr truncation at 64KB pipe buffer (flush both before exit)
- Spawn child in caller's cwd so relative paths resolve against the project
- Re-raise signals so shells see interrupt status (SIGINT -> 130)
- Escalate to SIGKILL after 2s when child traps SIGINT/SIGTERM
- handleCookieBanner: .filter({ visible: true }).first() avoids hidden matches
- launchBrowser: --no-sandbox only for Chromium as root, merged with caller args
- takeScreenshot: skip mkdirSync when custom path given
- detectDevServers: numeric sort for customPorts of varying digit counts
- PW_HEADLESS='' now falls through to visible default
- SLOW_MO non-numeric input maps to 0 instead of NaN
- CI: npm ci, smoke via run.js, validate path corrected
- Tests: 4 new executor cases + stderr flush + cwd preservation + smoke cookie banner
- Remove gimmicky elements (checkmarks, tagline footer)
- Streamline installation and verification instructions
- Condense all sections for better readability
- Remove changelog section
- Move "What is a Claude Skill?" to end for better flow
- Bump version to 4.0.1
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Major workflow improvements to eliminate manual configuration:
✨ New Features:
- Auto-detect running dev servers on common ports (3000-3001, 5173, 8080, etc.)
- Smart workflow: use detected server, ask if multiple, or help start one
- Write test scripts to /tmp for automatic cleanup (no project clutter)
- URL parameterization in all examples via TARGET_URL constant
🔧 Changes:
- Added detectDevServers() helper function to lib/helpers.js
- Complete rewrite of SKILL.md with new workflow guidance
- Updated all code examples to use /tmp and parameterized URLs
- Added inline execution documentation for simple tasks
- Enhanced error handling and server detection logic
📖 Documentation:
- New critical workflow section with step-by-step guidance
- Updated execution patterns with server detection
- Improved examples showing auto-detection in action
- Added tips for /tmp usage and URL parameterization
Breaking Changes:
- Skill now expects to run server detection before localhost testing
- Test files written to /tmp instead of skill directory
This eliminates the common issues of hardcoded ports, manual edits,
and test file clutter that users previously experienced.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Updated version in plugin.json and package.json for new release with corrected plugin structure.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove invalid skills field from plugin.json
- Create proper skills/playwright-skill/ directory structure
- Move SKILL.md, run.js, lib/, and package.json into skill directory
- Plugin now follows standard Claude Code plugin structure
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Updated plugin.json to fix validation errors:
- Changed author from string to object with name field
- Changed repository from object to string URL
- Removed unsupported fields: displayName, dependencies, engines
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Update package.json version to 3.1.0
- Update plugin.json version to 3.1.0
- Update marketplace.json plugin version to 3.1.0
New release includes marketplace.json for direct GitHub installation.
- Create .claude-plugin/marketplace.json to enable GitHub marketplace installation
- Update README.md with direct installation instructions via /plugin marketplace
- Users can now install with: /plugin marketplace add lackeyjb/playwright-skill
- Update plugin.json version to 3.0.1 to match latest release
- Simplify README by removing plugin management commands section
Installation now works with:
/plugin marketplace add lackeyjb/playwright-skill
/plugin install playwright-skill@playwright-skill
- Update README.md to properly describe this as a Claude Code Skill
- Add 'What is a Claude Code Skill?' section explaining model-invoked behavior
- Update installation instructions to clarify global vs project-specific
- Update project structure to show .claude-plugin/ directory
- Add links to official Claude Skills and Plugins documentation
- Update plugin.json descriptions to emphasize skill nature
- Add claude-skill and model-invoked keywords
- Replace 'plugin' with 'skill' terminology where appropriate
References:
- https://www.anthropic.com/news/skills
- https://docs.claude.com/en/docs/claude-code/skills
- https://docs.claude.com/en/docs/claude-code/plugins