git-commit

Generate conventional git commits from diffs with automatic type and scope detection.

1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/wchen02/wchen-ai --skill git-commit-wchen02
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/wchen02/wchen-ai/tree/main/.agents/skills/git-commit
Command: npx skills add https://github.com/wchen02/wchen-ai --skill git-commit-wchen02

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Git developers often struggle with inconsistent commit messages and risky manual staging. This skill automates analysis of changes to produce conventional commits and guides safe, logical staging.

Core Features & Use Cases

  • Auto-detect type and scope from diffs to generate a conventional commit.
  • Interactive commit with optional type/scope/description overrides.
  • Intelligent file staging to group related changes for a clean history.

Quick Start

To commit changes with a conventional message using this skill, run a command that analyzes your git diff and creates a compliant 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 commits from git diffs automatically?

You can generate conventional commits by analyzing git diffs to auto-detect the type and scope. This skill automates that process, reading your staged and unstaged changes to produce a compliant commit message.

What is the best way to group related file changes for a clean git history?

Grouping related file changes requires intelligent staging to ensure coherent history. This skill orchestrates safe, logical staging by analyzing your diffs and guiding which files to group together for each commit.

Can I override the auto-detected type and scope when creating a conventional commit?

Yes, you can override the auto-detected type and scope. The skill supports interactive overrides, allowing you to manually adjust the type, scope, and description before finalizing the conventional commit.

How does intelligent file staging work with unstaged changes in a git repository?

Intelligent file staging works by processing both staged and unstaged changes within a git repository. It analyzes the diffs to group related modifications, ensuring logical and safe staging for a clean history.

Do I need to manually stage files before using an automated conventional commit tool?

No, you do not need to manually stage files beforehand. The tool handles both staged and unstaged changes, orchestrating intelligent file staging automatically as part of the commit generation process.