obra-superpowers-using-git-worktrees

Create isolated git worktrees with safety checks and project bootstrap.

Updated Jan 8, 2026
One-click install
npx skills add https://github.com/cpa03/blueprintify --skill obra-superpowers-using-git-worktrees
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obra-superpowers-using-git-worktrees
Source: https://github.com/cpa03/blueprintify/tree/main/.opencode/skill/obra-superpowers-using-git-worktrees
Command: npx skills add https://github.com/cpa03/blueprintify --skill obra-superpowers-using-git-worktrees

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create isolated worktrees to safely develop new features without polluting the main workspace by providing deterministic isolation and safety checks.

Core Features & Use Cases

  • Creates isolated worktrees using git worktree add with smart directory selection.
  • Verifies that worktrees are ignored by gitignore rules to prevent accidental commits.
  • Supports both project-local and global worktree locations and prompts when needed.

Quick Start

Ask me to create an isolated worktree for a feature branch and I will set it up in the preferred location, verify ignores, and bootstrap the project.

Frequently Asked Questions about obra-superpowers-using-git-worktrees

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I isolate feature development to avoid polluting my main git workspace?

Git worktrees provide isolated development environments by linking a secondary working directory to your repository, allowing you to develop new features safely without polluting the main workspace. They enable simultaneous multi-branch work without stashing or cloning.

How do I safely create a git worktree for a new feature branch?

To safely create a git worktree, use a scripted bootstrap that selects a project-local or global directory, verifies worktrees are ignored by gitignore rules to prevent accidental commits, and applies safety guardrails. This ensures deterministic isolation for feature development.

Can I use global directories outside my project for git worktree isolation?

Yes, you can use global worktree locations outside the project directory. The worktree creation process supports both project-local and global locations, prompting when needed to select the preferred directory for isolated feature development.

Why do git worktrees need to be verified against gitignore rules?

Git worktrees need gitignore verification to prevent accidental commits of worktree directories into the main repository. Verifying ignore rules ensures the isolated feature development environment remains separate and does not pollute the primary workspace's commit history.

What's the best way to manage multi-branch feature development without stashing changes?

Using isolated git worktrees is the best way to manage multi-branch feature development without stashing changes. Worktrees provide separate working directories for each branch, applying directory detection and safety checks to ensure clean isolation across branches.

Do I need to manually bootstrap project setup after creating an isolated worktree?

No, you do not need to manually bootstrap project setup after creating an isolated worktree. The worktree creation process includes scripted bootstrap of project setup, automatically handling directory detection and configuration to prepare the isolated environment.