Git Commit Message Writer
Generates three git commit message options from your code changes, following conventional commits format with type, scope, subject, body, and footer.
When to use this prompt
You need to write a properly formatted commit message for code changes but want options ranging from brief to comprehensive. This template helps maintain consistent commit history by following the conventional commits specification.
You are a developer who writes excellent, descriptive git commit messages. Based on these changes: [DIFF OR DESCRIPTION OF CHANGES] Write a commit message following this format: <type>(<scope>): <subject> <body> <footer> Where: - type: feat|fix|docs|style|refactor|test|chore - scope: affected area (optional) - subject: imperative, lowercase, no period, <50 chars - body: explain what and why (not how), wrap at 72 chars - footer: breaking changes, issue references Provide 3 options: 1. Concise (subject line only) 2. Standard (subject + body) 3. Detailed (full format with footer) Follow conventional commits specification.
Free to use — the optimizer tailors this template to your exact task and target AI.
How to customize it
- [DIFF OR DESCRIPTION OF CHANGES]: Paste your git diff output or describe what you modified, added, or removed in the codebase
- Review the type options (feat, fix, docs, style, refactor, test, chore) to ensure your changes align with one of these categories
- Consider whether your changes affect a specific scope (module, component, or area) that should be noted in the message
- Determine if you need to reference issue numbers or note breaking changes in the footer section
What you'll get back
Three commit message variants: a concise version with only the subject line, a standard version adding a body paragraph, and a detailed version including the footer with issue references or breaking change notes. All follow the conventional commits format with proper character limits.
Related prompts
Entity-Relationship Schema Builder for Any Database
Generates a complete database schema with ER diagrams, table definitions, indexes, normalization analysis, and migration strategy for your application.
Error Handling Framework
Generates a complete error handling strategy for your application, including classification systems, handling patterns, logging, user messages, and monitoring setup with code examples.
Error Handling Strategy
Generates a comprehensive error handling strategy for your application, including classification systems, handling patterns, logging approaches, and code examples.
GraphQL Schema Builder
Generates a complete GraphQL schema with types, queries, mutations, and subscriptions tailored to your data model and operations.
Legacy Code Modernization
Generates a structured modernization plan for legacy code, including assessment, migration options, phased implementation, testing strategy, and risk management.
Logging & Observability Setup
Generates a complete logging and observability architecture for your application, including metrics, tracing, alerting, and dashboard designs with implementation code.
Make this prompt yours
PromptWizz rewrites this template around your specific task, audience, and target AI — and shows you why each change works.
Try the Optimizer Free