Skip to content

Gnomecromancer/git-commitcraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

AI commit messages for your staged changes — powered by Claude

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages