Back to list
lhohan

detect-jujutsu

by lhohan

Reusable skills and commands for Claude Code and other AI agents

0🍴 0📅 Jan 20, 2026

SKILL.md


name: detect-jujutsu description: Verify if the current repository uses Jujutsu (jj) instead of git. Use this skill when you or the user needs to confirm the version control system (VCS) state before performing operations. version: 0.2.1

Detecting Jujutsu (jj)

This repository uses Jujutsu (jj) as its version control if confirmed by the authoritative detection script built for this project.

Detection Procedure

To verify if this is a Jujutsu repository, you MUST run the following script using the Bash tool:

bash skills/detect-jujutsu/scripts/detect-jj.sh

This works from the repository root directory.

Interpreting the Result

  • Exit Code 0 (Success): This is a Jujutsu repository.
    • Action: Use jj commands exclusively.
    • Next Step: Invoke the use-jujutsu skill for detailed command reference and workflows.
  • Exit Code 1 (Not JJ): This is a standard Git repository.
    • Action: Use standard git workflows.
  • Exit Code 2 (Indeterminate): An error occurred (e.g., jj not installed or not in a git repo).
    • Action: Follow the "Next steps" printed by the script.

Outcome

Always respect the detection result. If Jujutsu is confirmed, do not use git commands unless explicitly requested by the user for remote synchronization tasks.

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

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

+20
LICENSE

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

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

Reviews

💬

Reviews coming soon