
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-codeInstalls 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- Subagent Driven Development1K
- Executing Plans1K
- Requesting Code Review1K
- Finishing A Development Branch993
- Using Git Worktrees987
- Chinese Git Workflow979
- Dispatching Parallel Agents970
- Writing Skills967
- Mcp Builder963
- Workflow Runner952
- Using Superpowers1.2K
- Chinese Documentation1.2K
- Brainstorming1.2K
- Systematic Debugging1.2K
- Receiving Code Review1.1K
- Verification Before Completion1.1K
- Writing Plans1.1K
- Test Driven Development1.1K
- Chinese Code Review1.1K