fix: Document jj show path argument pitfall
Assisted-by: Claude Opus 4.6 via pi
change ovlqsmprtkzozssmquxmuqzuqqvsokvw
commit 6fab08d82c3f508df7ebb498bb423a93ba5f4a7a
author Alpha Chen <alpha@kejadlen.dev>
date
parent uzstlyym
diff --git a/ai/claude/skills/jj/SKILL.md b/ai/claude/skills/jj/SKILL.md
index abc34de2..74f980aa 100644
--- a/ai/claude/skills/jj/SKILL.md
+++ b/ai/claude/skills/jj/SKILL.md
@@ -63,6 +63,17 @@ jj git push --all
 
 **Note:** `--named` creates the bookmark, pushes it, and auto-tracks it. Use this for PRs.
 
+## Common Pitfalls
+
+**`jj show` does not accept path arguments.** Unlike `git show`, you cannot
+write `jj show @- -- path/to/file`. Use `jj diff` instead:
+
+```bash
+jj diff -r @-                        # all changes in parent revision
+jj diff -r @- path/to/file           # specific file in parent revision
+jj diff --from @-- --to @- some/dir  # between two revisions, scoped to path
+```
+
 ## Command Categories
 
 Run `jj --help` to see all commands. Main categories: