git-to-jj

Translate Git commands into equivalent jj commands within a jj repository.

2|Updated Oct 16, 2025
One-click install
npx skills add https://github.com/musingfox/cc-plugins --skill git-to-jj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-to-jj
Source: https://github.com/musingfox/cc-plugins/tree/main/jj/skills/git-to-jj
Command: npx skills add https://github.com/musingfox/cc-plugins --skill git-to-jj

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Translate Git terminology into jj workflows when working in a jj repository to align developer mental models with jj tooling.

Core Features & Use Cases

  • Term translation: Maps common Git commands and concepts (commit, branch, checkout, stash, rebase, merge, reset, push, pull) to jj equivalents.
  • Context detection: Activates when a .jj directory is present to tailor guidance to jj workflows.
  • Operational guidance: Presents concise jj commands that accomplish the user's intended Git action.

Quick Start

Translate a Git action into its jj equivalent and display the exact jj command to run.

Frequently Asked Questions about git-to-jj

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

FAQPage Schema
How do I translate Git commands to jj workflows?

To translate Git commands to jj workflows, the Skill maps Git terms like commit, branch, stash, rebase, and reset to their jj equivalents and outputs the exact jj commands to run. It activates automatically when a .jj directory is present.

What is the jj equivalent of Git rebase and merge?

The jj equivalents for Git rebase and merge are provided by a mapping table that translates these core Git commands into jj terminology. The Skill outputs the precise jj commands needed to accomplish the intended version control operation.

Can I use Git terminology when working in a jj repository?

Yes, you can use Git terminology in a jj repository. The Skill detects the presence of a .jj directory and translates your Git terms into aligned jj workflows, presenting concise jj commands that accomplish the intended Git action.

What's the best way to map Git checkout and stash to jj?

The best way to map Git checkout and stash to jj is using a translation table that aligns developer mental models with jj tooling. The Skill directly maps these Git concepts to their corresponding jj commands for immediate execution.

Do I need a .jj directory to translate Git terminology into jj?

Yes, a .jj directory is required. The Skill's context detection activates the Git to jj translation exclusively when a .jj directory exists, ensuring the operational guidance is tailored to jj workflows rather than standard Git.