plugins/core/skills/git-worktree/SKILL.md
This skill should be used when managing Git worktrees for isolated parallel development -- creating, listing, switching between, and cleaning up worktrees with interactive confirmations and automatic .env file copying.
npx skillsauth add rbozydar/rbw-claude-code git-worktreeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Manage Git worktrees for isolated parallel development through a unified manager script.
Never call git worktree add directly. The manager script handles critical setup that raw git commands miss: copying .env files, managing .gitignore, and maintaining consistent directory structure.
# CORRECT
bash ${CLAUDE_PLUGIN_ROOT}/skills/git-worktree/scripts/worktree-manager.sh create feature-name
# WRONG
git worktree add .worktrees/feature-name -b feature-name main
SCRIPT="${CLAUDE_PLUGIN_ROOT}/skills/git-worktree/scripts/worktree-manager.sh"
# Create a new worktree (copies .env files automatically)
bash $SCRIPT create <branch-name> [from-branch]
# List all worktrees with status
bash $SCRIPT list
# Switch to an existing worktree
bash $SCRIPT switch <name>
# Copy .env files to an existing worktree
bash $SCRIPT copy-env <name>
# Clean up completed worktrees interactively
bash $SCRIPT cleanup
Run bash $SCRIPT help for full option details.
/workflows:review): If not on the PR branch, use a worktree for isolated review/workflows:work): For parallel development alongside other branches/workflows:review1. Check current branch
2. If already on PR branch → stay, no worktree needed
3. If different branch → offer worktree for isolated review
/workflows:work1. Ask: new branch on current worktree, or worktree for parallel work?
2. If parallel → create worktree from main
"Worktree already exists" -- the script offers to switch to it instead.
"Cannot remove: current worktree" -- switch out first: cd $(git rev-parse --show-toplevel) then cleanup.
Missing .env files -- run bash $SCRIPT copy-env <name> to copy them to an existing worktree.
Lost in a worktree -- run bash $SCRIPT list to see all worktrees and current location.
development
This skill should be loaded when writing, reviewing, or refactoring Python code to apply strict coding standards directly in the current context without spawning a subagent. It provides comprehensive Python development standards covering SOLID principles, asyncio patterns, type hints, testing, and production-quality code.
tools
This skill should be used when invoking the Gemini CLI for code review, plan review, or any prompt-based task. It provides correct invocation patterns emphasizing stdin piping and @ syntax over shell variable gymnastics.
development
Use this skill when writing, reviewing, or debugging Quickshell configurations (QML files for desktop shell UI on Wayland/Hyprland). Triggers on: QML files with Quickshell imports, shell.qml entry points, PanelWindow or FloatingWindow usage, Quickshell service integration (PipeWire, MPRIS, notifications, Hyprland IPC), Wayland layer-shell or session-lock code, custom bar/panel/widget/dock/OSD/lockscreen/launcher development, or any question about building a desktop shell with Quickshell on Hyprland.
development
This skill should be used when thorough, multi-perspective research with citations is needed. It performs comprehensive research using a diffusion research loop with domain specialization, supporting general web research and specialized domains (geopolitical with GDELT). Auto-detects domain from query or accepts an explicit --domain flag.