claude-quickstart-cn: Skill for Claude Code

.claude/skills/git-commit/SKILL.md

git-commit is a skill for Claude Code from rootsli/claude-quickstart-cn. It costs 20 tokens per session (550 once invoked), scanned A, original, CC0-1.0.

A tool for creating Git commit messages in the Conventional Commits format, a standard way to describe code changes such as fixes, features, and documentation updates.

In plain words
What is it for?
Use it after reviewing a Git diff or status to choose a change type, identify its scope, and write a concise subject and optional body in Simplified Chinese.
Why use it?
It turns the current changes into a consistent commit description without making you decide the wording and category from scratch.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is rootsli/claude-quickstart-cn's own configuration. It tells Claude Code how to work on claude-quickstart-cn itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-quickstart-cn configures →

Reuse

Borrowing it

Nothing to install: this file belongs to rootsli/claude-quickstart-cn. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/rootsli/claude-quickstart-cn/main/.claude/skills/git-commit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/rootsli/claude-quickstart-cn

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/rootsli/claude-quickstart-cn/git-commit/github.svg)](https://agentmods.dev/skills/rootsli/claude-quickstart-cn/git-commit)
Your own site
<a href="https://agentmods.dev/skills/rootsli/claude-quickstart-cn/git-commit"><img src="https://agentmods.dev/badge/skills/rootsli/claude-quickstart-cn/git-commit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for git-commit

Your own site · 80×15
<a href="https://agentmods.dev/skills/rootsli/claude-quickstart-cn/git-commit"><img src="https://agentmods.dev/badge/skills/rootsli/claude-quickstart-cn/git-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 550 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00020 $0.00550
Opus 5.5 $0.00008 $0.00220
Sonnet 5.5 $0.00004 $0.00110
Haiku 4.5 $0.00002 $0.00055

Measured 2mo ago against content hash 81828c816410, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

git-commit 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 2mo 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.

.claude/skills/git-commit/SKILL.md · 96 lines

What it actually says

Git Commit

Git 提交信息生成技能,根据代码变更自动生成规范的 commit message。

什么时候使用

当用户请求以下操作时使用此 skill:

  • 生成 commit message
  • 写提交信息
  • 提交代码
  • 描述代码变更

操作说明

提交信息格式

遵循 Conventional Commits 规范:

<type>(<scope>): <subject>

<body>

<footer>

类型

类型 说明
feat 新功能
fix 修复 bug
docs 文档变更
style 格式调整
refactor 重构
perf 性能优化
test 测试相关
chore 构建/工具

生成步骤

  1. 分析变更 - 查看 git diff 或 git status
  2. 确定类型 - 根据变更内容选择合适的类型
  3. 提取范围 - 确定影响的模块或组件
  4. 撰写主题 - 用简洁的语言描述变更(50 字符内)
  5. 添加正文 - 如需要,详细说明变更原因和影响

规则

  • 提交信息使用简体中文
  • 主题行不超过 50 个字符
  • 主题行结尾不加句号
  • 正文每行不超过 72 个字符

示例

示例 1:新功能

feat(auth): 新增 OAuth2 登录支持

- 新增对 Google OAuth2 的登录支持
- 新增对 GitHub OAuth2 的登录支持
- 更新登录页面,添加社交登录按钮

示例 2:修复 Bug

fix(api): 修复用户服务中的空指针异常问题

- 修复了在用户不存在时的空指针异常问题

关闭了问题 #123

示例 3:文档更新

docs(readme): 更新安装说明

新增了 Docker 设置指南和澄清了环境变量的作用.

示例 4:重构

refactor(database): 异步代码从回调模式迁移至 async/await

将所有数据库操作转换为 async/await 模式,以提高可读性和错误处理能力.
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. 2mo ago First seen · 96 lines · 20 tokens per session scan A 81828c816410

Subscribe to this mod's changes

git-commit is a skill published in the GitHub repository rootsli/claude-quickstart-cn (10 stars, last pushed 3mo ago), licensed CC0-1.0. It adds 20 tokens to every session and 550 once invoked, about $0.0001 per session on Opus 5.5. 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

git-commit compared with skills from other repositories

git-commit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
git-commitrootsli/claude-quickstart-cnSkill103mo agoCC0-1.0A20Claude Code
create-prprisma/ormSkill48kyesterdayApache-2.0A48Claude Code, Codex
git-commitThinkInAIXYZ/deepchatSkill6.4kyesterdayApache-2.0A15Claude Code, Codex
repo-syncdavidondrej/skillsSkill4.3k3d agoMITA25Claude Code, Codex
engineer-bot-opsmakecindy/cindySkill9.3kyesterdayApache-2.0A57Claude Code, Codex
mcore-split-prNVIDIA/skillsSkill3.9kyesterdayApache-2.0A25Claude Code
git-commit-writermergisi/awesome-openclaw-agentsSkill4.1k2d agoMITA53Claude Code, Codex