git-commit

Analyze git status and diff to generate standardized Chinese commit messages.

18|1|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/iAmMccc/ai-essentials --skill git-commit-iammccc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/iAmMccc/ai-essentials/tree/main/.claude/skills/git-commit
Command: npx skills add https://github.com/iAmMccc/ai-essentials --skill git-commit-iammccc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

当用户需要提交代码、写 commit message、或提到 git commit 时使用该技能。自动分析 git diff,生成规范的中文 commit message。

Core Features & Use Cases

  • 自动分析 git diff 与已暂存/未暂存的变更,提取关键信息
  • 根据变更类型打上标签,如 [新功能]、[修复]、[优化]、[文档]、[配置],并生成中文描述
  • 在对话中触发,直接输出可提交的 commit message 与涉及的文件列表

Quick Start

在对话中说「帮我提交」,让 AI 根据当前 git 变更生成规范的中文 commit message 并输出要提交的文件和 message

Frequently Asked Questions about git-commit

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

FAQPage Schema
How do I generate a standardized Chinese commit message from git diff?

To generate a Chinese commit message, trigger the skill in your conversation. It analyzes your git diff and staged changes, assigns a type tag like [新功能] or [修复], and outputs a formatted message within 50 Chinese characters.

Can I automatically categorize code changes for git commit messages?

Yes, you can automatically categorize code changes for git commit messages. The skill analyzes your repository changes and assigns specific tags such as [优化], [文档], or [配置] based on the detected modification type.

Does this git commit message generator work without external dependencies?

Yes, this git commit message generator works without external dependencies. It operates entirely within your local repository workflow by analyzing native git status and git diff outputs to format the commit-ready text.

What is the character limit for the generated Chinese commit message?

The character limit for the generated Chinese commit message is 50 Chinese characters. The skill formats the analyzed code changes concisely to ensure the final commit-ready text stays within this strict boundary.

How do I trigger the automated commit message generation in my coding workflow?

To trigger automated commit message generation in your coding workflow, simply say "帮我提交" in the conversation. The skill will analyze your current git changes and output the commit message with the affected file list.