git-commit

Generate conventional commit messages from diffs with optional interactive overrides.

Updated May 25, 2026
One-click install
npx skills add https://github.com/Chieji/my-skills --skill git-commit-chieji
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/Chieji/my-skills/tree/main/git-commit
Command: npx skills add https://github.com/Chieji/my-skills --skill git-commit-chieji

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzing diffs to automatically craft semantic, conventional commit messages that align with project standards and improve history readability.

Core Features & Use Cases

  • Deterministic type and scope detection from changes to generate <type>[<scope>]: <description> messages.
  • Automated commit message creation that follows the Conventional Commits spec.
  • Safe, auditable process with optional interactive overrides for type, scope, or description.

Quick Start

Analyze the current diff and generate a conventional commit message.

Frequently Asked Questions about git-commit

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

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

Automating conventional commit messages from git diffs involves analyzing the staged changes to deterministically detect the type and scope, then constructing a standardized message like <type>[<scope>]: <description> to standardize history.

What is the best way to ensure my git commits follow the conventional commits spec?

The best way to ensure git commits follow the conventional commits spec is to use an automated tool that parses your diffs and applies deterministic type and scope detection to standardize history readability without manual formatting errors.

Can I override the type and scope automatically detected from my staging diff?

Yes, you can override the type and scope automatically detected from your staging diff. The process provides optional interactive overrides for type, scope, and description before executing the safe commit.

Does this approach to generating commit messages work without external dependencies?

Yes, generating commit messages works without external dependencies. The automation operates independently to analyze diffs and apply the conventional commits spec without requiring additional modules or component installations.

When do I need to automate commit message creation from diffs?

You need to automate commit message creation from diffs during typical software development workflows like review and staging, when you want to standardize history readability and align commit messages with project standards safely.

Why should I use automated diff analysis for conventional commits instead of writing them manually?

Automated diff analysis for conventional commits standardizes history readability and aligns messages with project standards safely, removing the manual effort and human error inherent in interpreting complex diffs during staging and committing.