Jj Hunk

Programmatic hunk selection for the jj (Jujutsu) VCS. Select individual diff hunks with a query language instead of an interactive TUI, then split, commit, squash, diffedit, restore, or absorb them. Use when splitting a jj commit into logical pieces, committing or squashing only part of the working copy, undoing individual hunks, selecting changes by file/content/line-range or by function/class/decorator via tree-sitter, or when `jj split -i` / `jj squash -i` would open an editor that cannot be driven non-interactively. Also use when several agents share one working copy and each needs to extract its own changes. Triggers on mentions of jj-hunk, hunkset, hunk IDs, or non-interactive hunk selection in jj.

dashed Updated 25 repo stars

File contents

dashed/claude-marketplace commit 3e28284aa4

Frequently asked questions

npx get-skill add dashed/jj-hunk