Thank you for your interest in contributing to JavaChatX! We welcome contributions from the community to help make this AI agent development framework even better.
There are many ways you can contribute to JavaChatX:
- Report Bugs: If you find a bug, please open an issue with a detailed description
- Suggest Features: Have ideas for new features? Open an issue to discuss them
- Write Code: Help us implement new features or fix bugs
- Improve Documentation: Help us improve our documentation and examples
- Review Pull Requests: Provide feedback on open pull requests
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/JavaChatX.git - Create a new branch:
git checkout -b feature/your-feature-name - Make your changes
- Run tests:
mvn test - Commit your changes:
git commit -am "Add some feature" - Push to the branch:
git push origin feature/your-feature-name - Create a new Pull Request
- Follow standard Java naming conventions
- Write clear, self-documenting code
- Add Javadoc comments for public methods and classes
- Write unit tests for new functionality
- Keep pull requests focused on a single feature or bug fix
- All new code should include appropriate unit tests
- Run existing tests before submitting changes:
mvn test - Ensure all tests pass before submitting a pull request
We maintain high code quality standards through automated tools:
- Checkstyle: Code must pass Checkstyle validation
- Test Coverage: New code should maintain or improve test coverage
- Code Analysis: SonarCloud analysis should show no critical issues
To run all quality checks locally:
mvn verifyThis will execute:
- Checkstyle validation
- Unit tests
- Code coverage analysis
- Update README.md if you change functionality
- Add Javadoc comments to new classes and methods
- Document public APIs clearly
- Ensure any install or build dependencies are removed before the end of the layer when doing a build
- Update the README.md with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations and container parameters
- Increase the version numbers in any examples files and the README.md to the new version that this Pull Request would represent
- Your Pull Request will be reviewed by maintainers, who may request changes
- Once approved, your Pull Request will be merged
If you have any questions about contributing, feel free to open an issue or contact the maintainers.
Thank you for helping make JavaChatX better!