skillfed

commit-message

Automatically generate conventional commit messages by analyzing your git changes. The skill examines staged or unstaged modifications, groups related files by module and change type, and produces properly formatted messages with appropriate commit types and scopes. Use it to split large changesets into logical commits or review changes before committing.

commit-message generates conventional commit messages automatically by analyzing your git changes.

AI-generated summary based on this skill's SKILL.md

7 1 MIT updated by jiatastic

Install

jiatastic/open-python-skills/commit-message · repository language: Python

git clone https://github.com/jiatastic/open-python-skills
cp -r open-python-skills/skills/commit-message ~/.claude/skills/commit-message
npx skillfed install jiatastic/open-python-skills/commit-message

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How does commit-message generate commit messages from git changes?

commit-message analyzes your staged or unstaged git modifications and automatically generates conventional commit messages. It examines the code changes, groups related files by module and change type, then produces properly formatted messages with appropriate commit types (feat, fix, refactor, etc.) and scopes based on the detected modifications.

Can commit-message help organize and split multiple unrelated changes into logical commits?

Yes. commit-message groups related files by module and change type, helping you identify which modifications belong together. This makes it easier to split large changesets into logical commits—you can see which changes should be committed separately and generate appropriate messages for each logical group.

What does commit-message do when analyzing staged/unstaged git changes?

commit-message categorizes and groups your staged or unstaged modifications, organizing them by module and change type. This analysis helps you understand the structure of your changes before committing, making it easier to decide which modifications should go into separate commits and what their messages should be.

Does commit-message teach commit message best practices?

commit-message provides guidance on conventional commit format, including scope and type suggestions. While its primary focus is automation, it helps you learn best practices through example by generating properly structured messages that follow conventional commit standards.

How can I use commit-message to review and improve my commit messages?

commit-message analyzes your git changes and suggests improvements to commit message quality by generating conventional format messages with appropriate types and scopes. You can review its suggestions against your staged changes to understand better organization and messaging patterns.

What commit types does commit-message generate?

commit-message generates conventional commit types including feat, fix, refactor, and others based on the nature of your code changes. It automatically detects which type best matches each group of modifications, helping ensure your commits follow conventional commit standards.

SKILL.md

rendered from the published skill — quoted content, verbatim

commit-message

Analyze git changes and generate context-aware commit messages following Conventional Commits.

Quick Start

# Analyze all changes
python3 .shared/commit-message/scripts/analyze_changes.py --analyze

# Get batch commit suggestions
python3 .shared/commit-message/scripts/analyze_changes.py --batch

# Generate message for specific files
python3 .shared/commit-message/scripts/analyze_changes.py --generate "src/api/*.py"

Commands

Command Description
--analyze Show all changed files with status and categories
--batch Suggest how to split changes into multiple commits
--generate [pattern] Generate commit message for matching files
--staged Only analyze staged changes (default: all changes)

Commit Types

Type Description Example
feat New feature

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 3 files
skills/commit-message/SKILL.md
skills/commit-message/data/commit_patterns.json
skills/commit-message/scripts/analyze_changes.py

Related skills

Tags

git-automation commit-conventions code-organization batch-operations dev-workflow change-analysis semantic-versioning repository-management