dev-git-commit-message

Solid

Generates conventional commit messages from git diffs. Use when you need well-formatted commit messages following Conventional Commits.

Code & Development 80 stars 17 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
64
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Git Commit Message Generator **Auto-generates conventional commit messages from git diffs with tiered format enforcement** ## Purpose Analyze staged git changes and generate concise, meaningful commit messages following a tiered Conventional Commits specification. This skill examines file modifications, additions, and deletions to infer the type and scope of changes, producing commit messages that match the importance of the change - from detailed documentation for critical features to concise messages for minor updates. **Key Innovation**: Three-tier format system that balances thoroughness for critical commits (feat, fix, security) with efficiency for routine changes (docs, chore, style). ## When This Skill Activates - When `/commit-msg` command is invoked - When invoked from a `commit-msg`/`prepare-commit-msg` hook (if installed) - When user requests commit message suggestions - When analyzing changes before creating a commit ## Core Capabilities **1. Diff Analysis** - Parse `git diff --staged` output - Identify modified, added, and deleted files - Analyze code changes (additions, deletions, modifications) - Detect patterns across multiple files **2. Change Classification** - Determine commit type from changes: - `feat`: New features or functionality - `fix`: Bug fixes - `security`: Security fixes or hardening - `refactor`: Code restructuring without behavior change - `docs`: Documentation changes - `style`: Formatting, whitespace, code style - `te...

Details

Author
vasilyu1983
Repository
vasilyu1983/AI-Agents-public
Created
9 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category