core
Installation
SKILL.md
git-hunk core
Turn a dirty working tree into focused commits without an interactive prompt.
The logical-commits skill decides grouping and order; this one supplies the
mechanics.
The core loop
Normally two more Bash calls:
git-hunk list && git-hunk show, once.listincludes untracked inventory entries;showprints every staged and unstaged diff with its Hunk ID. Plan every commit from that output and record its IDs. Do not also rungit status,git diff,git log,cat, or a single-IDshowunless information is genuinely missing.- One call chaining the whole plan and ending with
git-hunk list: