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

  1. Scan the repo and capture a snapshot:
git-hunk scan --mode stage --json
  1. Inspect a selectable unit:
Installs
106
Repository
diodeinc/pcb
GitHub Stars
360
First Seen
Mar 23, 2026
git-hunk — diodeinc/pcb