agents/skills/jj/SKILL.md
Version control with jj (Jujutsu)
npx skillsauth add timofreiberg/dotfiles jjInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
For flags and syntax details, run jj <subcommand> --help.
See reference.md for advanced topics (rewriting history, splitting commits, revsets).
@): The current change, automatically tracks file modifications.jj new to create a mutable change on top.NEVER run jj squash without -m "msg" or --use-destination-message. Bare jj squash opens an interactive editor and will hang.
Do not use jj split — it is interactive and will hang. See the
agent-friendly splitting methods
in the advanced reference.
jj file untrack <paths> stops tracking paths in the working copy. Paths must already be in .gitignore. Useful when files were accidentally committed before being ignored.
If a command puts the wrong changes into the wrong commit (e.g. squash into the wrong parent), don't try to manually fix the commits — revert the operation instead:
jj logjj op logjj op revert <op_id> (the op ID is shown in jj op log)development
Quick internet research via a web-search-enabled model. Returns summaries with source URLs.
data-ai
Use when you want to work in an isolated jj working copy — parallel task, experimental scratch, subagent with its own tree. Covers creating a workspace, working inside it from anywhere, and cleaning up without losing history.
tools
Use when working on the pi coding agent harness or writing pi extensions.
testing
Use when creating, editing, or reviewing a skill before it ships. Covers when to write a skill, file layout, the SKILL.md shape, and how to verify it before relying on it.