skill · Git & Code Review
Using Git Worktrees
by obra
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback
- Claude Code
- Codex
- Cursor
- GitHub Copilot
- Gemini CLI
- ★ 320k on GitHub
- Updated 2026-11-03
- MIT
Calyban is a free desktop app. It checks Using Git Worktrees for red flags before installing, lets you choose the agent and folder, and undoes it in one click.
Install Using Git Worktrees manually
Prefer the terminal? This does the same thing as Calyban's install.
Claude Code
git clone --depth 1 https://github.com/obra/superpowers.git calyban-tmp-using-git-worktrees
mkdir -p ~/.claude/skills
cp -r calyban-tmp-using-git-worktrees/skills/using-git-worktrees ~/.claude/skills/using-git-worktrees
rm -rf calyban-tmp-using-git-worktreesCodex
git clone --depth 1 https://github.com/obra/superpowers.git calyban-tmp-using-git-worktrees
mkdir -p ~/.codex/skills
cp -r calyban-tmp-using-git-worktrees/skills/using-git-worktrees ~/.codex/skills/using-git-worktrees
rm -rf calyban-tmp-using-git-worktreesStart a new Claude Code, Codex & more session afterwards so it picks up the change.
Similar skills
Code ReviewmattpocockReview the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating…Receiving Code ReviewobraUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or…Conventional Commit Reviewaffaan-mReviews staged changes and drafts a Conventional Commits-compliant commit message with the right type, scope, and length. Use before committing, or when the user asks to write, fix, or review a commit message.Cpp Coding Standardsaffaan-mC++ coding standards based on the C++ Core Guidelines (isocpp.github.io). Use when writing, reviewing, or refactoring C++ code to enforce modern, safe, and idiomatic practices.Git Workflowaffaan-mGit workflow patterns including branching strategies, commit conventions, keeping history clean and readable, tidying local commits before merging, merge vs rebase, conflict resolution, and collaborative development…Issue Reviewaffaan-mReview a GitHub issue the way /code-review reviews a PR. Fetches the issue with the gh CLI, checks the report against the current codebase, searches for duplicates and prior fixes, scores completeness, assigns…
Guides
Listed in the public Calyban catalog. Using Git Worktrees is made by obra, not Calyban. Inclusion isn't an endorsement and safety checks aren't a guarantee.