multiAI Summary Pending
CLAUDE.md – JJ Quick Command List
A minimal cheat‑sheet of the day‑to‑day **Jujutsu (`jj`)** commands you (or an agent) really need.
58 stars
bymizchi
Installation
Claude Code / Cursor / Codex
$curl -o ~/.claude/skills/jj/SKILL.md --create-dirs "https://raw.githubusercontent.com/mizchi/chezmoi-dotfiles/main/dot_claude/skills/jj/SKILL.md"
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/jj/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How CLAUDE.md – JJ Quick Command List Compares
| Feature / Agent | CLAUDE.md – JJ Quick Command List | Standard Approach |
|---|---|---|
| Platform Support | multi | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
A minimal cheat‑sheet of the day‑to‑day **Jujutsu (`jj`)** commands you (or an agent) really need.
Which AI agents support this skill?
This skill is compatible with multi.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# CLAUDE.md – JJ Quick Command List
A minimal cheat‑sheet of the day‑to‑day **Jujutsu (`jj`)** commands you (or an agent) really need.
| Purpose | Command | What it does |
| ----------------------------- | -------------------------------------- | ----------------------------------------------------------------- |
| **See changes** | `jj status` | Show working‑copy commit and staged/unstaged file modifications |
| **Browse history** | `jj log` | One‑line graph of commits; add `-r : --git` to include Git hashes |
| **Diff current work** | `jj diff` | Compare working‑copy commit to its parent (like `git diff`) |
| **Start a new change** | `jj new` | Fork a fresh change from `@` (no checkout dance) |
| **Write/update message** | `jj describe -m "msg"` | Sets commit message of the working change |
| **Split hunks interactively** | `jj split` | Launches diff‑editor to carve current change into smaller ones |
| **Undo last (or any) op** | `jj undo` | Reverts the specified operation in the op‑log |
| **List operations** | `jj op log` | Shows numbered operation history for quick undo/restore |
| **Push** | `git push origin @` *or* `jj git push` | Uses standard Git remotes; your CI never notices |
| **Pull / rebase** | `git pull --rebase` | JJ auto‑rebases local changes on fetch |
| **List branches (bookmarks)** | `jj branch list` | Display bookmarks pointing at changes |
| **Create branch** | `jj branch create feature` | Label current change as *feature* |
| **Move branch** | `jj branch set feature REV` | Point bookmark *feature* at another revision |
| **Delete branch** | `jj branch delete feature` | Remove bookmark label |
### Safety net
* `jj op restore <op‑id>` — time‑travel repo back to any previous operation (and still `jj undo` later)
* Everything is undoable; when in doubt, run `jj op log` followed by `jj undo`.
### Automation tips
* Pass `--no-editor` on `describe`, `split`, etc., in headless scripts.
* Prefer `--template '{id} {description|escape_json}\n'` for JSON‑friendly output.
---
For deeper dives, see the full JJ tutorial and command reference, but this page should cover 95 % of daily work.