‹ 首页

atomic-commits

@nickcrew · 收录于 1 周前

Use this skill when a working tree contains uncommitted changes that need to be split into a sequence of atomic commits — typically after a long session, an agent hand-off, a rebase resolution, or anytime `git status` shows mixed work that was not committed as it landed. The skill assumes the agent has fresh context and did not author most of the diff, so it treats the working tree as evidence to investigate before grouping. Optimizes for `git bisect`: each commit is the smallest buildable and deployable unit, and no smaller. Uses `cortex git commit` for file-level commits and `cortex git patch --diff` when unrelated changes share a file.

适合你,如果工作区有未提交的改动需要拆分成逻辑独立的提交

/ 通过 npx 安装 校验哈希
npx oh-my-skill add nickcrew/claude-cortex/atomic-commits
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- nickcrew/claude-cortex/atomic-commits
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify nickcrew/claude-cortex/atomic-commits
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
19GitHub stars
~2.4K上下文体积 · 单文件
索引托管

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。