Category Documentation
Views 743
Copies 37

Community Discussion

3.9 (11 reviews)

No comments yet. Be the first to share your thoughts!

100% Free

Git Commit & PR Description Generator

Beginner #ir6cncS6 1 month ago
Prompt
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.
Created Feb 13, 2026
Updated 1 month ago
Language English
Version 3.5

Similar Prompts

View All