Contributing to Puppeteer MCP
Contributing to Puppeteer MCP
Section titled “Contributing to Puppeteer MCP”Thank you for your interest in contributing to Puppeteer MCP! This guide will help you get started.
Ways to Contribute
Section titled “Ways to Contribute”Complete contribution guide:
- Getting started
- Development setup
- Submission process
- Review guidelines
- Recognition
Our community standards:
- Expected behavior
- Unacceptable behavior
- Reporting process
- Enforcement
- Attribution
Reporting security issues:
- Vulnerability disclosure
- Security updates
- Best practices
- Contact information
Quick Start Contributing
Section titled “Quick Start Contributing”1. Find Something to Work On
Section titled “1. Find Something to Work On”- Check open issues
- Look for
good first issue
labels - Review the roadmap
- Propose new features
2. Set Up Development Environment
Section titled “2. Set Up Development Environment”# Fork and clonegit clone https://github.com/YOUR_USERNAME/puppeteer-mcp.gitcd puppeteer-mcp
# Install dependenciesnpm install
# Set up git hooksnpm run prepare
3. Make Your Changes
Section titled “3. Make Your Changes”# Create a branchgit checkout -b feature/your-feature
# Make changes# Write tests# Update docs
# Verify everything worksnpm run typechecknpm run lintnpm test
4. Submit Pull Request
Section titled “4. Submit Pull Request”- Push your branch
- Open PR with clear description
- Link related issues
- Wait for review
Types of Contributions
Section titled “Types of Contributions”🐛 Bug Reports
Section titled “🐛 Bug Reports”Help us improve by reporting bugs:
- Use issue templates
- Provide reproduction steps
- Include environment details
- Share error messages
✨ Feature Requests
Section titled “✨ Feature Requests”Suggest new features:
- Explain use case
- Provide examples
- Consider implementation
- Discuss alternatives
📝 Documentation
Section titled “📝 Documentation”Improve our docs:
- Fix typos
- Add examples
- Clarify explanations
- Translate content
🧪 Testing
Section titled “🧪 Testing”Enhance test coverage:
- Write unit tests
- Add integration tests
- Create E2E scenarios
- Fix flaky tests
🔧 Code Contributions
Section titled “🔧 Code Contributions”Submit code improvements:
- Fix bugs
- Add features
- Refactor code
- Optimize performance
Contribution Guidelines
Section titled “Contribution Guidelines”Code Style
Section titled “Code Style”Follow our coding standards:
- TypeScript strict mode
- ESLint rules
- Prettier formatting
- Naming conventions
Testing
Section titled “Testing”All code must be tested:
- Write tests first (TDD)
- Maintain 85%+ coverage
- Include edge cases
- Document test purpose
Documentation
Section titled “Documentation”Update relevant docs:
- API documentation
- README updates
- Code comments
- Usage examples
Commit Messages
Section titled “Commit Messages”Use conventional commits:
feat: add new browser actionfix: resolve memory leak in session managerdocs: update API referencetest: add unit tests for auth modulechore: update dependencies
Pull Request Process
Section titled “Pull Request Process”1. Before Submitting
Section titled “1. Before Submitting”- Tests pass locally
- Code follows standards
- Documentation updated
- Changelog entry added
- No merge conflicts
2. PR Description
Section titled “2. PR Description”Include:
- What changes were made
- Why they were needed
- How to test them
- Related issues
3. Code Review
Section titled “3. Code Review”- Respond to feedback
- Make requested changes
- Ask questions if unclear
- Be patient and respectful
4. After Merge
Section titled “4. After Merge”- Delete your branch
- Update your fork
- Celebrate! 🎉
Development Tips
Section titled “Development Tips”Running Specific Tests
Section titled “Running Specific Tests”# Run single test filenpm test -- auth.test.ts
# Run tests in watch modenpm run test:watch
# Debug testsnode --inspect-brk node_modules/.bin/jest
Useful Scripts
Section titled “Useful Scripts”# Format codenpm run format
# Check typesnpm run typecheck
# Build projectnpm run build
# Run all checksnpm run verify
Getting Help
Section titled “Getting Help”Resources
Section titled “Resources”Communication
Section titled “Communication”- GitHub Issues - Bug reports and features
- GitHub Discussions - Questions and ideas
- Pull Requests - Code contributions
Recognition
Section titled “Recognition”Contributors
Section titled “Contributors”We value all contributions! Contributors are:
- Listed in CONTRIBUTORS.md
- Mentioned in release notes
- Given credit in commits
Core Contributors
Section titled “Core Contributors”Regular contributors may become core contributors with:
- Write access to repository
- Review responsibilities
- Architecture decisions
Thank You!
Section titled “Thank You!”Your contributions make Puppeteer MCP better for everyone. We appreciate your time and effort in improving this project.
Ready to contribute? Check out our open issues and get started!