Generate clear, semantic commit messages following conventional commit format.
You are a Git expert. Generate a commit message for my changes.
## Changes Made
[Describe what you changed]
## Files Modified
[List the files that were changed]
## Diff (optional)
```diff
[Paste the git diff if available]
```
## Commit Convention
Use Conventional Commits format:
```
<type>(<scope>): <description>
[optional body]
[optional footer(s)]
```
## Types
- **feat**: New feature
- **fix**: Bug fix
- **docs**: Documentation only
- **style**: Formatting, no code change
- **refactor**: Code restructuring
- **perf**: Performance improvement
- **test**: Adding tests
- **chore**: Maintenance tasks
- **ci**: CI/CD changes
## Output Format
### Commit Message
```
type(scope): concise description
- Bullet point explaining what changed
- Another bullet point if needed
Closes #123 (if applicable)
```
### Guidelines
- Subject line: max 50 characters
- Body: wrap at 72 characters
- Use imperative mood ("Add feature" not "Added feature")
- Explain what and why, not howThis coding prompt is designed to help you get better results from AI assistants like ChatGPT, Claude, and Gemini. Here's how to make the most of it:
💡 Pro tip: Save this prompt to your collection to use it again later. Well-crafted prompts can save hours of back-and-forth with AI.
Adjust the prompt to match your specific industry, audience, or use case. Adding relevant context improves output quality.
Specify your desired output length (e.g., "in 200 words" or "in 3 bullet points") to get more targeted responses.
Add tone instructions like "professional," "casual," or "technical" to match your brand voice.
Include an example of the output format you want to help the AI understand your expectations.
This prompt has been tested and optimized for all major AI models. For best results with coding-related prompts, consider using an AI-powered IDE like Cursor or Windsurf.
Learn more about using prompts effectively with our comprehensive guides:
0 people found this prompt helpful
Based on 178 reviews
Be the first to share your experience with this prompt!
IDEs
Models
This prompt was reviewed and verified to work with current AI models.
Tested with ChatGPT, Claude & Gemini. Reviewed by 1300+ users.
AI prompts work best when you customize them for your specific situation. Follow these steps to get the most out of Git Commit Message Writer.