git-hunk
Installation
SKILL.md
Git Hunk
Use git-hunk to inspect, stage, unstage, and commit precise text changes without interactive prompts.
Prefer change_key over raw line ranges when you need selectors that survive unrelated rescans. Keep snapshot_id for safety, treat change_id as snapshot-local, and treat raw line ranges as a last resort.
Quick Start
- Scan the repo and capture a snapshot:
git-hunk scan --mode stage --json
- Inspect a selectable unit: