/jujutsu-workflow:jujutsu-workflowfrom jujutsu-workflow
Guides agents using Jujutsu (jj) for local change management while keeping Git as the canonical remote/PR/CI interface. Covers detection, agent-safety rules, edit loops, recovery, and PR handoff.
Ships in jujutsu-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Prefer jj (Jujutsu) over raw git whenever a .jj/ repo is present. Git stays the canonical remote/PR/CI/audit interface: mutate with jj, verify with read-only Git.
Run ${CLAUDE_SKILL_DIR}/scripts/detect_jj_state.sh, or check manually:
.jj/ present → jj repo: use jj, never mutating raw git..jj/ and .git (a directory, or a file in a jj 0.46+ workspace) → colocated: mutate with jj, read with git, never touch the git index/staging..git/ → plain Git repo: do not introduce jj unless asked.jj root ≠ git rev-parse --show-toplevel → shadowed (exit 3): jj answers for the parent repo. Run no jj; use git, then ask.See references/git-interop.md.
--no-pager on commands that print. Do not write ui.paginate into the user's config — --user outlives the session and takes paging away from their interactive jj too.-m or --stdin (describe). Never run editor/TUI forms — bare jj describe|commit|squash, jj split (interactive), jj squash -i, jj resolve, jj diffedit — they hang agents.jj snapshots the working copy only when a jj command runs, not on every file write.See references/agent-safety.md.
jj --no-pager status
# edit files (snapshotted on the next jj command)
jj --no-pager diff
jj describe --stdin <<'EOF' # quoted heredoc: no file in the repo, backticks stay literal
<project-conventional message>
EOF
jj new -m "<next unit>" # one change per logical unit
Split non-interactively: jj split <path> -m "<msg>". See references/command-map.md.
jj --no-pager op log → jj undo or jj op restore <id>. Conflicts are first-class: jj status flags them; edit markers, then verify. See references/recovery-playbook.md.
jj git fetch
jj rebase -d <default-branch>
jj bookmark create <branch> -r @- # every pushed commit needs a description
jj git push --bookmark <branch> # new bookmarks push directly
Never push to a protected/default branch; never rewrite public history unless allowed. Open the PR with gh/glab. See references/pr-handoff.md.
One jj workspace per concurrent agent — never share a working copy. See references/parallel-agents.md.
Run ${CLAUDE_SKILL_DIR}/scripts/verify_handoff.sh, or report jj --no-pager status, jj --no-pager log --limit 10, jj --no-pager diff --stat, git status --short --branch. Never claim "done/tested/ready" without that output; disclose force-pushes, recoveries, conflicts.
When jj helps, and when it doesn't: references/why-jj-for-agents.md.
references/agent-safety.md (opens in a new tab)references/command-map.md (opens in a new tab)references/git-interop.md (opens in a new tab)references/parallel-agents.md (opens in a new tab)references/pr-handoff.md (opens in a new tab)references/recovery-playbook.md (opens in a new tab)references/why-jj-for-agents.md (opens in a new tab)scripts/detect_jj_state.sh (opens in a new tab)scripts/verify_handoff.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
jujutsu-workflow@netresearch-claude-code-marketplace is listed by netresearch/claude-code-marketplace — review the source before installing
npx claudepluginhub netresearch/claude-code-marketplace --plugin jujutsu-workflowOther plugins' skills for the same job