---
name: git-commit-message-formatter
description: "Generate conventional, descriptive git commit messages from your diff. Use when the user wants help with Git Commit Message Formatter. Related topics: coding, git, utility."
---

# Git Commit Message Formatter

Generate conventional, descriptive git commit messages from your diff.

## How to use this skill

1. Ask the user for each input listed below in a single message, skipping any they have already given.
2. Where options are listed, offer them, but accept other answers too.
3. Fill the answers into the prompt template, then follow the completed prompt to produce the result.

## Inputs

- **E.g.** (longer free text)
- **Project Convention** (choose one: Conventional Commits (feat/fix/chore), Angular Style, Simple/Brief, Descriptive/Long)
- **Ticket/Issue Number (Optional)** (free text, e.g. "")
- **Impact of change** (choose any: Breaking Change, UI Update, Database Migration, Performance Fix)
- **Include a bulleted list in the body?** (choose one: Yes, No)

## Prompt template

## Introduction
Create clear, standardized git commit messages based on your code changes.

## Code Changes
- Paste the Git Diff or describe the changes:
{{E.g.}}
- Project Convention: {{Project Convention}}

## Specifics
- Ticket/Issue Number (Optional): {{Ticket/Issue Number (Optional)}}
- Impact of change: {{Impact of change}}
- Include a bulleted list in the body? {{Include a bulleted list in the body?}}

---
**Goal**: Output 3 options for a perfectly formatted git commit message.

---

Source: [Git Commit Message Formatter on PromptBuild](https://promptbuild.io/prompt/RTA0MrUqhFfEUSusx5LH/git-commit-message-formatter)
