Commit Message Generator (AI)
CodePaste a git diff and get a Conventional Commits-style commit message back: type, scope, subject, and body, powered by Claude
About Commit Message Generator (AI)
Paste a git diff and Claude writes the commit message for you: a Conventional Commits type like feat or fix, an optional scope, an imperative subject line under 72 characters, and a short body when the change needs more explaining than the subject alone can carry. This is a server-backed AI tool, not a browser-only utility, so the diff text is sent to Anthropic's API (Claude, with OpenAI as a fallback) to generate the response. It works from the diff alone, so it can guess the wrong type or scope for changes with unclear intent, like a diff that touches many unrelated files at once; the optional context field is there for exactly that case, to nudge the type or explain the why in a sentence. Treat the output as a strong first draft, not a guarantee: skim it before committing, especially the type and scope, since those affect changelogs and semantic-release tooling downstream.
How to use Commit Message Generator (AI)
- 1.Paste the output of `git diff` or `git diff --staged` to get a ready-to-use commit message in Conventional Commits format.
- 2.Add optional context, like a ticket number or a one-line note about why you made the change, when the diff alone doesn't make the intent obvious.
- 3.Review the generated type and scope before committing, since diffs touching unrelated files can lead to a guessed type that doesn't match your team's conventions.
Frequently asked questions
Use via API, SDK, or MCP
cURL# Free: a few generations/month · Pro: more per month
curl -X POST api.utilix.tech/v1/ai/commit-message \
-H "Authorization: Bearer utx_live_..." \
-H "Content-Type: application/json" \
-d '{"prompt": "..."}'Free plan includes a monthly quota; Pro raises the limit. Get an API key from your dashboard · Full API docs →