atomic-git-commits

仓库创建 2026年1月20日最近提交 22 天前SkillHot 收录 21 天前
▸ 精选理由

帮助维持可回滚、易审查的提交历史,对团队开发有明显提升。

这个 Skill 做什么

规范并生成意图明确、粒度小的原子 Git 提交与消息。

把改动拆成意图明确、粒度小的原子 Git 提交,并给出规范的 commit message,方便回滚和审查。在你做 add/stage、commit、branch、merge、push/pull、看 diff 或保存更改时立即使用。特点是遵守一套严格规则,让提交历史保持可读且语义清晰,不随仓库旧习惯起舞。

▸ 展开 SKILL.md 英文原文

Invoke immediately if the Navigator mentions: inspecting changes (status, diff, log, show), staging/adding files (add, stage), creating commits (commit, amend, reset), branch management (branch, checkout, merge, rebase), remote operations (push, pull, fetch), or repository state (stash, worktree). Trigger words: git, commit, status, diff, add, stage, branch, merge, push, pull, log, revert, stash, worktree, 'what changed', 'save changes', 'commit this', 'show me the diff'.

开发编程Git原子提交提交规范通用
3
Stars
0
Forks
14
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/ton-anywhere/my-favorite-prompts/main/skills/atomic-git-commits/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/ton-anywhere/my-favorite-prompts/main/skills/atomic-git-commits/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Atomic Git Commits

Create small commits with self-contained intent and consistently useful messages. Treat these rules as authoritative; do not infer style from repository history, which may be noisy or inconsistent.

## Small-Model Profile

If `SMALL_MODEL_PROFILE` is active, read
[`references/small-model-playbook.md`](references/small-model-playbook.md) completely
before planning, running a Git command, or replying. The playbook expands this
skill; it does not replace or weaken any rule in this file.

## The Principles of Atomicity

1.  **One Change per Commit:** Do not bundle unrelated changes. If you are working on a bug fix, a refactor, and a documentation update, create three separa
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有