Generate clean, conventional commit messages from your code diffs.
Coding1,645 copies
ChatGPT
Prompt Content
Analyze the following code changes and generate a conventional commit message:
```diff
{{DIFF}}
```
Rules:
- Use c
onventional commit format: type(scope): description
- Types: feat, fix, docs, style, refactor, perf, test, build, ci, chore
- Keep the subject line under 72 characters
- Add a body explaining WHY the change was made (not just WHAT)
- Include BREAKING CHANGE footer if applicable
- Reference issue numbers if provided
Output format:
```
type(scope): brief description
Detailed explanation of the change and its motivation.
BREAKING CHANGE: (if applicable)
Refs: #issue_number
```
Sign up to unlock the full prompt
Get free access to thousands of AI prompt templates. Premium unlocks customization and unlimited copies.