chinese-commit-conventions

Standardize Chinese-language commit messages with commitlint and husky.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/vincent-ng/OpenAgentArm --skill chinese-commit-conventions-vincent-ng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chinese-commit-conventions
Source: https://github.com/vincent-ng/OpenAgentArm/tree/main/.trae/skills/chinese-commit-conventions
Command: npx skills add https://github.com/vincent-ng/OpenAgentArm --skill chinese-commit-conventions-vincent-ng

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

中文 Git 提交规范 — 适配国内团队的 commit message 规范和 changelog 自动化,提升团队协作中的历史可读性与变更跟踪。

Core Features & Use Cases

  • 类型与示例:定义常用 type、scope 和中文描述,帮助统一提交风格。
  • 脚本化规范:提供关于 subject、body、breaking changes 的撰写要点与模板。
  • Use Case:在大规模团队中统一提交格式,便于生成 changelog 与发布说明。

Quick Start

Write a sample commit message that follows the template and verify it with commitlint.

Frequently Asked Questions about chinese-commit-conventions

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

FAQPage Schema
How do I enforce Chinese commit messages using commitlint and husky?

To enforce Chinese commit messages with commitlint and husky, configure Git hooks to validate commit types, scopes, and subject lengths against defined Chinese-language templates before submission.

What is the conventional format for writing a Chinese Git commit message?

A conventional Chinese Git commit message standardizes project history by defining specific types, scopes, and Chinese descriptions for the subject, body, and breaking changes.

How do I automate changelog generation from standardized Chinese commits?

Automate changelog generation by applying standardized Chinese commit conventions across your team, allowing documentation tools to parse consistent types and scopes to track project history changes.

Does commitlint support validating Chinese characters in commit subjects?

Yes, commitlint supports validating Chinese characters by enforcing rules for type, scope, and subject length, ensuring readability and consistency for Chinese-speaking software teams.

What are the limitations of standardizing Chinese commit messages for large teams?

The limitation of standardizing Chinese commit messages is the strict enforcement of rules for type, scope, and breaking changes, which requires continuous team adherence to maintain formatting consistency.

Can I use husky to prevent non-compliant Chinese commit messages?

Yes, you can use husky to prevent non-compliant Chinese commit messages by integrating it with commitlint to enforce formatting rules and block submissions that violate the defined conventions.