Contributing to Playwright Skill
Description
Thank you for considering contributing to the Playwright Skill plugin for Claude Code!
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
Repository README
This is the README for lackeyjb/playwright-skill, shared by 2 entries
in this directory. It describes the repository, not this entry specifically.
Contributing to Playwright Skill
Thank you for considering contributing to the Playwright Skill plugin for Claude Code!
How to Contribute
Reporting Bugs
If you find a bug, please create an issue on GitHub with:
- Clear description of the problem
- Steps to reproduce
- Expected vs actual behavior
- Your environment (OS, Node version, Playwright version)
- Example code that demonstrates the issue
Suggesting Enhancements
Enhancement suggestions are welcome! Please:
- Check existing issues first to avoid duplicates
- Clearly describe the enhancement and its benefits
- Provide examples of how it would be used
Pull Requests
**Fork the repository**
git clone https://github.com/lackeyjb/playwright-skill.git cd playwright-skill**Create a feature branch**
git checkout -b feature/your-feature-name**Make your changes**
- Follow the existing code style
- Add tests if applicable
- Update documentation as needed
**Test your changes**
npm run setup # Test your changes with Claude Code**Commit your changes**
git add . git commit -m "feat: add your feature description"**Push to your fork**
git push origin feature/your-feature-name**Create a Pull Request**
- Go to the original repository
- Click "New Pull Request"
- Select your fork and branch
- Provide a clear description of your changes
Development Guidelines
Code Style
- Use clear, descriptive variable names
- Add comments for complex logic
- Keep functions focused on a single responsibility
- Follow existing patterns in the codebase
SKILL.md Guidelines
- Keep examples concise (8-15 lines)
- Always show
headless: falseby default - Include error handling in examples
- Add console.log statements for visibility
- Reference README.md for advanced topics
Commit Messages
Use conventional commits format:
feat:New featuresfix:Bug fixesdocs:Documentation changesrefactor:Code refactoringtest:Adding testschore:Maintenance tasks
Examples:
feat: add mobile device emulation helper
fix: resolve module resolution issue in run.js
docs: update installation instructions
File Structure
playwright-skill/
├── SKILL.md # Keep concise (~300 lines)
├── README.md # Full API reference
├── PLUGIN_README.md # Plugin distribution docs
├── run.js # Universal executor
├── package.json # Dependencies
├── plugin.json # Plugin metadata
└── lib/
└── helpers.js # Utility functions
Adding New Helpers
When adding functions to `lib/helpers.js`:
- Add clear JSDoc comments
- Include error handling
- Export the function
- Update SKILL.md to mention it
- Add example usage
Testing
Before submitting:
- Test with a fresh installation
- Verify examples in SKILL.md work
- Check that
run.jshandles edge cases - Ensu
Related Skills
Spec Kit
💫 Toolkit to help you get started with Spec-Driven Development
Testing Webapp Testing
Test local web applications using Playwright for UI verification and debugging
Testing #29
, [#52](https://github.com/affaan-m/everything-claude-code/issues/52), [#103](https://github.com/affaan-m/ever
Testing Fix Issue
by metabase - Addresses GitHub issues by taking issue number as parameter, analyzing context, implementing sol
Testing Pypict Test Design
Design comprehensive test cases using PICT (Pairwise Independent Combinatorial Testing) for optimized test sui
Testing gstack
| 15,000+ | Garry Tan's exact Claude Code setup: 6 opinionated tools that serve as CEO, Eng Manager, Release M
Testing