content/skills/git-github-skills/git-commit-cn/SKILL.md
Safely orchestrate Chinese Conventional Commits for staged Git changes. Use when the user asks to write a commit message, split staged changes into multiple commits, organize a messy index before committing, prepare a Chinese commit, draft a Conventional Commit, or generate structured commit text without pushing by default.
npx skillsauth add bahayonghang/my-claude-code-settings git-commit-cnInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this workflow in order: preflight -> split plan -> classify -> compose -> commit/draft -> verify.
git status --short, git diff --staged --stat, and git diff --staged. If rtk is available, prefer rtk git status and rtk git diff --staged for model-visible inspection.git commit.type, optional scope, emoji policy, and whether ! / BREAKING CHANGE is required.type in English. Prefer Chinese for scope, subject, body, and explanatory output unless the user clearly asked for English.python "$SKILL_DIR/scripts/compose_commit_message.py" ....--body-line for body content--closes for closing issues--refs for non-closing issue references--footer-line for other structured trailers such as Jira references--breaking-header when the header itself must include !--breaking when a BREAKING CHANGE: trailer is needed--no-emoji only when the user explicitly opts outCo-Authored-By, attribution lines, or push commands by default.git commit -F <message-file> so PowerShell and POSIX shells behave consistently.rtk is available and the user wants compact feedback, rtk git commit -F <message-file> is acceptable for the final commit step.git push if the user explicitly asked for it.git commit output before claiming success.development
Use only when the user explicitly asks for swarm, subagents, parallel agents, dynamic workflow, multi-agent orchestration, 多智能体编排, or when the task truly needs coordinated research plus implementation plus review plus verification packets. Do not use for ordinary code review, planning-only work, single-line bugfixes, routine audits, or migrations unless orchestration is requested or at least two independent workflow dimensions are present.
development
Run a code quality review focused on maintainability, structure, abstraction quality, file growth, branching complexity, boundary cleanliness, and refactoring opportunities. Use when the user asks for code quality review, code review, maintainability review, architecture quality review, PR code quality feedback, 代码质量审查, 代码质量 review, 可维护性审查, 架构质量审查, or review comments about code structure. Do not use for pure security review, formatting-only review, performance profiling, or implementation tasks unless the user also asks for a code quality review.
development
Plan-first brainstorming workflow that turns an idea into an approved Markdown implementation plan by default. Use when the user wants to brainstorm, design, scope, or plan a feature/spec before implementation. Spark explores project context, asks only blocking questions, writes the plan under the project root's .plannings/YYYY-MM-DD-feature-slug.md path, self-reviews it, and waits for user approval. Create an HTML or visual plan/spec only when the user explicitly asks for HTML, browser-viewable, or visual output; save the paired .html beside the Markdown plan.
development
Run a code quality review focused on maintainability, structure, abstraction quality, file growth, branching complexity, boundary cleanliness, and refactoring opportunities. Use when the user asks for code quality review, code review, maintainability review, architecture quality review, PR code quality feedback, 代码质量审查, 代码质量 review, 可维护性审查, 架构质量审查, or review comments about code structure. Do not use for pure security review, formatting-only review, performance profiling, or implementation tasks unless the user also asks for a code quality review.