git-commit

Analyze git status and diff outputs to generate structured commit messages.

1|Updated Jan 18, 2026
One-click install
npx skills add https://github.com/kasiopeiya/oidc-learning-sandbox --skill git-commit-kasiopeiya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/kasiopeiya/oidc-learning-sandbox/tree/main/.claude/skills/git-commit
Command: npx skills add https://github.com/kasiopeiya/oidc-learning-sandbox --skill git-commit-kasiopeiya

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzes git changes and automatically generates well-formatted commit messages, reducing manual overhead and ensuring a clean, interpretable project history.

Core Features & Use Cases

  • Analyze changes via git status and git diff to classify changes as A, M, or D.
  • Automatically generate commit messages with appropriate types (feat/fix/docs/refactor/chore) and concise descriptions.
  • Automatically split changes into multiple commits when different types are detected, with optional per-directory splitting.
  • Decide staging targets and guide the user through a confirmation flow before executing git add and git commit.
  • Provide a clear, user-friendly preview of generated messages and involved files prior to committing.

Quick Start

Run the /git-commit command to start the agent and follow prompts to review, approve, and apply the generated commits.

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 structured git commit messages from my staged changes?

Automated git commit message generation parses git status and diff outputs to deduce commit types like feat or fix, then prompts for user confirmation before executing git add and git commit. This ensures a clean, interpretable project history with minimal manual overhead.

Can I split mixed git changes into multiple commits based on type?

Yes, splitting mixed git changes into multiple commits is supported by detecting different change types during diff analysis and automatically separating them, with optional per-directory splitting for cleaner version control workflows.

How does automated commit analysis classify added, modified, or deleted files?

Automated commit analysis classifies files by parsing git status and diff outputs, labeling changes as A, M, or D, then deducing appropriate commit types such as feat, fix, docs, refactor, or chore to generate structured messages.

Do I need to manually run git add before using an automated commit generation workflow?

No, manual git add is not required beforehand. The workflow decides staging targets automatically based on the analyzed diff and guides you through a confirmation flow previewing involved files before executing git add and git commit.

What is the best way to enforce conventional commits without writing messages manually?

The best way to enforce conventional commits automatically is to use an agent that analyzes diffs, deduces the correct commit type, provides a user-friendly preview of the generated message, and requests confirmation before applying the commit.

Does automated commit generation execute git commit without user confirmation?

No, automated commit generation does not execute git commit without user confirmation. It provides a clear preview of generated messages and involved files, requiring explicit approval before running git add and git commit.