jj-hunk

Installation
SKILL.md

jj-hunk

Programmatic hunk selection for Jujutsu. Split, commit, or squash specific hunks without interactive prompts.

Basic Workflow

List available hunks, create a spec file, then apply:

# See what hunks exist
jj-hunk list
jj-hunk list --format text    # Human-readable output
jj-hunk list --files          # Files with hunk counts only

# Split changes using a spec file
jj-hunk split --spec-file /tmp/spec.yaml "feat: add feature A"

# Commit specific files, leave rest uncommitted
jj-hunk commit --spec-file /tmp/commit-spec.yaml "fix: handle edge case"
Installs
17
Repository
knoopx/pi
GitHub Stars
59
First Seen
Apr 18, 2026
jj-hunk — knoopx/pi