commit-message-generator

Generate conventional commit messages from staged diffs with type, scope, summary, body, and footer.

10|5|Updated Aug 20, 2025
One-click install
npx skills add https://github.com/mverab/claude-beyond-code --skill commit-message-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-message-generator
Source: https://github.com/mverab/claude-beyond-code/tree/main/.claude/skills/commit-message-generator
Command: npx skills add https://github.com/mverab/claude-beyond-code --skill commit-message-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers often struggle to write consistent, descriptive commit messages, leading to poor version control history and difficulty in tracking changes. This Skill automates the generation of conventional commit messages, saving time and ensuring clarity.

Core Features & Use Cases

  • Conventional Commit Formatting: Automatically generates commit messages following types like feat, fix, docs, style, refactor, test, chore.
  • Detailed Summaries & Bodies: Creates concise summaries (under 50 chars) and detailed bodies (wrapped at 72 chars) based on staged changes.
  • Issue Referencing: Includes footers for breaking changes and issue references (e.g., Closes #123).
  • Use Case: After staging your changes, simply ask Claude to "Write a commit message for these auth changes" to get a perfectly formatted message ready for git commit.

Quick Start

Write a conventional commit message for my staged changes, focusing on the new user authentication feature.

Frequently Asked Questions about commit-message-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write conventional commit messages automatically from staged changes?

Conventional commit messages follow a standardized format with a type (feat, fix, docs, style, refactor, test, chore), optional scope, a concise summary under 50 characters, a wrapped body at 72 characters, and footers for breaking changes or issue references. This Skill generates them automatically from your staged Git diffs, eliminating manual formatting.

What's the standard format for Git commit messages in version control workflows?

Conventional commits use a structured format: type(scope): summary, followed by a detailed body wrapped at 72 characters and footers for breaking changes or issue closures. This format improves version control history clarity and enables automated changelog generation and semantic versioning.

Can I automate commit message generation for features, fixes, and refactors?

Yes. This Skill analyzes your staged changes and generates type-specific commit messages for features, fixes, documentation, styling, refactors, tests, and chores. It applies conventional commit formatting automatically, ensuring consistency across your development workflow.

How do I include issue references and breaking changes in commit footers?

Conventional commits support footers for issue references (e.g., Closes #123) and breaking change notifications. This Skill automatically detects the nature of your staged changes and includes appropriate footers in the generated commit message.

Why use standardized commit messages instead of freeform text?

Standardized commit messages enable automated changelog generation, semantic versioning, and easier git history navigation. Conventional commits make tracking changes, identifying breaking changes, and understanding feature history straightforward for teams and CI/CD pipelines.

Do I need to know commit message syntax before using automated generation?

No. This Skill handles conventional commit syntax automatically. You stage your changes in Git, and the Skill generates a properly formatted message ready for git commit without requiring manual knowledge of type keywords, character limits, or footer format.