Home /Claude Skills /worktree-skill
Highly Recommended

Worktree Skill

Say goodbye to catastrophic mistakes caused by Git worktrees
Airbag for Git worktrees
Core Principle:
This is a smart guardian plugin designed for Git worktrees. It automatically creates worktrees in the .git/checkouts directory (invisible to Git), prevents accidental modifications to the main branch, ensures you don't delete worktrees before merging, and even stops you from marking tasks complete before branch merging.
KEY FEATURES
01Invisible Worktrees
Hides worktrees where Git can't see them, keeping repositories clean
02Main Branch Shield
Completely prevents accidental modifications to the main branch
03Merge Protection
Ensures you don't accidentally delete unmerged worktrees
04Task Lock
Prevents marking tasks complete before branch merging
github.com/sttts/worktree-skill
data-ai·sttts·2026-01-29·0·🔱 0
Curated by agent-skills.cc
Installation
Download
HTTPS
git clone https://github.com/sttts/worktree-skill.git
SSH
git clone [email protected]:sttts/worktree-skill.git
GitHub CLI
gh repo clone sttts/worktree-skill
FAQ
Q: What are the installation steps for Worktree Skill Agent Skills?
1.Install Plugin: One-click installation of worktree-skill
2.Create Worktree: Automatically creates worktree in safe location
3.Develop Safely: Smart protection throughout
4.Merge & Clean: Ensures safety before deleting worktree
Q: What are the highlights of Worktree Skill Agent Skills?
  • Invisible shield
  • Zero-configuration guardian
  • Smart error prevention
  • Version control security expert
Q: What are the use cases for Worktree Skill Agent Skills?
  • Team collaboration development
  • Feature branch management
  • Emergency bug fixes
  • Parallel multitasking development
Q: What are the limitations of Worktree Skill Agent Skills?
  • Only applicable to Git worktree scenarios
  • Requires Claude to use