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

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/hackerfish/awesome-dsh-skills/dsh-git-commit
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.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.svg" alt="Measured on agentmods" 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. 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.00030 $0.00395
Opus 5 $0.00015 $0.00198
Sonnet 5 $0.00006 $0.00079
Haiku 4.5 $0.00003 $0.00040

Measured 4d ago against content hash 66721c162f02, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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/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. 无大文件、临时文件、构建产物:.lognode_modulesdist.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. 4d 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 (5 stars, last pushed 3d ago), licensed MIT. It adds 30 tokens to every session and 395 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

dsh-plugin-dev

当需要给 DeepSeek Harness 写插件、调试插件没加载或没注入的问题、或理解 Cordis 的组件生命周期时使用——覆盖导出规则、依赖声明、可逆效应和加载路径陷阱。.

pingfanfan/hello-dsh · 55 tokens

api-design

当需要设计接口、给模块加公开方法、定义数据结构或评估某个 API 该不该存在时使用——按"有几个真实调用方"来判断必要性,优先让错误用法无法编译。.

pingfanfan/hello-dsh · 54 tokens

dsh-first-plugin

当需要从零做出并装上第一个 DSH 插件时使用——给出跑通的完整流程(写文件、写 overlay、加载、验证),以及实测会踩到的三个报错和它们的确切修法。.

pingfanfan/hello-dsh · 60 tokens

dsh-onboarding

当用户第一次使用 DeepSeek Harness(DSH),或在启动、工作区、权限、技能发现环节卡住时使用——解释 DSH 的进程模型、目录约定和权限边界,并给出可自查的排错路径。.

pingfanfan/hello-dsh · 60 tokens

dsh-skill-dev

当需要给 DeepSeek Harness 写一个技能、调试技能没被发现的问题、或决定某个能力该做成技能还是插件时使用——覆盖 frontmatter 规则、发现路径、fail-closed 陷阱和自测方法。.

pingfanfan/hello-dsh · 59 tokens

dsh-troubleshoot

当 DeepSeek Harness 起不来、插件没加载、技能不见了、工具报 UNKNOWNTOOL、或出现"配置写了但没生效"这类静默失效时使用——按静默失效优先的顺序排查。.

pingfanfan/hello-dsh · 61 tokens