1.5 KiB
1.5 KiB
Contributing to Brainy
Thank you for your interest in contributing to Brainy! This document provides guidelines and instructions for contributing to the project.
Commit Message Guidelines
When contributing to this project, please write clear and descriptive commit messages that explain the purpose of your changes. Good commit messages help maintainers understand your contributions and make the review process smoother.
Best Practices
- Keep the first line concise (ideally under 50 characters)
- Use the imperative mood ("Add feature" not "Added feature")
- Reference issues and pull requests where appropriate
- When necessary, provide more detailed explanations in the commit body
Examples
Add vector normalization option
Fix distance calculation in HNSW search
Update API documentation
Add support for IndexedDB storage
Change API parameter order
Simplify vector comparison logic
Add tests for metadata filtering
Update build dependencies
Pull Request Process
- Ensure your code follows the project's coding standards
- Update the documentation if necessary
- Make sure all tests pass
- Use conventional commit messages in your PR
- Your PR will be reviewed by maintainers and merged if approved
Development Setup
- Fork and clone the repository
- Install dependencies:
npm install - Build the project:
npm run build - Run tests:
npm test
Thank you for contributing to Brainy!