vcs-detect
CommunityDetect VCS: jj or git before commands.
Authordeloreyj
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Detect the active version control system (jj or git) for the current project before running any VCS command to ensure the correct CLI is used.
Core Features & Use Cases
- Detects whether jj or git is present as the repo root tools, including handling colocated setups with both .jj/ and .git/ directories.
- Uses a priority detection: first try 'jj root', then 'git rev-parse --show-toplevel', else report 'none' to indicate no VCS.
- Provides a mapping guide so commands are run with the correct CLI depending on the detected VCS.
- Works in colocated repos to prefer jj commands while keeping git available for compatibility.
Quick Start
Run the detection command to identify the VCS (jj or git) and then use the corresponding CLI.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: vcs-detect Download link: https://github.com/deloreyj/.dotfiles/archive/main.zip#vcs-detect Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.