jnmetacode avatar

Chinese Commit Conventions

This is a comprehensive Chinese localization of the Conventional Commits spec with full tooling configs for commitlint, husky, and conventional-changelog. It keeps type keywords in English for tool compatibility but adapts scope and description to Chinese, complete with real examples like "feat(用户模块): 添加手机号一键登录功能". You get ready-to-use .versionrc.js configs that map types to Chinese changelog sections (新功能, 缺陷修复), commitlint rules that disable case checking for Chinese characters, and a team implementation checklist. Useful if you're standardizing commits for a Chinese-speaking dev team and want the structure of Conventional Commits without forcing everything into English. The guide explicitly tells you to invoke it with /chinese-commit-conventions rather than triggering automatically.

skills.sh installs
1K
GitHub stars
8.5K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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(订单): 修复并发下单导致库存超卖的问题

Sponsors

Details

Repository
github.com/jnmetacode/superpowers-zh
Categories
Git & Pull Requests, Release Management
First seen
Jun 3, 2026

More from jnmetacode/superpowers-zh

All 20
1dimillian avatargithubdimillian/skillsInteract with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries. Use when the user asks 891skills.sh installs
2getsentry avatarcreate-prgetsentry/skillsAlias for sentry-skills:pr-writer. Use when users explicitly ask for "create-pr" or reference the legacy skill name. Redirects to the canonical PR writing workf623skills.sh installs
3alirezarezvani avatargit-worktree-manageralirezarezvani/claude-skillsRun parallel feature work safely with Git worktrees. Standardizes branch isolation, port allocation, environment sync, and cleanup so each worktree behaves like594skills.sh installs
4intellectronica avatarhere-be-gitintellectronica/agent-skillsInitialise a git repository with optional agent commit instructions and .gitignore. Use when users say "here be git", "init git", "initialise git", or otherwise531skills.sh installs
5parcadei avatargit-commitsparcadei/continuous-claude-v3Git Commit Rules523skills.sh installs
6aj-geddes avatargit-hooks-setupaj-geddes/useful-ai-promptsImplement Git hooks using Husky, pre-commit, and custom scripts. Enforce code quality, linting, and testing before commits and pushes.450skills.sh installs