jj-hunk
Installation
SKILL.md
jj-hunk: Programmatic Hunk Selection
Use jj-hunk for non-interactive hunk selection in jj. Essential for AI agents that need to create clean, logical commits from mixed changes.
When to Use This Skill
- Splitting a commit into multiple logical commits
- Committing only specific hunks (partial commit)
- Squashing only certain changes into parent
- Any hunk selection that would normally require
jj split -iorjj squash -i
Setup
cargo install jj-hunk