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 3e28284 6 files · 53.4 KB Updated

File contents

dashed/claude-marketplace/tree/main/plugins/jj-hunk/skills/jj-hunk commit 3e28284aa4

Frequently asked questions

npx skillmds@latest add dashed/jj-hunk