worktree

Manage Git worktrees and export development plans to the main repository.

Updated Nov 15, 2025
One-click install
npx skills add https://github.com/cloudvoyant/claudevoyant --skill worktree-cloudvoyant
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worktree
Source: https://github.com/cloudvoyant/claudevoyant/tree/main/plugins/spec/skills/worktree
Command: npx skills add https://github.com/cloudvoyant/claudevoyant --skill worktree-cloudvoyant

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the management of Git worktrees, making it easier to isolate development tasks and synchronize them with your main project.

Core Features & Use Cases

  • Worktree Management: List, create, remove, and prune Git worktrees.
  • Plan Synchronization: Export development plans from worktrees back to the main repository.
  • Use Case: When working on a new feature, create a dedicated worktree for it. After development, use this Skill to export the associated plan and its progress to the main repository's plan tracking system.

Quick Start

Use the worktree skill to list all current git worktrees.

Frequently Asked Questions about worktree

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

FAQPage Schema
How do I manage git worktrees for spec-driven development?

You can manage git worktrees for spec-driven development by listing, creating, removing, and pruning them to isolate specific development tasks. This process synchronizes worktree-specific development plans and their progress status directly back to your main repository.

How do I export a development plan from a git worktree to the main repository?

To export a development plan from a git worktree, use the plan synchronization feature to push worktree-specific plans back to the main repository. This updates the central plan tracking system with the latest status and progress from your isolated feature branch.

What is the best way to isolate feature development tasks using git worktrees?

The best way to isolate feature development tasks is creating a dedicated git worktree for each new feature. This allows you to manage isolated development workflows and synchronize associated spec-driven plans upon completion without interfering with the main project.

Can I synchronize worktree status with my main project's plan tracking system?

Yes, you can synchronize worktree status with your main project's plan tracking system. The workflow associates active git worktrees with development plans and exports their current progress directly into the main repository's central plan management system.

How do I prune unused git worktrees during a development workflow?

You can prune unused git worktrees during a development workflow using the prune operation. This cleans up stale worktree directories and their associated isolated environments, keeping your spec-driven development workspace organized and free of abandoned branches.