Stage specific lines or hunks from files into git commits, enabling modular atomic commits instead of whole-file staging.
“编程与软件开发”领域的一个 Skill。已为 Claude Code, Codex, OpenCode 及另外 32 个智能体 准备好命令。
完整描述
Stage specific lines or hunks from files into git commits, enabling modular atomic commits instead of whole-file staging. Use this skill whenever the user asks to commit only part of a file, split changes across multiple commits, make atomic/granular/modular commits, stage specific lines or hunks, or when you need to commit logically distinct changes separately. Also use this when the user says things like 'commit the refactor separately from the bugfix', 'only commit the changes to function X', 'split this into separate commits', or references magit-style partial staging. If you are about to run `git add <entire-file>` but the file contains changes serving different purposes, stop and use this skill instead.