git-jj

Automate Git and Jujutsu repository workflows with automatic detection.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/towry/dots --skill git-jj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-jj
Source: https://github.com/towry/dots/tree/main/conf/claude-local-marketplace/skills/git-jj
Command: npx skills add https://github.com/towry/dots --skill git-jj

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill provides a unified and safe interface for managing version control tasks using both Git and Jujutsu (jj). It automatically detects the repository type and guides through complex workflows, reducing errors and ensuring best practices in code management.

Core Features & Use Cases

  • Dual VCS Support: Seamlessly handles Git and Jujutsu repositories with automatic detection, providing appropriate command references and workflows for each.
  • Safe Operations: Enforces critical safety checks before committing, pushing, or performing destructive actions, requiring explicit user confirmation to prevent accidental data loss.
  • Lifeguard Integration: Facilitates comprehensive code reviews by integrating with the lifeguard subagent, providing it with structured VCS context for change analysis.

Quick Start

Check the current status of the repository and show any pending changes, then ask the lifeguard subagent to review them.

Frequently Asked Questions about git-jj

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

FAQPage Schema
How do I manage commits across both Git and Jujutsu repositories?

This Skill automates commit workflows for both Git and Jujutsu, automatically detecting your repository type and enforcing Conventional Commits format. It handles status checks, diffs, logs, and commit operations with built-in safety checks to prevent accidental data loss.

Can I use the same commands for Git and Jujutsu version control?

Yes. The Skill provides a unified interface that detects whether you're working with Git or Jujutsu and adapts accordingly, eliminating the need to learn separate command syntax for each VCS while maintaining their distinct workflows.

How do I integrate code reviews into my version control workflow?

The Skill integrates with lifeguard to facilitate code reviews by providing structured VCS context—including diffs, commits, and repository state—directly to the review agent, streamlining the analysis of your changes.

What safety features prevent mistakes when pushing or committing code?

The Skill enforces critical safety checks before destructive operations like commits and pushes, requiring explicit user confirmation. It validates repository state and enforces Conventional Commits format to catch errors early.

Does this work with branches, bookmarks, worktrees, and pull requests?

Yes. The Skill handles branches and bookmarks, manages worktrees, and automates push and pull operations across both Git and Jujutsu repositories with appropriate command references for each system.

What preparation is needed before using version control workflows?

The Skill includes repository initialization and automatic detection, so you can start immediately with Git or Jujutsu. It guides you through reference-based workflow steps without requiring prior configuration.