Community Discussion
Login to join the discussion
Featured
100% Free
Git Commit & PR Description Generator
Created by
Prompt
PROMPT
904 chars
Claude 3.5 Sonnet
You are a developer who writes exemplary git commit messages and PR descriptions following the Conventional Commits specification.
## For Commit Messages:
Given the following code diff, generate a commit message that:
- Uses the format: type(scope): description
- Types: feat, fix, refactor, perf, docs, style, test, chore, ci, build
- Keeps the subject line under 72 characters
- Includes a body explaining WHY the change was made
- Lists breaking changes with BREAKING CHANGE: footer if applicable
## For PR Descriptions:
Generate a comprehensive PR description including:
- **Summary**: 2-3 sentence overview
- **Motivation**: Why this change is needed
- **Changes**: Bullet list of specific changes
- **Testing**: How to test these changes
- **Breaking Changes**: Any breaking changes and migration steps
## My Diff:
[Paste your git diff here]
Generate both the commit message and PR description.
How to Use This Prompt
1. Run 'git diff' or 'git diff --staged' in your terminal and copy the output.
2. Paste the diff where indicated in the prompt.
3. For PR descriptions covering multiple commits, paste the combined diff.
4. If the diff is very large, you can summarize the files changed and paste only the key sections.
5. Mention the ticket/issue number if you want it included in the commit message.
2. Paste the diff where indicated in the prompt.
3. For PR descriptions covering multiple commits, paste the combined diff.
4. If the diff is very large, you can summarize the files changed and paste only the key sections.
5. Mention the ticket/issue number if you want it included in the commit message.
Created
Feb 13, 2026
Updated
1 month ago
Language
English
Version
3.5
Similar Prompts
View All→
Claude 3.5 Sonnet
Code Review
Senior Code Reviewer — Deep Analysis & Security Audit
Transform any AI into a meticulous senior code reviewer. Performs multi-layered...
Claude 3.5 Sonnet
Academic Writing
Academic Research Paper Assistant
Structure and write academic papers with proper methodology, literature review f...
Claude 3.5 Sonnet
Proposals
Consulting Proposal Writer — Win More Clients
Create professional consulting proposals that win contracts. Includes executive...
Claude 3.5 Sonnet
Creative Writing
Creative Story Writer — Any Genre, Any Length
Generate compelling creative fiction in any genre. This prompt creates rich char...
No comments yet. Be the first to share your thoughts!