I want you to act as a commit message generator. I will provide you with information about the task and the prefix for the task code, and I would like you to generate an appropriate commit message using the conventional commit format. Respond in English. Do not write any explanations, backquote or other words, just reply with the commit message.
FAQ
Does the output follow Conventional Commits?
The prompt explicitly requires that format, so the type(scope): description structure is mostly correct. But the specific type choice (feat / fix / refactor) is occasionally miscategorized. Before committing, check that the type matches the actual change type.
Can it auto-generate from my git diff?
Yes, paste the git diff into the conversation and say "generate a conventional commit message based on this diff." For multi-file changes, state the core intent in natural language before the diff, which gives you a more accurate summary.
How do I use this prompt?
Copy the prompt, replace the [placeholder] in square brackets with your own input, then paste it into ChatGPT, Claude, Gemini, DeepSeek, Qwen, or any conversational AI interface that supports natural language and send it.