jj-workflow

Organize JJ-based version control workflows for stacked and independent PRs.

4|1|Updated Apr 19, 2016
One-click install
npx skills add https://github.com/praveenperera/dotfiles --skill jj-workflow-praveenperera
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jj-workflow
Source: https://github.com/praveenperera/dotfiles/tree/main/claude/skills/jj-workflow
Command: npx skills add https://github.com/praveenperera/dotfiles --skill jj-workflow-praveenperera

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This guide helps software teams consistently apply JJ-based version control workflows, making it easier to coordinate stacked PRs, independent PRs, and hybrid approaches across multiple features and branches.

Core Features & Use Cases

  • Structured workflows for stacking, independent, and hybrid PRs that improve review order and merge reliability.
  • Commit management patterns including splitting, rebasing, and bookmarks to organize work into logical units.
  • Reference materials and examples illustrating common patterns, commands, and pitfalls to guide teams through real-world scenarios.

Quick Start

Assess your repo with jj git fetch, then start the workflow path that matches your project (stacked, independent, or hybrid).

Frequently Asked Questions about jj-workflow

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

FAQPage Schema
How do I manage stacked PRs using JJ version control?

Stacked PRs in JJ are managed by splitting commits and using bookmarks to organize interdependent changes into logical units. This workflow improves review order and merge reliability across multiple feature branches.

What is the best workflow for independent PRs across different feature branches in JJ?

Independent PRs in JJ are handled through structured workflows that separate commits into isolated review units. This approach coordinates reviews across multiple features without creating interdependent merge constraints.

How do I split commits and rebase feature branches with JJ?

Splitting commits and rebasing in JJ uses bookmark management patterns to shape PR baselines. These commit management techniques organize work into logical units ready for structured review.

Can I use a hybrid PR workflow for coordinating reviews across interdependent changes in JJ?

Hybrid PR workflows in JJ combine stacking and independent approaches to coordinate reviews across multiple interdependent changes. Teams assess the repository state first, then apply the matching workflow path.

Do I need to run jj git fetch before starting a stacked or independent PR workflow?

Running jj git fetch is the recommended quick start step to assess your repository state. After fetching, you select the workflow path—stacked, independent, or hybrid—that matches your project structure.

Why use JJ for version control workflows instead of standard Git rebasing for stacked changes?

JJ version control workflows provide structured patterns for stacked and independent PRs that standard Git rebasing lacks. These patterns enforce consistent commit splitting and bookmark organization to improve merge reliability.