How to Contribute
1. Fork the Repository
Fork the CreditNexus repository on GitHub.2. Create a Branch
Create a feature branch frommain:
3. Make Changes
- Follow the code style and patterns established in the codebase
- Write clear commit messages
- Add tests for new features
- Update documentation as needed
4. Submit a Pull Request
- Push your changes to your fork
- Open a pull request against the
mainbranch - Provide a clear description of your changes
- Reference any related issues
Code Style
Python
- Follow PEP 8 style guide
- Use type hints
- Use
rufffor linting - Use
blackfor formatting
TypeScript/React
- Use TypeScript (no
anytypes) - Follow React best practices
- Use functional components with hooks
- Use Tailwind CSS for styling
Testing
- Write unit tests for new features
- Ensure all tests pass
- Add integration tests for API endpoints
- Test with multiple LLM providers when applicable
Documentation
- Update relevant documentation files
- Add code comments for complex logic
- Update API documentation for new endpoints
- Follow existing documentation patterns
Code of Conduct
- Be respectful and inclusive
- Provide constructive feedback
- Follow professional communication standards
Additional Resources
Last Updated: 2026-01-14