Skip to content
jnmetacode avatar

Chinese Commit Conventions

Chinese-language commit and changelog reference covering Conventional Commits adaptation, commitlint, husky, and conventional-changelog setup.

CCM score
69 of 100
skills.sh installs
1.1K
GitHub stars
8.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Conventional Commits type definitions, Chinese subject and body rules, and breaking change and issue-linking formats for Gitee, Coding, and GitHub
  • Includes templates for commitlint.config.js, .versionrc.js, lint-staged, and a Chinese prompt configuration for commitizen
  • Enforces a 50-character subject limit, a 72-character body line limit, and a commit-msg hook that runs commitlint
  • Designed for Chinese-speaking teams that want commit messages in Chinese while keeping the type keywords in English for tooling compatibility

Install

$ npx -y skills add jnmetacode/superpowers-zh --skill chinese-commit-conventions -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

中文 Git 提交规范

1. Conventional Commits 中文适配

基于 Conventional Commits 1.0.0 规范,针对中文团队的实际使用习惯进行适配。

类型(type)定义

类型说明示例场景
feat新功能添加用户注册模块
fix修复缺陷修复登录页白屏问题
docs文档变更更新 API 接口文档
style代码格式(不影响逻辑)调整缩进、补充分号
refactor重构(非新功能、非修复)拆分过长的服务类
perf性能优化优化首页列表查询速度
test测试相关补充用户模块单元测试
chore构建/工具/依赖变更升级 webpack 到 v5
ci持续集成配置修改 GitHub Actions 流程
revert回滚提交回滚 v2.1.0 的登录重构

原则

  • type 保留英文关键字(工具链兼容性好)
  • scope 和 description 使用中文
  • body 使用中文完整描述

2. 中文 commit message 模板

<type>(<scope>): <subject>

<body>

<footer>

完整示例

feat(用户模块): 添加手机号一键登录功能

- 接入运营商一键登录 SDK
- 支持移动、联通、电信三网
- 登录失败自动降级到短信验证码

Closes #128
fix(订单): 修复并发下单导致库存超卖的问题

Details

Repository
github.com/jnmetacode/superpowers-zh
Categories
Git & Releases, Writing & Content
First seen
Jun 3, 2026

Questions

What does the chinese-commit-conventions skill do?

chinese-commit-conventions is a reference for writing Chinese commit messages and changelogs. It covers Conventional Commits adapted for Chinese teams, plus commitlint, husky and commitizen templates and conventional-changelog settings in Chinese.

How do I install the chinese-commit-conventions skill?

Run npx -y skills add jnmetacode/superpowers-zh --skill chinese-commit-conventions -y in a project. After that, chinese-commit-conventions gives your agent the Chinese commit and changelog templates.

When should I invoke chinese-commit-conventions?

chinese-commit-conventions runs only when you call /chinese-commit-conventions explicitly, and it does not trigger automatically from context. It is for teams that want commit messages and changelog configuration written in Chinese.

Where does chinese-commit-conventions sit in the Git & Releases category?

chinese-commit-conventions is listed in the Git & Releases category next to triage and git-guardrails-claude-code. Its own focus is Chinese-language commit message templates and changelog setup for Chinese development teams.

More from jnmetacode/superpowers-zh

All 20

Similar to Chinese Commit Conventions

More Git & Releases