jj-split
Split the current `jj` commit into multiple focused, self-contained, easy to review commits.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Split the current `jj` commit into multiple focused, self-contained, easy to review commits.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Make a set of things (code, prose, config, docs) consistent along a dimension the user names, by picking a canonical form and conforming every member to it.
Remove illegal states from data structures by redesigning their types so the illegal states cannot be represented at all.
Remove unnecessary comments from code: tombstones, redundant restatements, and comments a well-named variable or function would replace.
Perform a task with a worker agent, critique it with an adversary agent, and apply the accepted critiques with a reconciler agent.
Replace jargon and imported metaphors in code and prose with concrete, domain-fitting terms a reader understands without translation.
Create a new Claude Code skill following the conventions of existing skills.
| name | jj-split |
| description | Split the current `jj` commit into multiple focused, self-contained, easy to review commits. |
| argument-hint | [extra guidance on how to split] |
| allowed-tools | ["Bash(jj show *)","Bash(jj log *)","Bash(jj diff *)","Bash(jj describe *)","Bash(jj split *)","Bash(jj new *)","Bash(jj edit *)","Bash(jj describe *)","Bash(jj squash *)"] |
Split the current jj commit into multiple focused, self-contained, easy to
review commits.
jj show --git
$ARGUMENTS
package.json,
Makefile, CI config). If no signals are found, ask the user<imperative-mood description>: <file or hunk list>jj edit @-) and run the verification commandsjj describejj log -r 'ancestors(@, <commit count>)' and show the
resulting stackUse jj split with file patterns to put specific files in the first commit:
jj split -m "<first commit description>" -- <files for first commit>
The remaining files stay in the second commit.
When a single file contains changes that belong in different commits, use file manipulation:
jj new to start the next commitjj log -r '@-::@' and jj diff -r @-For when verification fails because some changes are in the wrong commit.
# Move from child to parent
jj squash --from @+ --into @ -- <files>
# Move from parent to child
jj squash --from @ --into @+ -- <files>
When the boundary falls inside a file, edit the file directly: