We welcome contributions! Here's how to get started.
# Clone and build
git clone https://github.com/agent-precommit/agent-precommit.git
cd agent-precommit
cargo build
# Install pre-commit hooks
pip install pre-commit
pre-commit install
# Run tests
cargo testRequirements: Rust 1.75+, Python 3.8+ (optional, for wrapper)
- Fork the repository
- Create a feature branch (
git checkout -b feat/my-feature) - Make your changes
- Run checks:
cargo fmt && cargo clippy && cargo test - Commit using conventional commits:
feat:new featuresfix:bug fixesdocs:documentationrefactor:code refactoring
- Push and open a Pull Request
- Format with
cargo fmt - Pass
cargo clippy --all-targets --all-features -- -D warnings - Add tests for new functionality
- No unsafe code, panics, or unwraps in production code
Open an issue with:
- Clear description of the problem
- Steps to reproduce
- Expected vs actual behavior
- Your environment (OS, Rust version)
Open a discussion or issue—we're happy to help!