commitcraft
AI commit messages for your staged changes. Powered by Claude.
pip install commitcraft
export ANTHROPIC_API_KEY=sk-ant-...
git add .
commitcraft
Usage
# Generate a message and ask to commit
commitcraft
# Commit immediately without prompting
commitcraft --auto
# Show 3 alternatives to pick from
commitcraft --count 3
# Tweak the message in $EDITOR before committing
commitcraft --edit
# Give a hint about the change
commitcraft --hint "fixes the login bug from issue 42"
Output format
Follows Conventional Commits:
feat(auth): add remember-me option to login form
Previously users were logged out on every session close. This adds a
"remember me" checkbox that issues a 30-day persistent cookie.
Model
Defaults to claude-opus-4-6. Override with --model:
commitcraft --model claude-sonnet-4-6
License
MIT
Metadata
Release files for git-commitcraft 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| git_commitcraft-0.2.0.tar.gz | 5.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| git_commitcraft-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.0 kB
Release files / git_commitcraft-0.2.0.tar.gz
| Download URL | git_commitcraft-0.2.0.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7552797b442c7a3e92a30b3bfeb7702aae8fbcbdc7a363399a7e94f9e353430c
|
|
BLAKE2b-256 checksum How to use checksums |
c1ec6596fbd3720ac726d5c5b151272d5c6a9233ab7a4f7ce5af80e92a63d874
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / git_commitcraft-0.2.0-py3-none-any.whl
| Download URL | git_commitcraft-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
09311e81f1a995a2aae5b5df6b67276efd6a1b1d94cef15b48ff83a9e543d162
|
|
BLAKE2b-256 checksum How to use checksums |
ad9fad011765d6982361fb25b3bccfd9b5a57fdb223a32d222458f5331130086
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|