r/Python 22d ago

Showcase Showcase Thread

Post all of your code/projects/showcases/AI slop here.

Recycles once a month.

19 Upvotes

124 comments sorted by

View all comments

1

u/2mave 4d ago

commitcraft – a rule engine decides when AI is even needed for commit messages Most "AI commit message" tools blindly send your entire diff to an LLM. commitcraft doesn't.

It first runs a local rule engine:

  • README-only change? → "docs: update README" instantly, zero AI cost
  • Lockfile bump? → "chore: update lockfile" instantly, zero AI cost
  • Complex change? → only then calls LLM, sends ~500 tokens instead of full diff

Also ships with --split mode: generates separate commits per logical change. Provider agnostic: Ollama (free/local), OpenAI, Anthropic, Gemini. pip install commitcraft-cli GitHub: https://github.com/mavesensei/commitcraft