dsh-git-commit

dsh-git-commit is a skill for Claude Code, Codex from hackerFish/awesome-dsh-skills. It costs 30 tokens per session (395 once invoked), scanned A, original, MIT.

A Git commit guide for writing standardised commit messages and performing basic checks before committing code. Git commits are saved checkpoints in a project’s history.

In plain words
What is it for?
Use it when preparing commits to check staged changes, look for credentials and temporary files, keep commits focused, and describe fixes clearly.
Why use it?
It reduces unclear history, accidental secrets, unwanted files, and commits that mix unrelated changes.

Skill for Claude CodeCodex

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

Good fit Use it when preparing commits to check staged changes, look for credentials and temporary files, keep commits focused, and describe fixes clearly.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hackerfish/awesome-dsh-skills/dsh-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 hackerFish/awesome-dsh-skills --skill dsh-git-commit
Clone the repo
git clone --depth 1 https://github.com/hackerFish/awesome-dsh-skills

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 dsh-git-commit

README.md
[![agentmods](https://agentmods.dev/badge/skills/hackerfish/awesome-dsh-skills/dsh-git-commit/github.svg)](https://agentmods.dev/skills/hackerfish/awesome-dsh-skills/dsh-git-commit)
Your own site
<a href="https://agentmods.dev/skills/hackerfish/awesome-dsh-skills/dsh-git-commit"><img src="https://agentmods.dev/badge/skills/hackerfish/awesome-dsh-skills/dsh-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 dsh-git-commit

Your own site · 80×15
<a href="https://agentmods.dev/skills/hackerfish/awesome-dsh-skills/dsh-git-commit"><img src="https://agentmods.dev/badge/skills/hackerfish/awesome-dsh-skills/dsh-git-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 395 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.00030 $0.00395
Opus 5.5 $0.00012 $0.00158
Sonnet 5.5 $0.00006 $0.00079
Haiku 4.5 $0.00003 $0.00040

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

Security

Grade A, and why

dsh-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/dsh-git-commit/SKILL.md · 32 lines

What it actually says

规范化 Git 提交

提交格式(约定式提交)

<type>(<scope>): <subject>
  • type:feat(新功能)、fix(修复)、docs(文档)、chore(杂务)、refactor(重构)、test(测试)、perf(性能)
  • subject:祈使句,≤ 50 字符,写"动机/效果"而不是"做了什么动作"
  • 需要更多上下文时,空一行后写 body:为什么改、影响范围、验证方式

提交前最小自检(逐条确认)

  1. git diff --cached 通读一遍,确认没有混入无关改动
  2. 无密钥/令牌/密码:git diff --cached | grep -iE "token|secret|password|api[_-]?key" 无意外命中
  3. 无大文件、临时文件、构建产物:.log、node_modules、dist、.DS_Store 不进库
  4. 每个提交只做一件事:功能与格式化分两次提交
  5. 测试通过后才提交;被测试覆盖的修复在 subject 里写清复现路径

小步提交

  • 一次提交对应一个可回滚的逻辑单元
  • 先提交能让项目处于"可用状态"的最小改动,再叠加
  • 与 issue 关联:fix: ... (#42)
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 · 32 lines · 30 tokens per session scan A 66721c162f02

Subscribe to this mod's changes

dsh-git-commit is a skill published in the GitHub repository hackerFish/awesome-dsh-skills (4 stars, last pushed 1mo ago), licensed MIT. It adds 30 tokens to every session and 395 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.