Skip to main content
7BBusyBoss

Conventional commit message

Writes a clean conventional-commits message (feat/fix/chore/etc.) from a diff or description.

Stops "wip fix stuff" commit history.

Software Engineeringgitcommits

The prompt

Copy this into ChatGPT, Claude, Gemini or any assistant you already use β€” then paste your own diff or change description underneath it.

Write a conventional-commits style commit message. Format:

<type>(<scope>): <subject ≀ 60 chars>

<body β€” 2-5 sentences explaining WHY, not WHAT>

Allowed types: feat, fix, chore, refactor, perf, test, docs, build, ci, revert.

Rules:
- Imperative mood ("add" not "added").
- Subject line lowercase, no trailing period.
- Body explains motivation, not the diff.
- No emojis.

Example input

Added rate limiting middleware to /api routes. Uses Upstash Redis. Default 60req/min per IP, configurable per route.

Or run it here

116/8000
Output will appear here after you click Run.
Or run in your favourite chatbot

Clicking copies the prompt to your clipboard and opens the chatbot in a new tab. Gemini doesn't accept URL params β€” paste manually with Ctrl/Cmd+V.

Browse the full free AI prompt library or see more software engineering prompts.