Git Commit Message Writer
Generate clear, conventional commit messages from git diffs
Write a commit message for this diff:
```diff
[PASTE_GIT_DIFF]
```
Follow Conventional Commits format:
`type(scope): short description`
Types: feat, fix, refactor, docs, test, chore, perf, style, ci
Scope: the area of code changed (component name, module, etc.)
Rules:
- Subject line under 72 characters
- Use imperative mood ("add" not "added")
- Body explains WHY, not WHAT (the diff shows what)
- Reference issue numbers if applicable
- If multiple logical changes, suggest splitting into separate commits
Output:
1. The recommended commit message (subject + body)
2. If the diff is too large: suggest how to split it into atomic commits, each with its own messageHow to Use This Prompt
- 1Copy the prompt template above
- 2Paste into Claude, ChatGPT, or Cursor
- 3Replace [bracketed placeholders] with your specific project details
- 4Iterate on the AI output to refine and customize the results
More Documentation Prompts
Related documentation templates from the vault
API Quickstart Tutorial Writer
Use this prompt to api quickstart tutorial writer with AI assistance
Architecture Decision Record (ADR) Series Generator
Generate a series of Architecture Decision Records documenting key technical choices with context, alternatives, and consequences
Onboarding Guide for New Developers
Use this prompt to onboarding guide for new developers with AI assistance
Architecture Decision Record Template
Document architectural decisions with context, options, and rationale
You Might Also Like
Prompts from other categories that share similar tags
API Contract First Design
Design a complete API contract before writing any implementation code
AI Pair Programming Session
Set up an interactive pair programming session with AI as your coding partner
Prompt Chain for Complex Tasks
Break a complex coding task into a sequence of focused prompts for better results
System Design Document Generator
Generate a comprehensive system design document for a new feature or service
Keep Exploring the Vault