git-commit-cn

git-commit-cn is a skill for Claude Code, Codex from CassianFlorin/skill-hub-registry. It costs 0 tokens per session (143 once invoked), scanned A, original, MIT.

A format for writing Chinese Git commit messages, which describe a set of saved code changes.

In plain words
What is it for?
It helps choose a change type, write a short Chinese summary, list the main modifications, and notice when unrelated changes should be split.
Why use it?
It makes commit messages consistent and asks the author to inspect the actual staged or unstaged changes first.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/cassianflorin/skill-hub-registry/git-commit-cn
Any agent
npx skills add CassianFlorin/skill-hub-registry --skill git-commit-cn
Clone the repo
git clone --depth 1 https://github.com/CassianFlorin/skill-hub-registry

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for git-commit-cn

README.md
[![agentmods](https://agentmods.dev/badge/skills/cassianflorin/skill-hub-registry/git-commit-cn.svg)](https://agentmods.dev/skills/cassianflorin/skill-hub-registry/git-commit-cn)
Your own site
<a href="https://agentmods.dev/skills/cassianflorin/skill-hub-registry/git-commit-cn"><img src="https://agentmods.dev/badge/skills/cassianflorin/skill-hub-registry/git-commit-cn.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 143 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00143
Opus 5 $0.00000 $0.00072
Sonnet 5 $0.00000 $0.00029
Haiku 4.5 $0.00000 $0.00014

Measured 4d ago against content hash ed696c1b2515, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

git-commit-cn scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/official/git-commit-cn/SKILL.md · 23 lines

What it actually says

Git Commit CN

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.
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 23 lines · 0 tokens per session scan A ed696c1b2515

Subscribe to this mod's changes

git-commit-cn is a skill published in the GitHub repository CassianFlorin/skill-hub-registry (2 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 143 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ship-it

Code commit, PR creation, merge, and issue closure workflow via GitHub CLI (gh). Triggers after a goal (GitHub Issue) implementation is complete — commit code, push branch, create PR, merge, then close the issue. Use when the user says "提交代码", "commit and merge", "创建PR", "合入", "关闭issue", "ship-it", or when a goal…

smallnest/goal-workflow · 96 tokens

re0-git

Rewrite a finished commit's message into a clean, handoff-ready form in your own log style, so git log alone tells the story. User-invoked: run it after a commit.

LilMGenius/paperthin · 46 tokens

setup-pre-commit

在当前仓库中设置 Husky pre-commit 钩子,集成 lint-staged(Prettier)、类型检查和测试。当用户想要添加 pre-commit 钩子、设置 Husky、配置 lint-staged、或添加提交时的格式化/类型检查/测试时使用。.

devcxl/mattpocock-skills-zh · 70 tokens

session-crosslink

Use when an agent session ran outside the repo whose commits should record it — e.g. launched from a higher-level folder, a non-Entire repo, or one repo but editing another — to attach the session to each affected Entire-enabled repo's HEAD commit.

entireio/skills · 56 tokens

conventional-commits

Enforce, validate, lint, and manage Conventional Commits across git repositories. Generates semantic changelogs and installs git hooks. Use this skill whenever the user mentions commit messages, commit conventions, conventional commits, semantic versioning, changelogs, commit linting, git hooks for commits, or wants…

hankunpeng/skills · 85 tokens

commit-simple

Branch, commit, and push changes. Use when preparing a commit or pushing work.

edonadei/caliper · 20 tokens