Babysitter using-git-worktrees
Use when starting feature work that needs isolation from current workspace or before executing implementation plans.
install
source · Clone the upstream repo
git clone https://github.com/a5c-ai/babysitter
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/a5c-ai/babysitter "$T" && mkdir -p ~/.claude/skills && cp -r "$T/library/methodologies/superpowers/skills/using-git-worktrees" ~/.claude/skills/a5c-ai-babysitter-using-git-worktrees && rm -rf "$T"
manifest:
library/methodologies/superpowers/skills/using-git-worktrees/SKILL.mdsource content
Using Git Worktrees
Overview
Create isolated workspaces sharing the same repository. Systematic directory selection + safety verification.
Core principle: Isolated workspace before implementation.
Process
- Check existing directories (.worktrees/ or worktrees/)
- Verify directory is gitignored
- Create worktree with new branch
- Run project setup (auto-detect npm/cargo/pip/go)
- Verify clean test baseline
- Report ready
Safety
- Always verify worktree directory is gitignored
- Always run baseline tests
- Report failures before proceeding
Agents Used
- Process agents referenced in
superpowers-workflow.js
Tool Use
Referenced by
executing-plans and subagent-driven-development processes.