GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - nanami7777777/git-commit-cn: 中文 Git 提交信息规范 Agent Skill — Conventional Commits + 从 diff 自动生成 commit 的决策逻辑

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SKILL.md
SKILL.md
 
 

Repository files navigation

中文 Git 提交信息规范

Skills License: MIT

让 AI agent 帮你写出规范的中文 Git commit message。

安装

npx skills add nanami7777777/git-commit-cn

这个 skill 做什么

安装后,你的 AI agent(Claude Code / Cursor / Kiro / Codex)在帮你写 commit message 时会自动:

  1. 用 Conventional Commits 格式
  2. scope 用中文业务域(用户、订单、支付)而不是文件名
  3. subject 用中文祈使语气,描述效果而不是实现细节
  4. 根据 diff 内容自动判断 type(feat/fix/refactor/...)
  5. 复杂改动自动加 body 说明根因和方案选择
  6. 多种不相关改动时提醒你拆分 commit

效果示例

之前(没有 skill):

update code
fix bug
修改了一些东西

之后(安装 skill):

feat(购物车): 支持批量删除商品
fix(订单): 修复并发下单时库存超卖
refactor(支付): 统一微信和支付宝的回调处理

覆盖的场景

  • ✅ 从 diff 自动生成 commit message
  • ✅ type 选择决策树(容易判断错的情况都列了)
  • ✅ scope 用中文业务域的规则
  • ✅ body 什么时候写、怎么写(修 bug / 重构 / 破坏性变更 三种模板)
  • ✅ 多 commit 拆分策略
  • ✅ Changelog 生成规则
  • ✅ 语义化版本号决策

兼容性

适用于所有支持 Agent Skills 标准的工具:Claude Code / Cursor / Kiro / Codex / OpenCode / GitHub Copilot / Aider 等。

License

MIT

About

中文 Git 提交信息规范 Agent Skill — Conventional Commits + 从 diff 自动生成 commit 的决策逻辑

Topics

agent-skillschineseclaude-codeconventional-commitscursorgitkiro

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.