Thank you for your interest in contributing to UCAI! This document provides guidelines and instructions for contributing.
- Fork the repository on GitHub
- Clone your fork locally:
git clone https://github.com/YOUR-USERNAME/UCAI.git cd UCAI - Set up the development environment:
make setup source .venv/bin/activate
-
Create a feature branch:
git checkout -b feature/your-feature-name
-
Make your changes and ensure tests pass:
make check # Runs lint, type-check, and tests -
Commit your changes with a descriptive message:
git commit -m "feat: add new feature"
We follow Conventional Commits:
feat:- New featuresfix:- Bug fixesdocs:- Documentation changestest:- Test additions or changesrefactor:- Code refactoringchore:- Maintenance tasks
# All tests
make test
# Unit tests only
make test-unit
# With coverage
make coverageWe use Ruff for linting and formatting:
make lint # Check for issues
make format # Auto-format code- Ensure all tests pass and code is formatted
- Update documentation if needed
- Add tests for new functionality
- Submit a pull request with a clear description
- Use GitHub Issues
- Include reproduction steps
- Include error messages and environment details
Full documentation is available at ucai.tech.
For detailed development setup, see the Development Guide.
By contributing, you agree that your contributions will be licensed under the MIT License.
Please read and follow our Code of Conduct.