git-commit

git-commit is a skill for Claude Code, Codex from adongwanai/learn-workbuddy. It costs 0 tokens per session (450 once invoked), scanned A, original, MIT.

A guided Git commit workflow that examines changes and creates a commit message using the Conventional Commits format, a shared style for labeling changes such as features, fixes, tests, or documentation.

In plain words
What is it for?
Use it to review staged and unstaged changes, choose a change category, create a Chinese commit message, and commit the relevant files.
Why use it?
It makes commit history more consistent and helps avoid committing unrelated files or sensitive files such as environment configuration.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review staged and unstaged changes, choose a change category, create a Chinese commit message, and commit the relevant files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/adongwanai/learn-workbuddy/git-commit
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.

Any agent
npx skills add adongwanai/learn-workbuddy --skill git-commit
Clone the repo
git clone --depth 1 https://github.com/adongwanai/learn-workbuddy

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/adongwanai/learn-workbuddy/git-commit/github.svg)](https://agentmods.dev/skills/adongwanai/learn-workbuddy/git-commit)
Your own site
<a href="https://agentmods.dev/skills/adongwanai/learn-workbuddy/git-commit"><img src="https://agentmods.dev/badge/skills/adongwanai/learn-workbuddy/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/adongwanai/learn-workbuddy/git-commit"><img src="https://agentmods.dev/badge/skills/adongwanai/learn-workbuddy/git-commit.svg" alt="Reviewed on agentmods" width="80" 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 450 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00000 $0.00450
Opus 5.5 $0.00000 $0.00180
Sonnet 5.5 $0.00000 $0.00090
Haiku 4.5 $0.00000 $0.00045

Measured 1mo ago against content hash a4efc01d7e56, 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 1mo 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/git-commit/SKILL.md · 69 lines

What it actually says

Git Commit 技能

触发条件

当用户说以下内容时激活:

  • "帮我提交代码"
  • "commit 一下"
  • "保存进度"
  • "check in"

工作流程

1. 检查变更

git status
git diff --staged
git diff

2. 分析变更类型

根据变更内容判断类型:

类型 说明 示例
feat 新功能 新增 API 端点
fix Bug 修复 修复空指针异常
docs 文档变更 更新 README
style 代码格式 格式化、去尾部空格
refactor 重构 提取公共函数
test 测试 新增单元测试
chore 构建/工具 更新依赖版本

3. 生成提交信息

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

feat(auth): 添加 OAuth2 登录支持

- 集成 Google 和 GitHub OAuth2 provider
- 添加 token 刷新机制
- 登录成功后重定向到 dashboard

4. 执行提交

git add <相关文件>
git commit -m "<提交信息>"

注意事项

  • 提交信息用中文描述(除非用户指定英文)
  • 一次提交只做一件事,不要混合多个不相关变更
  • 不要提交 .env、密钥等敏感文件
  • 如果 pre-commit hook 失败,先修复问题再提交
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. 1mo ago First seen · 69 lines · 0 tokens per session scan A a4efc01d7e56

Subscribe to this mod's changes

git-commit is a skill published in the GitHub repository adongwanai/learn-workbuddy (437 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 450 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-30.

Related

Other skills, from other repositories

git-expert

Expert-level Git version control with advanced workflows, branching strategies, and best practices for team collaboration. Use when the user mentions version control, collaboration, or workflow, or when the task involves Essential Git Commands, Advanced Git Techniques, Branching Strategies, or Conflict Resolution.

personamanagmentlayer/pcl · 57 tokens

codex-adapter

Route ONE bounded, mechanical task to the Codex CLI as a non-Claude executor, under the same review-before-merge gate as any other agent-produced diff. Use when the user explicitly asks to hand a task to Codex, or names OpenAI Codex / a non-Claude executor for a mechanical change (rename a symbol across files, add a…

wrg32786/aigent-os · 101 tokens

clean

Pre-commit anti-slop audit — checks staged/dirty files for code slop (debug artifacts, single-use helpers, dead imports) AND documentation slop (stale claims, broken internal links, new .md files, redundant sections). Writes a sentinel so the pre-commit-gate hook lets the commit through. MUST be invoked before git…

Rockielab/rockie-claude · 114 tokens

commit-helper

Conventional commit helper — analyze changes, detect secrets, create well-formatted commit.

RaNDoM6913/claude-code-superkit · 19 tokens

caveman-commit

Write a Conventional Commits message compressed to intent only. Use for "write a commit", "commit message", /commit or /caveman-commit.

JuliusBrussee/caveman · 38 tokens

git

Source-control safety for Git. Two rules apply whether or not you read the body. First, never commit, amend, push, tag, rebase, cherry-pick, revert, or reset --hard unless the user asked for that exact write in this session. An explicit request to create a new commit counts anywhere in the user's own task text, but it…

asgeirtj/system_prompts_leaks · 163 tokens