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:

  1. git-hunk list && git-hunk show, once. list includes untracked inventory entries; show prints every staged and unstaged diff with its Hunk ID. Plan every commit from that output and record its IDs. Do not also run git status, git diff, git log, cat, or a single-ID show unless information is genuinely missing.
  2. One call chaining the whole plan and ending with git-hunk list:
Installs
3
GitHub Stars
10
First Seen
Jun 29, 2026
core — wkentaro/git-hunk