Tools / Git Commit Doctor

Git Commit Doctor

Diagnose commit messages against Conventional Commits and good-message practice, with rewrites

Paste the message; get the diagnosis.

Commit message(s)

One per line, or paste git log --oneline output.

Diagnosis

What it does

Messages your future self can search.

Conventional Commits lint

Header, type, subject case, period, length and wording checked per message, batch or single.

Mood and length checks

Imperative-mood check, subject length between 10 and 72 characters, trailing period, vague-word flags.

One-tap rewrites

Each failing message gets a concrete rewrite you can copy.

Batch log triage

Paste git log --oneline output and see which commits would fail review.

How it works

Paste, diagnose, rewrite.

Step 1

Paste one message or a whole log.

Step 2

Read the per-message diagnosis.

Step 3

Copy the suggested rewrite into your amend.

FAQ

Which rules?

Conventional Commits 1.0 structure plus widely shared hygiene: short imperative subject, explained body, no vague words like 'stuff' or 'fixes'.

Does it change my repo?

No. It only reads what you paste and suggests text.

Open Git Commit Doctor

Worked example

Real output, from the tool itself.

This is what Git Commit Doctor returned for its built-in example input, captured from the tool - not a mockup.

You enter

Input

fixed stuff
a1b2c3d feat(api): add rate limiting to public endpoints
WIP
updated the readme file
9f8e7d6 refactor(auth)!: drop legacy session cookies

The tool returns

fixed stuff
3 issue(s)
- No Conventional Commits header (type: subject).
- Vague word 'stuff' says nothing searchable.
- Use imperative mood: 'add', 'fix', 'update', not past or present continuous.
Suggested: fix: describe what changed and why
feat(api): add rate limiting to public endpoints
clean
WIP
3 issue(s)
- No Conventional Commits header (type: subject).
- Subject is only 3 chars; say what changed and why it matters.
- Vague word 'wip' says nothing searchable.
Suggested: fix: describe what changed and why
updated the readme file
2 issue(s)
Try it with your own input

Git Commit Doctor

See it at work

Diagnose commit messages against Conventional Commits and good-message practice, with rewrites.

Git Commit Doctor
Fields
API
CLI
messages
hiringsai tool git-commit-doctor
messages string
1 fields, 1 required
curl -X POST https://hiringsai.com/api/v1/tools/git-commit-doctor/run
-d '{"input": {"messages": "<text>"}}'
JSON result
hiringsai run git-commit-doctor --input '{"messages": "<text>"}'
also callable over MCP
JSON result printed
Free toolAPI and MCPNo account
Fields
messagesstring
Ways to use it
pagethis app
APIPOST .../run
CLIhiringsai run
MCPtools/call
API call
POST /api/v1/tools/git-commit-doctor/run
input: {"messages": "<text>"}
JSON result back
Command line
hiringsai run git-commit-doctor
--input <json>
JSON result printed
The Git Commit Doctor page as it opens
Git Commit Doctor1 fields
The page as it opens, captured from the live site.
The Git Commit Doctor app at phone width
Git Commit Doctorphone layout
The same app at phone width.
A team working around a table with laptops
Git Commit DoctorFree tool
Diagnose commit messages against Conventional Commits and good-message practice, with rewrites.
A desktop computer on a white desk with a lamp
Git Commit DoctorAPI and MCP
Call it from a script over the API or MCP.