Conventional commit message
Writes a clean conventional-commits message (feat/fix/chore/etc.) from a diff or description.
Stops "wip fix stuff" commit history.
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
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.
Related prompts
Generates unit tests β happy path, edge cases, error paths β in the test framework you use.
Reviews a git diff like a senior engineer β flags real bugs, perf issues, security risks, and style.
Decodes a regex into plain English, character-class by character-class.
Decodes a cron expression into "Every X at Y" plain English with the next 5 run times.
Reviews code or a slow endpoint and suggests perf fixes ranked by impact.
Scans code for common security issues β injection, auth, crypto, secrets, OWASP top 10.
Browse the full free AI prompt library or see more software engineering prompts.