worktree-workflow

Manage Git worktrees for parallel development and automated Pull Request cleanup.

Updated Jan 8, 2026
One-click install
npx skills add https://github.com/takemo101/compose-workflow --skill worktree-workflow-takemo101
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: worktree-workflow
Source: https://github.com/takemo101/compose-workflow/tree/main/.opencode/skill/worktree-workflow
Command: npx skills add https://github.com/takemo101/compose-workflow --skill worktree-workflow-takemo101

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines parallel development on platform-specific code by leveraging Git worktrees, avoiding the need to switch branches or use containers for host-environment tasks.

Core Features & Use Cases

  • Branch Isolation: Develop features in isolated worktrees without affecting the main branch.
  • Host Environment Development: Ideal for platform-specific code (e.g., macOS APIs) directly on the host.
  • Efficient Workflow: Seamlessly create, develop in, and clean up worktrees, including PR creation.

Quick Start

Create a new git worktree for the issue-42-auth branch.

Frequently Asked Questions about worktree-workflow

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

FAQPage Schema
How do I manage parallel development on platform-specific code without switching git branches?▼

Git worktrees allow parallel development on platform-specific code by creating isolated branch directories, avoiding the need to switch branches or use containers for host-environment tasks.

What is the best way to automate git worktree cleanup after a feature branch is merged?▼

Automating git worktree cleanup involves removing the isolated branch directory and generating a Pull Request upon completion, ensuring the workspace stays clean after parallel development workflows finish.

Can I use git worktrees for macOS API development directly on the host environment?▼

Yes, git worktrees are ideal for host environment development like macOS APIs, letting you develop platform-specific code directly on the host without container interference or branch switching overhead.

How do I create an isolated git worktree for a specific feature branch?▼

Creating an isolated git worktree involves generating a new directory linked to a specific feature branch, allowing you to develop features independently without affecting the main branch.

Does using git worktrees require any special dependencies or containers for parallel development?▼

No special dependencies or containers are required; git worktrees facilitate parallel development natively within the host environment, relying only on standard git branching mechanisms for code isolation.