commit

Solid

Generate a conventional commit message for staged changes

AI & Automation 4,576 stars 611 forks Updated today CC-BY-SA-4.0

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
72
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Conventional Commit Generate a conventional commit message for staged changes. ## Instructions 1. Run `git diff --cached` to see staged changes 2. Analyze the nature of changes 3. Generate a commit message following the format below ## Commit Format ``` <type>(<scope>): <subject> [optional body] [optional footer] ``` ### Types - `feat`: New feature - `fix`: Bug fix - `docs`: Documentation only - `style`: Formatting, missing semicolons, etc. - `refactor`: Code change that neither fixes nor adds feature - `perf`: Performance improvement - `test`: Adding missing tests - `chore`: Maintenance tasks ### Rules - Subject: imperative mood, no period, max 50 chars - Body: explain WHAT and WHY, not HOW - Footer: breaking changes, issue references ## Examples ``` feat(auth): add password reset functionality Implement password reset flow with email verification. Users can now request a reset link and set new password. Closes #123 ``` ``` fix(api): prevent race condition in order processing Add mutex lock to ensure orders are processed sequentially. This fixes duplicate charge issues reported by users. Fixes #456 ``` ``` refactor(cart): extract pricing logic to separate module No functional changes. Improves testability and separates concerns for future discount feature. ``` ## Execution After analyzing staged changes, suggest a commit message. Ask for confirmation before executing `git commit -m "..."`. $ARGUMENTS

Details

Author
FlorianBruniaux
Repository
FlorianBruniaux/claude-code-ultimate-guide
Created
4 months ago
Last Updated
today
Language
TypeScript
License
CC-BY-SA-4.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Solid

commit-messages

Generate conventional commit messages from staged changes with correct type/scope. Use when generating commit messages in conventional commits format. DO NOT use when: full PR preparation - use pr-prep instead.

294 Updated today
athola
Code & Development Solid

git-commit

Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping

34,158 Updated yesterday
github
Code & Development Listed

git-commit

Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping

5 Updated 3 days ago
kogakure
Code & Development Listed

formatting-commits

Generates a well-structured, conventional Git commit message from the user's staged changes or a description of what they did. Use when the user says "write a commit message", "format my commit", or "help me commit this". Outputs a ready-to-paste commit message following the Conventional Commits specification.

2 Updated today
cxshoutghost
Code & Development Listed

git-commit

Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping

1 Updated today
AruNi-01