commit-msg

Generate conventional commit messages from git diffs or staged changes.

51|3|Updated Dec 25, 2025
One-click install
npx skills add https://github.com/rust-works/succinctly --skill commit-msg-rust-works
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-msg
Source: https://github.com/rust-works/succinctly/tree/main/.claude/skills/commit-msg
Command: npx skills add https://github.com/rust-works/succinctly --skill commit-msg-rust-works

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzes git commits and generates clearer, conventional-commits-compliant messages based on actual changes. It helps when amending commits, performing code reviews, or documenting changes.

Core Features & Use Cases

  • Generate conventional commit messages from diffs or staged changes.
  • Suggest subject lines and optional bodies that describe the change concisely.
  • Enforce conventional commits format and optional scopes for grouping changes.

Quick Start

Describe the changes you made, and I will generate a conventional commit message.

Frequently Asked Questions about commit-msg

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

FAQPage Schema
How do I generate a conventional commit message from a git diff?

Generate conventional commit messages by providing your staged changes or diffs. The tool analyzes the actual code changes to produce a standardized subject line and a structured body that concisely describes the modification.

Can I add a scope to my conventional commits automatically?

Yes, you can add a scope to your conventional commits. The generator applies the conventional commits format with optional scopes, allowing you to logically group changes while enforcing a standardized commit history.

What is the best way to write a clear git commit message for a code review?

The best way to write a clear commit message for a code review is to analyze the actual code changes. This tool refines diffs into concise, structured messages, making the review process easier and the history cleaner.

Does commit-msg work for amending previous git commits?

Yes, it works for amending previous git commits. You can use it to refine the message of an existing commit by analyzing the changes applied during the amend operation to ensure clarity and conventional compliance.

Do I need staged changes to generate a commit message?

Yes, you need staged changes or an available diff. The tool requires access to actual code modifications to produce standardized subject lines and structured bodies, ensuring the message accurately reflects the code.