git-commit-smart

Solid

Generates meaningful, conventional commit messages automatically. Use when committing code changes. Analyzes diff to create descriptive commits following best practices.

Code & Development 204 stars 21 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 87/100

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

Skill Content

# Smart Git Commit > Inspired by [claude-code-plugins-plus](https://github.com/jeremylongshore/claude-code-plugins-plus) ## Purpose Automatically generate meaningful commit messages by analyzing staged changes, following conventional commit format. ## Commit Message Format ``` <type>(<scope>): <subject> <body> <footer> ``` ### Types | Type | Description | |------|-------------| | `feat` | New feature | | `fix` | Bug fix | | `docs` | Documentation only | | `style` | Formatting, no code change | | `refactor` | Code change, no new feature or fix | | `perf` | Performance improvement | | `test` | Adding/updating tests | | `chore` | Maintenance tasks | | `ci` | CI/CD changes | | `build` | Build system changes | ### Scope Optional, indicates the section of codebase: - `auth`, `api`, `ui`, `db`, `config`, etc. ### Subject - Imperative mood ("add" not "added") - No period at end - Max 50 characters - Lowercase ### Body - Explain WHAT and WHY, not HOW - Wrap at 72 characters - Separate from subject with blank line ### Footer - Breaking changes: `BREAKING CHANGE: description` - Issue references: `Closes #123`, `Fixes #456` ## Workflow ### 1. Analyze Changes ```bash # View staged changes git diff --staged # View changed files git diff --staged --name-only # View stats git diff --staged --stat ``` ### 2. Determine Type Based on changes: - New files with features → `feat` - Modified files fixing issues → `fix` - Only .md files → `docs` - Only test files → `test` - p...

Details

Author
majiayu000
Repository
majiayu000/spellbook
Created
6 months ago
Last Updated
2 days ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category