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"