Use this skill when preparing a Chinese Git commit message.
Instructions
Inspect staged changes first with git diff --cached.
If nothing is staged, inspect unstaged changes with git diff.
Check recent style with git log --oneline -5.
Use this format:
<type>(<module>): 简短描述
- 修改点1
- 修改点2
- 修改点3
Keep the summary under 50 Chinese characters.
Use one of: feat, fix, refactor, perf, docs, test, chore.
If changes are unrelated, recommend splitting commits.
1---2name: git-commit-cn3description: Git Commit CN4---5# Git Commit CN67Use this skill when preparing a Chinese Git commit message.89## Instructions1011- Inspect staged changes first with `git diff --cached`.12- If nothing is staged, inspect unstaged changes with `git diff`.13- Check recent style with `git log --oneline -5`.14- Use this format:1516```text17<type>(<module>): 简短描述1819- 修改点120- 修改点221- 修改点322```2324- Keep the summary under 50 Chinese characters.25- Use one of: `feat`, `fix`, `refactor`, `perf`, `docs`, `test`, `chore`.26- If changes are unrelated, recommend splitting commits.
Run npx skillmds@latest add sahit-sai/git-commit-cn in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Git Commit CN It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
sahit-sai (@sahit-sai) published this skill. Their other Agent Skills are listed on their SkillMD profile.