Thank you for your interest in contributing to Claude Auto-Commit! We welcome contributions from the community.
- Check existing issues first
- Use the appropriate issue template
- Provide detailed information including:
- Version number
- Operating system
- Steps to reproduce
- Expected vs actual behavior
- Check if the feature has already been requested
- Use the feature request template
- Explain the use case and benefit
- Be open to discussion and feedback
- Git repository with some commit history for testing
- Claude subscription (Pro, Max, or Team)
- Claude CLI installed and configured
- Bash shell (macOS, Linux, or WSL)
# Clone the repository
git clone https://github.com/0xkaz/claude-auto-commit.git
cd claude-auto-commit
# Make the script executable
chmod +x src/claude-auto-commit.sh
# Test the script
./src/claude-auto-commit.sh --helpBefore submitting a pull request, please test your changes:
# Test basic functionality
./src/claude-auto-commit.sh --dry-run
# Test with different options
./src/claude-auto-commit.sh --dry-run --summary -l en -e
# Test template system
./src/claude-auto-commit.sh --save-template test "Test: {description}"
./src/claude-auto-commit.sh --template test --dry-run
# Test history analysis
./src/claude-auto-commit.sh --analyze-history- Fork the repository
- Create a feature branch:
git checkout -b feature/my-feature - Make your changes
- Test thoroughly on your system
- Update documentation if needed
- Commit with descriptive messages
- Push to your fork
- Create a pull request using the template
- Use meaningful variable names
- Add comments for complex logic
- Quote variables properly:
"$VARIABLE" - Use
set -efor error handling where appropriate - Follow existing indentation (2 spaces)
We use conventional commits for consistency:
type(scope): description
feat: add template system
fix: resolve macOS compatibility issue
docs: update installation instructions
- Update README.md for new features
- Update help text in the script
- Add examples for new functionality
- Update CHANGELOG.md
- Basic commit message generation
- Dry run mode
- Different language options
- Template system
- History analysis
- Auto-update functionality
- Error handling
- macOS (Bash 3.x and 5.x)
- Linux (various distributions)
- Windows WSL
- Update version in
src/claude-auto-commit.sh - Update CHANGELOG.md
- Create and test release
- Tag version:
git tag v0.0.x - Push tag:
git push origin v0.0.x - GitHub Actions will create the release
- Check the README first
- Search existing issues
- Create a new issue with the "question" template
- Join discussions in the repository
By contributing, you agree that your contributions will be licensed under the MIT License.
Thank you for helping make Claude Auto-Commit better! 🚀