jj-expert

Manage advanced JJ recovery and history manipulation tasks in Git repositories.

1|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/LiGoldragon/Mentci-AI --skill jj-expert-ligoldragon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jj-expert
Source: https://github.com/LiGoldragon/Mentci-AI/tree/main/.pi/skills/jj-expert
Command: npx skills add https://github.com/LiGoldragon/Mentci-AI --skill jj-expert-ligoldragon

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides advanced JJ recovery, rewrite, cleanup, and rescue judgment for complex history situations in Mentci-AI repositories, enabling users to manage difficult historical situations effectively.

Core Features & Use Cases

  • Advanced JJ Recovery: Offers deep recovery mechanisms for Git history.
  • Rewrite/Cleanup Judgment: Assesses the need for and the execution of rewrite or cleanup actions.
  • Use Case: When a user needs to recover from a mistaken workflow action or handle nested repository edge cases in Mentci-AI repositories.

Quick Start

To initiate a JJ recovery operation for a specific bookmark, use the command: jj-recover "$MENTCI_TARGET_BOOKMARK"

Frequently Asked Questions about jj-expert

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

FAQPage Schema
How do I recover Git history after a mistaken workflow action using JJ?

You can recover Git history using JJ by initiating the jj-recover command with a specific target bookmark. This Skill assesses the repository state and executes advanced recovery mechanisms to repair non-routine historical mistakes safely.

What is the best way to handle complex history rewrite and cleanup in a Git repository?

The best way to handle complex history rewrite and cleanup is using JJ to interact with Git. This approach provides deep recovery mechanisms, evaluates the necessity of rebase operations, and ensures safe, bounded history manipulation.

Can I use JJ to classify and manage side-bookmarks in my repository?

Yes, you can use JJ to classify and manage side-bookmarks. The Skill explicitly handles side-bookmark classification alongside advanced recovery and rewrite judgments to resolve complex repository scenarios effectively.

Does JJ recovery work with nested repository edge cases?

Yes, JJ recovery works with nested repository edge cases. The Skill is designed to handle these specific, difficult historical situations and provides rescue judgments for complex repository states.

When do I need to use advanced JJ recovery instead of standard Git commands?

You need advanced JJ recovery when facing non-routine history repair, complex rebase judgments, or nested repository edge cases. It provides bounded operations and deep recovery mechanisms beyond standard Git workflow actions.

How do I start a JJ recovery operation for a specific bookmark?

To start a JJ recovery operation for a specific bookmark, use the command: jj-recover "$MENTCI_TARGET_BOOKMARK". This initiates the assessment and execution of rewrite or cleanup actions for the targeted history.