AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Jj

skill-realadarsh-jj-skill-jj-skill · by RealAdarsh

Use for any version-control task in repositories managed by Jujutsu (`jj`) or colocated `.jj` + `.git` repos. Trigger when the user asks for status, history rewriting, commit description updates, bookmark/branch management, push/fetch workflows, conflict handling, undo/recovery, or Git-to-Jujutsu migration. Prefer `jj` commands for repository mutations.

No reviews yet
0 installs
29 views
0.0% view→install

Install

$ agentstack add skill-realadarsh-jj-skill-jj-skill

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-realadarsh-jj-skill-jj-skill)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
6mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Jj? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Jujutsu (jj) Workflow Skill

Execute version-control tasks with jj first. Keep commands non-interactive unless the user explicitly asks for an interactive workflow.

Detect Repository Mode

  1. Run jj root to confirm Jujutsu context.
  2. Treat the repository as Jujutsu-managed when .jj/ exists.
  3. In colocated repos (.jj/ + .git/), use jj for mutations and keep git usage read-only unless the user explicitly requests otherwise.

Use Agent-Safe Command Patterns

  1. Pass a message flag instead of opening an editor:
  • jj describe -m "message"
  • jj commit -m "message"
  • jj squash -m "message"
  1. Avoid commands that require interactive UI flows when running non-interactively.
  2. After history mutations (squash, rebase, abandon, restore), run jj status to verify state.

Run the Core Daily Flow

  1. Inspect current state:
jj status
jj log -n 10
jj show
jj diff
  1. Start and describe work:
jj new
jj describe -m "Implement feature X"
  1. Continue editing files. Jujutsu tracks working-copy changes automatically.
  1. Navigate the change graph without revision IDs:
jj next -e       # edit child change directly
jj prev -e       # edit parent change directly
jj edit  # jump to a specific change for editing

Without -e, jj next/jj prev create a new working-copy commit on top of the target revision.

Handle History Edits

Use these commands for most agent workflows:

jj absorb
jj squash
jj split ... -m "split: "    # non-interactive split by file paths
jj rebase -r  -d 
jj simplify-parents                         # remove redundant merge parents after rebase
jj duplicate  --destination  # copy a change onto an explicit target (cherry-pick style)
jj abandon 
jj restore 

In agent contexts, always pass both filesets and -m to jj split.

Use jj evolog to inspect how a change has evolved over time (useful for debugging history mutations).

Load [cheat-sheet.md](./references/cheat-sheet.md) when the user describes a Git command and needs a Jujutsu equivalent.

Push and Sync with Remotes

  1. Sync from remote:
jj git fetch
jj rebase -d main@origin
  1. Push a single change quickly:
jj git push --change @-
  1. Use bookmarks for explicit branch-like collaboration:
jj bookmark create feat/my-change -r @-
jj git push -b feat/my-change

Load [colocated-git.md](./references/colocated-git.md) for teams that use GitHub/GitLab while you work locally in Jujutsu.

Resolve Conflicts

  1. Inspect conflict state:
jj status
jj resolve --list          # list all conflicted files
  1. In non-interactive agent contexts, edit conflicted files directly and remove conflict markers. In interactive contexts, use the configured merge tool:
jj resolve           # opens external merge tool (interactive only)
  1. Re-run jj status until no unresolved conflicts remain.

Recover Safely

Use operation-level undo when something goes wrong:

jj undo
jj op log
jj op restore 

Prefer these commands instead of attempting destructive resets.

Use Workspaces for Parallel Work

Workspaces let you check out multiple changes simultaneously in separate directories (like git worktree):

jj workspace add ../my-feature     # create a new workspace
jj workspace list                  # list all workspaces
jj workspace forget          # remove a workspace

Each workspace has its own working-copy commit but shares the full change graph and operation log.

Inspect Files

jj diff                            # diff of working copy against parent
jj diff -r               # diff of a specific revision
jj file annotate             # blame/annotate a file (added in 0.24)
jj file list                       # list tracked files

Auto-Format Code

If a formatting tool is configured, apply it across revisions:

jj fix

Handle Version Differences

  1. Run jj --version.
  2. If a command flag behaves differently, run jj help .
  3. Prefer command forms documented in [sources.md](./references/sources.md) when uncertain.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.