git-commit Git 提交

Analyze workspace changes and generate Chinese Conventional Commits messages.

1|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/XIYBHK/claude-skills --skill git-commit-git
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit Git 提交
Source: https://github.com/XIYBHK/claude-skills/tree/main/git-commit
Command: npx skills add https://github.com/XIYBHK/claude-skills --skill git-commit-git

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

自动化生成符合 Conventional Commits 规范的 git 提交信息,并自动执行 git add 和 git commit,减少人为错误并提升提交质量。

Core Features & Use Cases

  • 自动分析工作区的修改文件并推断作用域(scope);
  • 根据修改内容生成中文的提交信息,符合 Conventional Commits 规范;
  • 自动执行 git add 和 git commit,以一键完成提交流程。

Quick Start

在需要提交改动时,直接让技能生成符合规范的提交信息并执行提交。

Frequently Asked Questions about git-commit Git 提交

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

FAQPage Schema
How do I automatically generate git commit messages that conform to Conventional Commits?

To automatically generate Conventional Commits messages, this Skill analyzes your workspace changes, infers the scope, creates a Chinese commit message, and executes git add and git commit for you.

Do I need Python to automate git commits with a script?

Yes, you need a Python runtime to run the provided analysis script and execute the git commit actions, along with Git installed in your environment.

What is the best way to write Chinese Conventional Commits for my repository changes?

The best way to write Chinese Conventional Commits is to use this automation script, which analyzes modified files, infers the correct scope, generates the compliant message, and commits directly.

Can I use this automation tool to analyze modified files and infer the scope for my git commits?

Yes, you can use this automation tool to analyze modified files in your workspace and automatically infer the appropriate scope before generating the commit message and executing the commit.

How do I run the git add and git commit workflow in one step after analyzing changes?

You can execute the git add and git commit workflow in one step by letting this script analyze your workspace modifications and automatically perform both actions with a compliant message.

Why should I use a script for Conventional Commits instead of writing them manually?

Using a script for Conventional Commits reduces human error and improves commit quality by automatically analyzing changes, inferring scope, and generating compliant Chinese commit messages.