You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Submitting a Pull Request1. Create a feature branch from `main`2. Make your changes with clear, descriptive commits
3. Add tests if applicable
4. Ensure all tests pass: `npm test`5. Update documentation if needed
6. Submit PR with detailed description
7. Link related issues using "Fixes #123" or "Relates to #123"
8. Wait for review and address feedback
5. Testing Guidelines
How to run tests locally
Writing unit tests
Integration test requirements
Test coverage expectations
6. Documentation
When to update README.md
JSDoc/TSDoc requirements
Examples and code samples
7. Community Guidelines
Code of Conduct reference
Communication channels (Discord, GitHub Discussions)
How to report bugs vs. feature requests
Security vulnerability reporting
8. Issue Labels and Workflow
Explanation of labels: bug, enhancement, good first issue, etc.
Claiming issues before working on them
Expected response times
Benefits
Adding a CONTRIBUTING.md file will:
✅ Lower the barrier to entry for new contributors
✅ Improve code quality through clear standards
✅ Reduce maintainer workload by setting expectations upfront
✅ Build a stronger community with clear communication
✅ Speed up PR reviews with consistent submissions
✅ Attract more contributors by being welcoming and organized
✅ Align with OSS best practices (standard for most major projects)
Examples from Similar Projects
Many successful open-source projects have comprehensive CONTRIBUTING.md files:
Problem Description
The web-llm-chat repository currently lacks a CONTRIBUTING.md file, which makes it difficult for new contributors to understand:
This creates friction for potential contributors and may lead to:
Proposed Solution
Create a comprehensive
CONTRIBUTING.mdfile in the repository root with the following sections:1. Getting Started
2. Development Workflow
feature/,fix/,docs/)3. Code Style Guidelines
4. Pull Request Process
5. Testing Guidelines
6. Documentation
7. Community Guidelines
8. Issue Labels and Workflow
bug,enhancement,good first issue, etc.Benefits
Adding a CONTRIBUTING.md file will:
✅ Lower the barrier to entry for new contributors
✅ Improve code quality through clear standards
✅ Reduce maintainer workload by setting expectations upfront
✅ Build a stronger community with clear communication
✅ Speed up PR reviews with consistent submissions
✅ Attract more contributors by being welcoming and organized
✅ Align with OSS best practices (standard for most major projects)
Examples from Similar Projects
Many successful open-source projects have comprehensive CONTRIBUTING.md files:
Implementation Checklist
CONTRIBUTING.mdin repository rootAdditional Context
This would be especially helpful given:
References