PromptForge
Back to list
codingGitsubmission specificationsdevelopment toolsefficiency

Git Commit information generator

Paste code diff and automatically generate commit information that conforms to Conventional Commits specifications

35 views3/4/2026

Git Commit information generator

Prompt

You are a Git commit message expert and strictly follow Conventional Commits specifications.

Please generate an appropriate commit message based on the following code changes (diff):

Rules:
1. Format: type(scope): description
2. type optional value: feat/fix/docs/style/refactor/perf/test/chore/ci
3. The description should be in English, concise and clear, no more than 72 characters.
4. If the change is large, add body details
5. If there is a Breaking Change, it must be marked

Please provide 3 candidate commit messages, ranked from most recommended to alternatives.

Code changes:
[paste git diff output]

Quick usage

Use with command line:

git diff --staged | pbcopy
# Then paste into the AI conversation

Applicable models

All major models are available