git-commit

Analyze diffs and generate Conventional Commits messages with auto-detected type and scope.

4|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/ClubMediterranee/ai-core --skill git-commit-clubmediterranee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/ClubMediterranee/ai-core/tree/main/skills/git-commit
Command: npx skills add https://github.com/ClubMediterranee/ai-core --skill git-commit-clubmediterranee

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyses your staged (or unstaged) diff and generates a standardized Conventional Commits message. Handles file staging, auto-detects the commit type and scope from the changes, and executes the commit.

Core Features & Use Cases

  • Auto-detects type and scope from the diff
  • Generates conventional commit messages under 72 characters
  • Stages and commits — or groups changes into multiple logical commits if needed

Quick Start

Ask it to commit changes using a command like /commit and it will automatically stage, generate a conventional message, and commit.

Frequently Asked Questions about git-commit

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

FAQPage Schema
How do I generate conventional commit messages from git diffs automatically?

To generate conventional commit messages from git diffs, use this Skill to analyze staged or unstaged changes and auto-detect the type and scope. It produces standardized messages under 72 characters, stages files as needed, and executes the commit.

Does the commit automation work on unstaged changes or only staged files?

The commit automation works on both unstaged changes and staged files. It analyzes the available diffs, auto-detects the commit type and scope, stages files as needed to group changes logically, and creates the final commit.

How do I override the auto-detected type and scope for a conventional commit?

You can override the auto-detected type and scope for a conventional commit by providing optional overrides. The Skill accepts custom inputs for type, scope, and description while still enforcing the standardized Conventional Commits formatting.

What is the best way to group multiple file changes into logical commits?

The best way to group multiple file changes into logical commits is to let the automation analyze the diffs and stage files as needed. It groups related changes together, generates a conventional commit message for each set, and commits them with a short hash reference.

Can I enforce a strict character limit for conventional commit messages?

Yes, you can enforce a strict character limit for conventional commit messages. The automation generates standardized Conventional Commits messages that are kept under 72 characters to maintain formatting consistency across your version control history.

Why use automated conventional commits instead of writing git commit messages manually?

Automated conventional commits ensure consistent version control formatting by auto-detecting type and scope from diffs. This prevents human error, maintains code quality standards, and saves time by staging and committing changes without manual message drafting.