jj-lazyjj

Community

Do all version control via jj when .jj exists.

Authorleodiegues
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents broken workflows by ensuring version control in jj-managed repositories always goes through jj (never raw git) when a .jj directory is present.

Core Features & Use Cases

  • Enforced jj-only operations: A hard rule that forbids raw git commands (add/commit/push/pull/rebase/branch/checkout/stash/merge/status/diff/log/reset) when .jj exists, replacing them with correct jj or LazyJJ equivalents.
  • Deterministic workflow mapping: Clear “forbidden → replacement” guidance for common git intentions like committing, syncing, pushing, rebasing, diffing, and history inspection.
  • Workspace-first concurrency model: Directs non-trivial work into isolated jj workspaces (claude-start/stop/checkpoint) to avoid clobbering parallel agent sessions, including recovery for stale working copies.
  • Stack and forge-friendly pushing: Supports stacks (stack-start/sync/submit/gc) and pushes/bookmark patterns aligned with GitHub and GitLab forge workflows (including stacked PR patterns on GitHub).

Quick Start

Use the jj-lazyjj skill to perform a safe stacked push by running: jj stack-start, then make changes and finish with jj stack-submit.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: jj-lazyjj
Download link: https://github.com/leodiegues/skills/archive/main.zip#jj-lazyjj

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.