Help curate and organize commits in jujutsu repositories. Use when working with multiple commits, WIP changes, or preparing work for sharing. Suggests when to split, squash, or reorganize commits based on change patterns.
Limited to specific tools
Additional assets for this skill
This skill is limited to using the following tools:
Suggest curation:
Don't suggest when:
Use /jj:split <pattern> when mixing concerns:
Tests + implementation:
Your changes include both implementation and tests. Consider:
/jj:split test
Docs + code:
Your changes mix code and documentation. Consider:
/jj:split docs
Config + features:
Your changes include configuration. Consider:
/jj:split config
Common patterns: test, docs, config, *.{ext}, custom globs
Use /jj:squash when combining commits:
Multiple WIP commits:
You have multiple WIP commits for same feature. Consider:
/jj:squash
Indicators: "WIP", "wip", "fixup", "temp", "checkpoint" messages
Fixup commits:
This looks like a fixup for your previous commit. Consider:
/jj:squash
Indicators: "fix typo", "fix tests", "fix formatting" messages
Related small changes:
These commits are closely related. Consider:
/jj:squash
Indicators: Same feature/scope, same work session
jj log/jj:split <pattern>/jj:squashjj log, jj diff -r <commit>/jj:commit or jj describeDon't suggest when:
Good single commits: "Refactor auth module", "Add user profile page" (template+route+tests), "Fix memory leak" (investigation+fix)
One commit per major todo completion. Use jj new between todos. Don't suggest splitting if commits already align with todo structure.