work_git_commit-message

Analyze staged git diffs and generate Conventional Commits messages.

1|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/JoNaYeon/claude-code-skills --skill work-git-commit-message
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: work_git_commit-message
Source: https://github.com/JoNaYeon/claude-code-skills/tree/main/work/git/work_git_commit-message
Command: npx skills add https://github.com/JoNaYeon/claude-code-skills --skill work-git-commit-message

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill analyzes staged changes and generates a commit message in the Conventional Commits format.

Core Features & Use Cases

  • Analyze staged changes using git diff --staged to determine what changed.
  • Classify changes into Conventional Commit types: feat, fix, docs, style, refactor, test, or chore.
  • Produce a concise subject (≤ 50 chars) and an optional body explaining the rationale, with proper wrapping.

Quick Start

Describe the staged changes and generate a Conventional Commits message.

Frequently Asked Questions about work_git_commit-message

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

FAQPage Schema
How do I generate a Conventional Commits message from staged git changes?

To generate a Conventional Commits message, the Skill analyzes your staged git diffs to classify the change type, such as feat or fix, and outputs a standardized subject and optional body. It inspects changes via git diff --staged.

What is the Conventional Commits format for a git commit subject and body?

The Conventional Commits format requires a type, optional scope, and a concise subject limited to 50 characters. An optional wrapped body can be appended to explain the rationale behind the staged changes.

How do I classify git diffs into commit types like feat, fix, or chore?

Git diffs are classified by analyzing the nature of the staged changes. The Skill determines the appropriate Conventional Commits type—feat, fix, docs, style, refactor, test, or chore—based on what the modifications actually accomplish.

Do I need to stage changes before generating a commit message?

Yes, you must stage changes before generating a commit message. The Skill specifically inspects staged changes using git diff --staged to ensure the generated message accurately reflects only the modifications you have prepared for the commit.

Can I define a custom scope for my Conventional Commits messages?

Yes, you can define a scope within your Conventional Commits messages. The Skill enforces type and scope parameters alongside the subject length to produce consistent and standardized commit history across your git workflow.