Agent skill

Git Commit Zh Split

by ztxz16 in ztxz16/fastllm

当用户要求提交代码、整理提交、准备 commit、拆分 commit、push,或指定提交与推送规范时使用。默认使用中文提交信息,将差异较大的改动拆分为多个提交;推送前先执行 fetch、stash、rebase、stash pop,再 push。

Apache-2.0Auto-check passedDevelopment

Install Git Commit Zh Split

skills CLI
$ npx skills add ztxz16/fastllm --skill git-commit-zh-split -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ztxz16/fastllm git-commit-zh-split --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ztxz16/fastllm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/git-commit-zh-split .claude/skills/git-commit-zh-split && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
git-commit-zh-split
GitHub stars
5.1k
Token cost
~359 tokens
SKILL.md length
119 words
Files
1
Skills in repo
2
Repo updated
First seen
Licence
Apache-2.0

At a glance

当用户要求提交代码、整理提交、准备 commit、拆分 commit、push,或指定提交与推送规范时使用。默认使用中文提交信息,将差异较大的改动拆分为多个提交;推送前先执行 fetch、stash、rebase、stash pop,再 push。

  • Works in 5 steps: 运行 git status --short,并检查相关 diff。 → 按用户可感知的目的、风险和作用范围决定提交边界。 → 每次只暂存一组逻辑相关的改动。 → …
  • Tasks that involve Commit messages
  • SKILL.md covers 规则, 工作流, 推送工作流 and 提交信息要求, plus 1 more section
  • Calls git

What it does

Git Commit Zh Split is an agent skill from ztxz16/fastllm. 当用户要求提交代码、整理提交、准备 commit、拆分 commit、push,或指定提交与推送规范时使用。默认使用中文提交信息,将差异较大的改动拆分为多个提交;推送前先执行 fetch、stash、rebase、stash pop,再 push。

Its SKILL.md is about 360 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Commit messages. It works with Git. The repository describes itself as: fastllm是后端无依赖的高性能大模型推理库。同时支持张量并行推理稠密模型和混合模式推理MOE模型,任意10G以上显卡即可推理满血DeepSeek。双路9004/9005服务器+单显卡部署DeepSeek满血满精度原版模型,单并发20tps;INT4量化模型单并发30tps,多并发可达60+。 The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Commit messages

Example prompts

  • “/git-commit-zh-split”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 运行 git status --short,并检查相关 diff。
  2. 按用户可感知的目的、风险和作用范围决定提交边界。
  3. 每次只暂存一组逻辑相关的改动。
  4. 为每组改动创建一个中文 commit。
  5. 全部提交完成后,再次运行 git status --short 确认工作区状态。

What it can do on your machine

Read from SKILL.md and the folder at commit 291974d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Git Commit Zh Split loads about 359 tokens when it runs. Until then it costs about 36 tokens; SKILL.md has 119 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~36
When it runs · the whole SKILL.md, loaded when a task matches
~359

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ztxz16/fastllm at commit 291974d, republished under its Apache-2.0 licence (© ztxz16). 119 words, ~359 tokens.

Download SKILL.mdSave it as .claude/skills/git-commit-zh-split/SKILL.md (or your agent's skills folder).
name
git-commit-zh-split
description
当用户要求提交代码、整理提交、准备 commit、拆分 commit、push,或指定提交与推送规范时使用。默认使用中文提交信息,将差异较大的改动拆分为多个提交;推送前先执行 fetch、stash、rebase、stash pop,再 push。

中文提交并按变更拆分

当用户要求创建提交、整理提交、准备 commit、执行 push,或明确提到提交与推送规范时,使用这个 skill。

规则

  • 除非用户明确要求其他语言,否则所有 commit message 都使用中文。
  • 提交前先检查当前 diff,按变更意图和影响范围分组。
  • 差异较大的改动要拆成多个 commit。
  • 构建系统、配置、测试、重构、功能修改等不同类型的改动,能分开时就不要混在同一个 commit 里。
  • 不要为了拆分而拆分,单个逻辑变更不能被切碎到多个 commit。
  • 如果工作区里混有不该一起提交的用户改动,先停下来确认,不要擅自一起提交。
  • 用户要求推送时,默认遵循固定流程:git fetch -> git stash -> git rebase -> git stash pop -> git push。
  • 如果工作区本来就是干净的,可以跳过 stash 和 stash pop,但仍然要先 fetch 再 rebase。
  • stash pop 后如果产生冲突,先解决冲突并确认工作区状态,再继续后续操作。

工作流

  1. 运行 git status --short,并检查相关 diff。
  2. 按用户可感知的目的、风险和作用范围决定提交边界。
  3. 每次只暂存一组逻辑相关的改动。
  4. 为每组改动创建一个中文 commit。
  5. 全部提交完成后,再次运行 git status --short 确认工作区状态。

推送工作流

当用户要求 push、同步远端,或需要把本地提交推到远端时,按下面顺序执行:

  1. 先运行 git fetch 同步远端引用。
  2. 如果工作区有未提交改动,先 git stash 保存现场。
  3. 基于对应远端分支执行 git rebase。
  4. 如果前面做过 stash,在 rebase 完成后执行 git stash pop。
  5. 如果 stash pop 或 rebase 产生冲突,先解决冲突并确认结果正确。
  6. 工作区状态确认正常后,再执行 git push。

如果用户明确要求其他流程,再按用户要求执行;否则默认使用这套顺序。

提交信息要求

  • 标题保持简洁,通常 8 到 20 个中文字符即可。
  • 优先使用表意明确的动词开头,例如:修复、重构、调整、补充、优化。
  • 需要时带上影响范围,例如:重构 cppOps 算子测试并补充性能基准。
  • 不要把多个独立目的写进同一个标题。

向用户汇报时

  • 按顺序列出本次创建的 commits。
  • 如果拆成多个 commit,简要说明拆分依据。
  • 如果有刻意未提交的本地修改,要明确说明。
  • 如果执行了 push,简要说明是否经历了 stash、rebase、冲突处理,以及最终推送结果。

© ztxz16, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .codex/skills/git-commit-zh-split of ztxz16/fastllm.

Open the folder on GitHubat commit 291974d

Compare with similar skills

Git Commit Zh Split next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Git Commit Zh Split compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Git Commit Zh Split this skillztxz16/fastllm5.1k—~359Automated safety check: PassApache-2.0
React Router Release Notes Prepremix-run/react-router57k—~1.1kAutomated safety check: PassMIT
ToolJet Multi-Repo CommitToolJet/ToolJet41k—~1.3kAutomated safety check: PassAGPL-3.0
Git Workflow and Versioningaddyosmani/agent-skills103k2 repos~3.5kAutomated safety check: NotesMIT
React Router Pull Request Creatorremix-run/react-router57k—~2.5kAutomated safety check: PassMIT
Verdaccio Pull Request Workflowverdaccio/verdaccio18k—~1.9kAutomated safety check: PassMIT

Similar skills

  • React Router Release Notes Prep

    remix-run/react-router

    Polishes pending React Router change files before the versioning scripts run, and decides whether a long-form What's Changed section is warranted.

    57k GitHub stars~1.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Commits changes across ToolJet's root repo and its server/ee and frontend/ee submodules, writing messages from the diffs and updating submodule pointers in order.

    41k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Git Workflow and Versioning

    addyosmani/agent-skills

    Sets git habits for every change: short-lived branches, atomic commits with descriptive messages, clean pull requests, plus versioning, tagging and changelogs for releases.

    103k GitHub starsUsed in 2 repos~3.5k tokens
    DevelopmentAuto-check: notes
  • React Router Pull Request Creator

    remix-run/react-router

    Packages finished React Router work into a draft pull request: branch, commit, push, a written PR body and the right GitHub labels.

    57k GitHub stars~2.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Takes a change through a verdaccio pull request: branch, local checks, changeset, title and body, labels, CI and review rounds, and ports to other release lines.

    18k GitHub stars~1.9k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Commits changes in the Saleor codebase and works through pre-commit hook failures from ruff, mypy, the GraphQL schema check and the migrations check.

    23k GitHub stars~575 tokensUpdated today
    DevelopmentAuto-check passed

More from ztxz16/fastllm

  • Fastllm Triton Ops

    ztxz16/fastllm

    Guide for adding Triton-backed CUDA operators to FastLLM. An agent skill from ztxz16/fastllm.

    5.1k GitHub stars~1.8k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Git Commit Zh Split

What does Git Commit Zh Split do?

当用户要求提交代码、整理提交、准备 commit、拆分 commit、push,或指定提交与推送规范时使用。默认使用中文提交信息,将差异较大的改动拆分为多个提交;推送前先执行 fetch、stash、rebase、stash pop,再 push。. Git Commit Zh Split is an agent skill from ztxz16/fastllm.

When should I use Git Commit Zh Split?

Git Commit Zh Split fits situations like: tasks that involve Commit messages.

How do I install Git Commit Zh Split in Claude Code?

Run `npx skills add ztxz16/fastllm --skill git-commit-zh-split -a claude-code`. Or copy the skill folder (.codex/skills/git-commit-zh-split in ztxz16/fastllm) into .claude/skills/git-commit-zh-split in your project. Claude Code loads it when a task matches its description.

How do I install Git Commit Zh Split in Codex?

Run `npx skills add ztxz16/fastllm --skill git-commit-zh-split -a codex`. Or copy the skill folder (.codex/skills/git-commit-zh-split in ztxz16/fastllm) into .agents/skills/git-commit-zh-split in your project. Codex loads it when a task matches its description.

Can I use Git Commit Zh Split in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ztxz16/fastllm --skill git-commit-zh-split -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/git-commit-zh-split, .gemini/skills/git-commit-zh-split, .github/skills/git-commit-zh-split and .opencode/skills/git-commit-zh-split in your project.

What does Git Commit Zh Split need to run?

Going by SKILL.md and its folder, Git Commit Zh Split needs the command-line tools its instructions call (git).

Does Git Commit Zh Split access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Git Commit Zh Split safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Git Commit Zh Split use?

Git Commit Zh Split is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Git Commit Zh Split use?

About 359 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Git Commit Zh Split?

Skills that share tags, products or a category with Git Commit Zh Split: React Router Release Notes Prep (remix-run/react-router, 57k stars), ToolJet Multi-Repo Commit (ToolJet/ToolJet, 41k stars), Git Workflow and Versioning (addyosmani/agent-skills, 103k stars) and React Router Pull Request Creator (remix-run/react-router, 57k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Git Commit Zh Split?

ztxz16 (a GitHub user) maintains it in ztxz16/fastllm, which has 5,094 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 7, 2026.

Source: ztxz16/fastllm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.