Contributing to UCAI
July 30, 2026 ยท View on GitHub
Thank you for your interest in contributing to UCAI! This document provides guidelines and instructions for contributing.
Getting Started
- 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
Development Workflow
Making Changes
-
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"
Commit Message Format
We follow Conventional Commits:
feat:- New featuresfix:- Bug fixesdocs:- Documentation changestest:- Test additions or changesrefactor:- Code refactoringchore:- Maintenance tasks
Running Tests
# All tests
make test
# Unit tests only
make test-unit
# With coverage
make coverage
Code Style
We use Ruff for linting and formatting:
make lint # Check for issues
make format # Auto-format code
Pull Requests
- 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
Reporting Issues
- Use GitHub Issues
- Include reproduction steps
- Include error messages and environment details
Documentation
Full documentation is available at ucai.tech.
For detailed development setup, see the Development Guide.
License
By contributing, you agree that your contributions will be licensed under the terms of the repository LICENSE.
Code of Conduct
Please read and follow our Code of Conduct.