Thank you for your interest in contributing to DEBUG-KIT! This document provides guidelines and instructions for contributing to this project.
Before you start contributing, make sure you have the following tools and knowledge:
-
Node.js
- Version 12.x or higher
- npm or yarn package manager
- Basic understanding of Node.js concepts
-
Git
- Basic Git knowledge
- GitHub account
- Understanding of branching and pull requests
-
Development Environment
- A text editor or IDE (VS Code, Vim, etc.)
- Terminal emulator
- Basic understanding of HTTP and networking concepts
-
HTTP and Networking
- Understanding of HTTP protocols
- Basic networking concepts
- Debugging tools and techniques
-
Development Practices
- Version control best practices
- Code review process
- Testing methodologies
- Documentation standards
- Operating System: Linux or macOS
- CPU: 1+ core
- RAM: 2GB minimum
- Storage: 1GB free space minimum
- Network: Stable internet connection for npm/yarn packages
-
Install Node.js:
# For Ubuntu/Debian curl -fsSL https://deb.nodesource.com/setup_12.x | sudo -E bash - sudo apt-get install -y nodejs
-
Install Git:
sudo apt-get install git
-
Clone the repository:
git clone https://github.com/hperezrodal/debug-kit.git cd debug-kit -
Install dependencies:
npm install
By participating in this project, you agree to abide by our Code of Conduct. Please be respectful and considerate of others.
- Check if the issue has already been reported in the Issues section
- If not, create a new issue with:
- A clear, descriptive title
- Detailed description of the problem
- Steps to reproduce
- Expected vs actual behavior
- Environment details (OS, Node.js version, etc.)
- Any relevant error messages or logs
- Check if the feature has already been requested
- Create a new issue with:
- A clear, descriptive title
- Detailed description of the feature
- Use cases and benefits
- Any relevant examples or references
- Fork the repository
- Create a new branch for your feature/fix:
git checkout -b feature/your-feature-name
- Make your changes following the coding standards
- Test your changes thoroughly
- Update documentation if necessary
- Submit a pull request with:
- A clear description of the changes
- Reference to any related issues
- Screenshots or examples if applicable
- Follow JavaScript best practices:
- Use ES6+ features where appropriate
- Add proper error handling
- Use meaningful variable names
- Add comments for complex logic
- Follow the existing code style
-
When adding new tools:
- Keep them simple and focused
- Document usage in README.md
- Add appropriate error handling
- Include example usage
- Add tests if applicable
-
For existing tools:
- Maintain backward compatibility
- Update documentation for changes
- Add new features as options
- Keep the tool lightweight
-
Test your changes locally:
# For example, testing request-dumper cd request-dumper node request-dumper.js
-
Verify the tool works as expected
-
Test edge cases and error conditions
-
Ensure backward compatibility
-
Update README.md for:
- New tools
- Configuration changes
- Usage examples
- Breaking changes
-
Add inline comments for:
- Complex logic
- Configuration options
- Environment variables
- Version numbering follows Semantic Versioning
- Create a release branch:
git checkout -b release/vX.Y.Z
- Update version numbers and changelog
- Create a pull request for review
- After approval, merge and tag the release
- Open an issue for questions
- Join our community discussions
- Check the documentation
By contributing to this project, you agree that your contributions will be licensed under the project's MIT License.