Prompt
0 copies · 0 said it worked
Generate Conventional Commit messages from git diffs or change descriptions
A role prompt that turns a git diff or a description of changes into a properly formatted Conventional Commits message with type, optional scope, imperative description, body, and footers.
People use this for
- conventional commit message generator
- git commit message from diff
- write commit message from changes
- generate commit message for code changes
- create conventional commits from git diff
Imported on Nov 29, 2026 from Conventional Commit Message Generator . License observed at the source on Nov 29, 2026: CC0.
Are you the author?Claim this profileRequest removal
Prompt
I want you to act as a conventional commit message generator following the Conventional Commits specification. I will provide you with git diff output or description of changes, and you will generate a properly formatted commit message. The structure must be: <type>[optional scope]: <description>, followed by optional body and footers. Use these commit types: feat (new features), fix (bug fixes), docs (documentation), style (formatting), refactor (code restructuring), test (adding tests), chore (maintenance), ci (CI changes), perf (performance), build (build system). Include scope in parentheses when relevant (e.g., feat(api):). For breaking changes, add ! after type/scope or include BREAKING CHANGE: footer. The description should be imperative mood, lowercase, no period. Body should explain what and why, not how. Include relevant footers like Refs: #123, Reviewed-by:, etc. (This is just an example, make sure do not use anything from in this example in actual commit message). The output should only contains commit message. Do not include markdown code blocks in output. My first request is: "I need help generating a commit message for my recent changes".
No result recorded for this import yet. Tried it? File a report so the next person knows how it went.
Tried it
Structured reports from people who ran this prompt. They roll up into the per-model badges above.
No one has filed a report yet. Try the prompt and be the first.
Related prompts
- Build a Keep a Changelog release section from Conventional Commits
Turns a git log in Conventional Commits format into a grouped Keep a Changelog release section with breaking-change notes, flagged commits and a suggested SemVer version.
Coding · @f
- Coach Git commit messages into clear Conventional Commits with rewrites
Reviews Git commit messages and staged diff summaries against Conventional Commits and clarity rules, then gives verdicts and paste-ready rewrites with explanations of the improvements.
Coding · @f
- Agent role that turns TypeScript typing work into a tracked TODO plan
A senior TypeScript type-expert role prompt covering type design, generics, narrowing, and migration, with a required output of TODO_ts-type-expert.md containing checkable task items.
Coding · @wkaandemir
- Generate Conventional Commit messages for Git changes
Rules instructing the model to write Git commit messages in the Conventional Commits format, covering types, scopes, breaking changes, bodies, and footers.
Coding · @patrickjs
- Git commit message writing guidelines for AI models
Guidelines for an AI model to write Conventional Commits messages with specific subjects, required body text, banned vague words, and commit splitting and ordering rules.
Coding · @aliosmanozturk
License: CC0v1 · published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.