Install
$ agentstack add skill-realadarsh-jj-skill-jj-skill ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
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 →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
- Run
jj rootto confirm Jujutsu context. - Treat the repository as Jujutsu-managed when
.jj/exists. - In colocated repos (
.jj/+.git/), usejjfor mutations and keepgitusage read-only unless the user explicitly requests otherwise.
Use Agent-Safe Command Patterns
- Pass a message flag instead of opening an editor:
jj describe -m "message"jj commit -m "message"jj squash -m "message"
- Avoid commands that require interactive UI flows when running non-interactively.
- After history mutations (
squash,rebase,abandon,restore), runjj statusto verify state.
Run the Core Daily Flow
- Inspect current state:
jj status
jj log -n 10
jj show
jj diff
- Start and describe work:
jj new
jj describe -m "Implement feature X"
- Continue editing files. Jujutsu tracks working-copy changes automatically.
- 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
- Sync from remote:
jj git fetch
jj rebase -d main@origin
- Push a single change quickly:
jj git push --change @-
- 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
- Inspect conflict state:
jj status
jj resolve --list # list all conflicted files
- 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)
- Re-run
jj statusuntil 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
- Run
jj --version. - If a command flag behaves differently, run
jj help. - 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.
- Author: RealAdarsh
- Source: RealAdarsh/jj-skill
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.