jj

Guide conservative Jujutsu (jj) workflows with revsets, templates, and Git interop.

Updated Mar 20, 2026
One-click install
npx skills add https://github.com/dljsjr/sandpiper-ai --skill jj-dljsjr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jj
Source: https://github.com/dljsjr/sandpiper-ai/tree/main/skills/sandpiper/jj
Command: npx skills add https://github.com/dljsjr/sandpiper-ai --skill jj-dljsjr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

JJ users require a guided mental model and comprehensive command reference to use Jujutsu (jj) effectively in complex repos. This skill consolidates best practices, revset guidance, and workflow patterns to reduce mistakes and context switching.

Core Features & Use Cases

  • Comprehensive jj guidance covering core commands, revsets, templates, and Git interop.
  • Workflow patterns such as megamerge, absorb, stacked diffs, and workspace management for multi-stream development.
  • Operational safety with guardrails, error handling, and proactive recommendations to maintain stable history.
  • Use Case: When working in a jj-enabled repository, you can plan, execute, and review multi-branch work without compromising history.

Quick Start

Start by creating a new change with jj new and inspect the history with jj log to verify the stack.

Frequently Asked Questions about jj

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage complex Jujutsu jj workflows in repositories with Git interop?

To manage Jujutsu jj workflows, use guided mental models and command references for revsets, megamerge patterns, and Git interop. This skill provides operational guardrails to handle complex repositories safely and reduce context switching.

What is the best way to execute megamerge and stacked diffs in jj version control?

The best way to execute megamerge and stacked diffs in jj version control is by following established workflow patterns that coordinate multiple streams while maintaining stable history and operational safety.

How does jj revset language work for querying commit history?

The jj revset language works by providing a specialized query syntax to select and filter commits, allowing you to precisely navigate and inspect repository history alongside the template language for output formatting.

Can I use jj version control with my existing Git repositories?

Yes, you can use jj version control with existing Git repositories through Git interop capabilities. The system operates on repos managed with .jj and provides specific patterns to coordinate safely across both systems.

How do I maintain stable history and avoid mistakes when using jj for multi-branch work?

To maintain stable history in jj, you apply operational safety guardrails, proactive recommendations, and error handling during multi-branch work to plan, execute, and review changes without compromising history.