From jj
Use when the agent needs to compare file contents between jj revisions or view working copy changes
How this skill is triggered — by the user, by Claude, or both
Slash command
/jj:jj-diffThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
```
jj diff [OPTIONS] [PATHS]...
Shows differences in files between revisions.
IMPORTANT: Always use the --git flag when running jj diff. The default diff output format is not reliably parseable. The --git flag produces standard Git-format diffs that are well-understood.
-r, --revision <REVSET> - Show changes in this revision (compare with parent)--from <REVSET> - Start revision for comparison--to <REVSET> - End revision for comparison (default: @)-s, --summary - Show only file names, not content diff--stat - Show a histogram of changes--git - REQUIRED. Show Git-format diff--color-words - Show word-level diff with colors--tool <TOOL> - Use external diff tool# Show changes in working copy (vs parent)
jj diff --git
# Show changes in a specific revision
jj diff --git -r @-
# Compare two revisions
jj diff --git --from main --to @
# Show only which files changed
jj diff -s
# Show diff for specific file
jj diff --git src/lib.rs
# Show changes between trunk and working copy
jj diff --git --from trunk() --to @
# Use external diff tool
jj diff --tool meld
jj diff alone shows @- → @ (parent to working copy)jj diff -r X shows changes introduced BY revision X (its parent → X)jj diff --from A --to B shows A → BAlways use --git flag for machine-readable output. For large diffs, consider using -s first to get a summary, then showing specific files.
npx claudepluginhub dkendal/claude-code-plugins --plugin jujutsuReview diffs and files with inline annotations in a terminal TUI overlay. Works with git, hg, and jj repos. Also answers usage and configuration questions.
Displays git diffs with syntax highlighting, split view, and word-level diff in terminal UI or web preview. Supports watching changes, filtering files, comparing branches, and AI-powered code review explanations.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.