スキル一覧に戻る
cercova-studios

jujutsu-vcs

by cercova-studios

repo for claude code plugins

1🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: jujutsu-vcs description: Guide AI agents to use Jujutsu (jj) for version control. Covers core concepts, daily workflows, Git compatibility, conflict resolution, and collaboration with GitHub. Use this skill when working with jj repositories or when the user wants to use Jujutsu instead of Git.

<essential_principles>

Jujutsu (jj) is a Git-compatible VCS that eliminates common Git pain points. It's designed for safety, simplicity, and powerful history manipulation.

1. Working Copy Is Always a Commit

Unlike Git, your working copy state is always a commit in jj. Every file change is automatically tracked in the current commit—no staging area, no git add. When you run most jj commands, changes are auto-committed.

# In Git: edit → add → commit
# In jj:  edit → done (auto-committed)

2. Change IDs vs Commit IDs

Every commit has two identifiers:

  • Change ID: Stable across rewrites (use this daily)
  • Commit ID: Changes when commit is rewritten (like Git's SHA)

Use change IDs in your workflow—they survive rebases and amends.

3. Operations Are Always Reversible

The operation log records every action. Made a mistake? jj undo reverses it. Need to see what happened? jj op log shows everything.

4. Conflicts Are First-Class

Conflicts don't block operations. They're recorded in commits and can be resolved later. No more "rebase in progress" states.

5. Automatic Rebasing

When you edit a commit, all descendants automatically rebase on top of the modified version. Bookmarks and working copy update automatically.

</essential_principles>

<quick_reference>

Essential Commands:

TaskCommand
Statusjj st
Diffjj diff
Logjj log
Describe commitjj describe -m "message"
Create new commitjj new
Squash into parentjj squash
Edit any commitjj edit <change-id>
Undo last operationjj undo

Working with Git repos:

# Clone
jj git clone <url>

# Init in existing Git repo (colocated)
jj git init --colocate

# Fetch and push
jj git fetch
jj git push

</quick_reference>

  1. Get started (clone, init, basic setup)
  2. Make changes (daily development workflow)
  3. Work with history (edit, split, squash, rebase)
  4. Resolve conflicts
  5. Collaborate (GitHub, push, pull, PRs)
  6. Recover from mistakes (undo, operation log)
  7. Understand a concept or command

Wait for response before proceeding.

After reading the workflow, follow it exactly.

<verification_loop>

After every operation, verify state:

# 1. Check current state
jj st

# 2. View recent history
jj log -r 'ancestors(@, 5)'

# 3. If issues, check operation log
jj op log

Report to user:

  • Current commit and its description
  • Any conflicts present
  • Any pending changes

</verification_loop>

<reference_index>

Core Knowledge in references/:

FileContents
core-concepts.mdWorking copy, change IDs, automatic rebasing
git-command-mapping.mdGit → jj command translation table
revsets.mdSelecting commits with the revset language
bookmarks.mdNamed pointers (like Git branches)
common-patterns.mdTypical workflows and patterns
troubleshooting.mdCommon issues and solutions

</reference_index>

<workflows_index>

Workflows in workflows/:

FilePurpose
getting-started.mdInitialize repos, clone, basic setup
make-changes.mdDaily development workflow
work-with-history.mdEdit, split, squash, rebase commits
resolve-conflicts.mdHandle and resolve conflicts
collaborate-github.mdPush, pull, PRs, remote workflows
recover-mistakes.mdUndo operations, restore state

</workflows_index>

<success_criteria>

A successful jj operation:

  • Completes without unexpected conflicts
  • Maintains clean history (descriptive commit messages)
  • Keeps working copy in expected state
  • Can be undone if needed via jj undo

</success_criteria>

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です