git-commit-cn

Generates Chinese commit messages compliant with Conventional Commits from code changes.

16|1|Updated Jan 2, 2026
One-click install
npx skills add https://github.com/bahayonghang/my-claude-code-settings --skill git-commit-cn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit-cn
Source: https://github.com/bahayonghang/my-claude-code-settings/tree/main/skills/git-commit-cn
Command: npx skills add https://github.com/bahayonghang/my-claude-code-settings --skill git-commit-cn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

生成符合约定式提交规范的中文 Git 提交信息,提升提交的一致性与可读性,减少手动撰写的时间成本。

Core Features & Use Cases

  • 自动分析代码变更并生成带有正确前缀的中文提交信息(feat/fix/docs 等)。
  • 支持将不同变更拆分为多个独立提交,方便回滚与审阅。
  • 适用于在日常开发中需要快速生成中文提交信息的场景,如提交新功能、修复和文档更新。

Quick Start

以自然语言提示 AI 生成提交信息,例如: “为最近的代码变更生成一个符合规范的中文提交信息,包含 feat/等前缀并使用中文描述。”

Frequently Asked Questions about git-commit-cn

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

FAQPage Schema
How do I generate Chinese commit messages following Conventional Commits?

Yes, you can generate Conventional Commits in Chinese by analyzing your code changes and applying correct prefixes like feat or fix with Chinese descriptions. The process enforces emoji prefixes for each type and disables Co-Authored-By signatures.

How do I split distinct code changes into separate git commits?

To split distinct code changes into separate git commits, analyze the diff and group related modifications into individual logical units. This skill automatically splits distinct changes into separate commits to facilitate easier rollback and code review.

Can I use emoji prefixes with Conventional Commits for my git history?

Yes, using emoji prefixes with Conventional Commits for your git history improves visual scanning of commit types. This skill enforces emoji prefixes for each commit type, generating messages like feat and fix accompanied by their respective emojis.

Does this Chinese git commit generator disable Co-Authored-By signatures?

Yes, this Chinese git commit generator disables Co-Authored-By signatures in the output messages. It ensures the generated Conventional Commits are clean and solely attribute the author without any automated co-authoring tags.

What is the best way to write Chinese git commit messages for code reviews?

The best way to write Chinese git commit messages for code reviews is to follow the Conventional Commits standard with accurate prefixes and clear Chinese descriptions. This ensures consistency, improves readability, and reduces manual writing time during development.