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.
npx skills add YangsonHung/awesome-agent-skills --skill git-stepwise-commit-cngit clone --depth 1 https://github.com/YangsonHung/awesome-agent-skillsWrote 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.
[](https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/git-stepwise-commit-cn)<a href="https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/git-stepwise-commit-cn"><img src="https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/git-stepwise-commit-cn/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.
<a href="https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/git-stepwise-commit-cn"><img src="https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/git-stepwise-commit-cn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00047 | $0.02452 |
| Opus 5.5 | $0.00019 | $0.00981 |
| Sonnet 5.5 | $0.00009 | $0.00490 |
| Haiku 4.5 | $0.00005 | $0.00245 |
Grade A, and why
git-stepwise-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 22d 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.
How it starts
The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
分步提交
Overview
将已授权的改动组织成粒度适中、依赖明确的提交序列。先分技术边界,再按业务模块与变更目的细分;每笔表达一个完整意图。
一次分步提交请求是一个批次。提交内容可以按模块拆开,整批标题中的简短主题必须固定,不能随模块变化。
何时使用
- 用户要求提交当前改动、按模块或前后端分批提交,或提交并推送。
- 用户仅要求拆分建议时,输出计划而不提交。
不要使用
仅推送已有提交、改写历史或明确要求单笔提交时,不使用本技能。
适用边界
- 提交请求应完成分析和逐笔提交;仅请求拆分建议时只输出计划。展示计划后,不仅为分组再次要求确认。
- 默认只做本地提交;用户已要求推送时,在提交链检查完成后推送。不附带分支创建、合并、PR、发布或历史改写。
- 用户指定的范围、分组和顺序优先;若实际只有一个完整单元,允许只产生一笔,不凑提交数量。
- 与其他提交技能同时使用时,本技能负责分组、顺序和固定批次主题的系列标题;复用适用的检查与交付要求,不沿用其默认单笔提交行为。
拆分标准
技术边界是起点,业务意图与依赖决定最终分组:
| 边界 | 默认分组依据 |
|---|---|
| 数据库 | 按业务域组织结构、迁移及对应 schema 映射 |
| 后端 | 按服务、业务模块或独立用例拆分 |
| 前端 | 按应用、业务模块或独立交互拆分 |
| 配置与工程 | 按构建、依赖、部署或 CI 的独立目的拆分 |
| 公共包及其他技术栈 | 按包、消费者和职责拆分 |
| 独立文档 | 按主题拆分;实现说明通常随实现提交 |
前后端默认分开,同一端的无关模块也分开;文件后缀不能替代职责判断。每笔应能用一句具体说明概括,具有完整行为或结构意义,在前置提交存在时可以构建和验证,并有明确的回滚边界。
- 过大则拆: 混合多个无关目标、业务模块,或可独立交付的重构与功能。
- 过小则并: 按文件拆出无独立意义的样式、导入、类型或测试。独立的一行修复仍可成一笔。
- 不以文件数、行数或固定提交数量作硬门槛;大量机械生成文件也可能属于一个单元。
保留必要的原子组合:
- 实现、对应行为测试和必要说明;依赖声明与锁文件;实现运行所必需的最小配置。
- 同次数据库结构变更的基准、增量迁移、纯 schema 映射与迁移测试;独立后端用例另行提交。
- 必须同步的生成输入与输出。生成代码按实际服务或消费端归属,不制造过期合同。
- 同文件的独立改动可按 hunk 拆;共享类型、重命名或跨文件依赖无法分离时,合并最小必要范围并说明原因。
标题格式
标题格式:type(scope): [序号]批次主题:具体说明,例如 feat(database): [1]订单支付:增加支付状态字段及迁移。
- 标准前缀: 优先遵循项目要求;无要求时使用 Conventional Commits。type 按改动选择,scope 表达技术边界或模块,二者可以逐笔变化;不得以批次主题与序号替代标准前缀,也不为统一系列而把所有改动强行标成同一种 type。
- 固定主题: 规划时从完整交付目标选择简短的业务名,记为本批次唯一的
batch_topic。整批所有标题逐字复用它,跨前后端、数据库、配置或多个业务模块也不变。各笔模块名与功能差异写在 scope 或具体说明中,不能重新充当批次主题。 - 序号: 使用
[1]、[2]、[3],放在标准前缀之后、固定主题之前,按整批实际提交顺序从 1 连续编号;不能因模块变化重置。失败重试不占号;续接同一批次时,从已成功标题恢复原主题与下一个序号。只有用户明确要求另建独立批次时,才另定主题并重新编号,不改写已有历史。 - 标点与空格: 标准前缀后使用半角
:和一个空格,固定主题后紧接中文:。项目明确要求不同的标题格式时,遵循项目要求。
例如,同一批次包含首页发送与思考状态两个模块,先确定 batch_topic = 对话体验:
fix(commercial): [1]对话体验:支持首页一次发送并防止重复提交
feat(commercial): [2]对话体验:接入思考球体并收敛流式反馈
[1]首页对话:…、[2]思考状态:… 在同一批次中不合格:编号连续,但主题已变化。默认格式下应检查 [序号]固定主题: 这一部分;项目要求其他格式时,检查其中对应的部分,不能仅检查序号或 Conventional Commits 格式。
使用说明
1. 确定范围
读取仓库及受影响目录的 AGENTS.md、交付规则与必要的子模块规则。检查当前分支和操作状态,读取 git status --short、暂存与未暂存的完整 diff,以及 git ls-files --others --exclude-standard 列出的待纳入文件。
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.
- 22d ago First seen · 114 lines · 47 tokens per session scan A 259c0af0ff3e
git-stepwise-commit-cn is a skill published in the GitHub repository YangsonHung/awesome-agent-skills (18 stars, last pushed 23d ago), licensed MIT. It adds 47 tokens to every session and 2,452 once invoked, about $0.0002 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-11-08.
git-stepwise-commit-cn compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| git-stepwise-commit-cnYangsonHung/awesome-agent-skills | Skill | 18 | 23d ago | MIT | A | 47 | Claude Code, Codex |
| pr-squash-messagescenario-labs/skills | Skill | 4.4k | yesterday | MIT | A | 73 | Codex |
| branch-and-worktree-workflowcbrock84/headcount | Skill | 2.6k | today | MIT | A | 70 | Claude Code |
| phx-pr-reviewoliver-kriska/claude-elixir-phoenix | Skill | 579 | yesterday | MIT | A | 61 | Claude Code, Codex |
| gitcode-yeongyu/oh-my-openagent | Skill | 71k | today | none | A | 109 | Codex |
| ship-togethertobihagemann/turbo | Skill | 428 | today | MIT | A | 37 | Claude Code |
| recall-sessiontobihagemann/turbo | Skill | 428 | today | MIT | A | 45 | Claude Code |