commit-assist-0.1.1 is not a library.
commit-assist
AI-powered git commit message generator using LLM APIs.
Features
- Analyzes staged git changes (
git diff --staged) - Prompts LLM to generate Conventional Commits format messages
- Supports multiple LLM providers (Claude, OpenAI)
Installation
Or build from source:
Usage
Basic Usage
# Stage your changes
# Generate commit message using Claude (default)
Options
# Use OpenAI instead of Claude
# Specify a model
# Short flags
Environment Variables
Set the API key for your chosen provider:
# For Claude (Anthropic)
# For OpenAI
Commit Message Format
Generated messages follow Conventional Commits format:
<type>(<scope>): <description>
[optional body]
Types: feat, fix, docs, style, refactor, test, chore
Development
# Run tests
# Generate documentation
# Build release
License
MIT License - see LICENSE for details.