sc-worktree

Create, list, and clean up Git worktrees for parallel agent development.

19|2|Updated Aug 26, 2025
One-click install
npx skills add https://github.com/Tony363/SuperClaude --skill sc-worktree
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sc-worktree
Source: https://github.com/Tony363/SuperClaude/tree/main/.claude/skills/sc-worktree
Command: npx skills add https://github.com/Tony363/SuperClaude --skill sc-worktree

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables multiple AI agents to work on isolated features simultaneously within a Git repository, preventing conflicts and streamlining parallel development workflows.

Core Features & Use Cases

  • Isolated Development Environments: Creates separate Git worktrees for each task or feature.
  • Parallel Agent Execution: Allows multiple agents to operate concurrently without interfering with each other.
  • Streamlined Proposing & Cleanup: Facilitates easy pushing of changes, creation of pull requests, and removal of completed worktrees.
  • Use Case: Imagine a team of AI agents working on different parts of a new feature. This skill ensures each agent has its own clean workspace, commits its changes to a dedicated branch, and allows for easy review and merging of their contributions.

Quick Start

Use the sc-worktree skill to create an isolated worktree for the 'feature-auth' task.

Frequently Asked Questions about sc-worktree

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

FAQPage Schema
How do I use git worktree for parallel agent development?

Git worktree for parallel agent development creates isolated workspaces for each AI agent, preventing conflicts and streamlining simultaneous feature execution within a single repository.

What is the best way to manage multiple isolated git branches for concurrent AI agents?

Managing multiple isolated git branches involves creating separate worktrees for each task, allowing agents to operate concurrently without interfering, then cleaning up completed worktrees.

How do I automate pull requests from isolated git worktrees?

Automating pull requests from isolated git worktrees integrates with Rube MCP for PR automation and notifications, streamlining the proposal and review of changes made in isolated branches.

Can I use git worktree to prevent conflicts during parallel feature work?

Git worktree prevents conflicts during parallel feature work by providing each agent a dedicated, isolated workspace and branch, ensuring simultaneous execution does not overwrite uncommitted changes.

How do I clean up completed git worktrees after merging?

Cleaning up completed git worktrees involves removing the isolated environment after changes are pushed and merged, ensuring the repository remains uncluttered for future parallel tasks.