Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git_commitcraft-0.2.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

git_commitcraft-0.2.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file git_commitcraft-0.2.0.tar.gz.

File metadata

  • Download URL: git_commitcraft-0.2.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for git_commitcraft-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7552797b442c7a3e92a30b3bfeb7702aae8fbcbdc7a363399a7e94f9e353430c
MD5 bee3d11378da0632f7e82e886b528362
BLAKE2b-256 c1ec6596fbd3720ac726d5c5b151272d5c6a9233ab7a4f7ce5af80e92a63d874

See more details on using hashes here.

File details

Details for the file git_commitcraft-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for git_commitcraft-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09311e81f1a995a2aae5b5df6b67276efd6a1b1d94cef15b48ff83a9e543d162
MD5 e927faaa83923be30fc8fdc7c8a2eaba
BLAKE2b-256 ad9fad011765d6982361fb25b3bccfd9b5a57fdb223a32d222458f5331130086

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page