kergoth/dotfiles/jujutsu

Claude Code and agent skill by kergoth/dotfiles

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when working with version control in a repository that contains `.jj/`, or when the user explicitly mentions Jujutsu or `jj`. When the VCS context is ambiguous, check for `.jj/` in the working tree before defaulting to plain Git. Do not use this skill as the primary route for non-`.jj/` generic Git tasks.

Install

npx vskill@latest install kergoth/dotfiles/jujutsu

SKILL.md

The same SKILL.md was published earlier as kergoth/dotfiles/jujutsu.

Jujutsu

Overview

Use this skill to keep VCS behavior accurate in jj repositories. Prefer jj for mutations, history editing, bookmarks, workspaces, and recovery. In colocated repositories, Git is still available, but do not default to Git mental models.

Local constraint: for .jj commit paths, pair with jj-commits for generic intent or git-commits for explicit Git-only intent.

Validated against jj 0.44.0 on 2026-08-30 using jj/docs/, jj/cli/docs/, and the v0.38.0 through v0.44.0 release notes.

Detect The Repo First

  1. Check whether the current directory or an ancestor contains .jj/.
  2. If yes, treat the repo as a jj repo and use this skill even if the user asked for generic Git help.
  3. If .jj/ and .git/ both exist, explicitly describe it as a colocated workspace.
  4. If only .jj/ is present, still prefer jj; Git interop may exist behind the scenes, but the workspace is not colocated.
  5. If .jj/ is absent, answer as plain Git. Do not append jj comparisons, translations, or "in jj..." sidebars unless the user explicitly asked for jj or for a Git-vs-jj comparison.

Immediate Translation Table

If you reach for Git...Prefer in jjNotes
git statusjj stWorking copy state and current commit.
git logjj logUse revsets instead of Git revision syntax.
git diffjj diffDiff the working-copy commit.
git checkout <rev>jj edit <rev>Switch the working copy to another revision.
git commit --amendkeep editing @, or jj squashThe working copy is already a commit.
git commit for a new stepjj new, then jj desc -m "..."Start a fresh working-copy commit.
git branchjj bookmarkBookmarks are the Git-facing movable names.
git tagjj tagTracked tags work like bookmarks as of 0.44.0; use jj tag track/untrack.
(loop: stash, checkout, run, restore)jj run -- <cmd>Runs the command across a revision set, each with a private working copy. 0.43.0+.
git rebasejj rebasejj rebases descendants automatically after rewrites.
git reflogjj op logRepository-wide operation history.
git reset --hard for recoveryjj undo, jj restore, jj op restorePrefer reversible recovery tools.
git worktreejj workspaceWorkspaces are the jj-native multi-working-copy model.
git fetchjj git fetchUse jj for remote sync unless a Git-only action is needed.
git pushjj git push --bookmark <name>Ensure the bookmark points where you intend.
HEAD^ / HEAD~1@-Parent of the working-copy commit.
HEAD~N (N dashes)@--, @---, …Repeat - for each ancestor; @~N is not jj syntax.
main..HEAD (range)main::@jj uses :: for ranges, not .. or ....

Operating Rules

  • Inspect first with jj st and usually jj log.
  • Prefer non-interactive commands in agent contexts. Use -m when available, and avoid editor or TUI flows unless the task explicitly allows them.
  • Prefer change IDs over commit IDs when selecting revisions.
  • Never write @~N for ancestors — that is Git syntax applied to a jj symbol and is not valid. Use @- (one ancestor), @-- (two), @--- (three), and so on.
  • Never write x..y or x...y for ranges — use x::y (jj inclusive range syntax).
  • Prefer jj for mutations even in colocated workspaces.
  • When both .jj/ and .git/ exist, use the word colocated directly instead of implying it indirectly.
  • Use Git mainly for read-only inspection or for an explicitly Git-specific workflow that jj documentation says is safe.
  • Treat jj workspace as the first answer to "use a worktree".
  • Reach for jj undo and jj op log before destructive recovery ideas.

Load The Right Reference

  • For the jj mental model and revset basics, read references/core-concepts.md.
  • For common agent workflows, read references/operational-guide.md.
  • For Git interop and when Git is acceptable, read references/git-interop.md.
  • For workspaces and stale working copies, read references/workspaces.md.
  • For release targeting and refresh rules, read references/version-notes.md.

Version Discipline

Before changing this skill for a newer jj release:

  • check the local jj --version output if available
  • review release notes newer than 0.39.0
  • update references/version-notes.md
  • adjust command guidance only after confirming docs or release notes

If the installed jj is older than 0.44.0, treat command examples as baseline guidance rather than guaranteed syntax and verify drift-prone commands with jj help ... before relying on them. If the installed jj is newer than 0.44.0, review newer release notes before assuming the skill is fully current.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
32
Repository forks
1
7-day trend score
17

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 5 Sep 2026, 2 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/kergoth/dotfiles/jujutsu/badge)](https://verified-skill.com/skills/kergoth/dotfiles/jujutsu)

Something wrong with this skill or its page? Tell us.