worktrees

Create isolated Git worktrees per ticket and manage PR lifecycle.

3|1|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/jon23d/skillz --skill worktrees-jon23d
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worktrees
Source: https://github.com/jon23d/skillz/tree/main/skills/worktrees
Command: npx skills add https://github.com/jon23d/skillz --skill worktrees-jon23d

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the development workflow by creating isolated, per-ticket environments using Git worktrees, ensuring clean separation of concerns and efficient task management.

Core Features & Use Cases

  • Isolated Workspaces: Each ticket gets its own dedicated worktree and branch, preventing interference with the main codebase.
  • Full Lifecycle Management: Handles worktree setup, subagent coordination, PR creation, and review feedback rounds.
  • Use Case: When a new bug report comes in, this Skill automatically sets up a new Git worktree for it, allowing engineers to fix the bug in isolation without affecting ongoing development.

Quick Start

Use the worktrees skill to create a new worktree for ticket PROJ-123, titled 'Implement user login'.

Frequently Asked Questions about worktrees

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

FAQPage Schema
How do I manage isolated git worktrees for separate development tickets?

To manage isolated git worktrees for separate development tickets, you create dedicated branches and directories for each task. This approach ensures clean separation of concerns, preventing interference with the main codebase while fixing bugs or building features in isolation.

What is the best way to handle the full development workflow from ticket creation to pull request review?

The best way to handle the full development workflow is to orchestrate worktree setup, subagent coordination, pull request creation, and review feedback handling in one process. This lifecycle management enforces strict separation of tasks within dedicated worktree environments from start to finish.

Can I coordinate subagents within a dedicated git worktree environment?

Yes, you can coordinate subagents within a dedicated git worktree environment. The workflow manages subagent coordination alongside worktree setup, ensuring that isolated development tasks are executed efficiently without disrupting ongoing development in the main codebase branch.

When do I need to set up an isolated worktree for a bug fix?

You need to set up an isolated worktree for a bug fix when a new bug report comes in and you want to resolve it without affecting ongoing development. This dedicated environment prevents interference with the main codebase, ensuring clean separation of concerns during the fix.

Does this per-ticket worktree workflow handle pull request creation and review feedback?

Yes, this per-ticket worktree workflow handles both pull request creation and review feedback rounds. It automates PR creation after isolated development and manages subsequent review feedback, providing full lifecycle management from initial worktree setup through final code review.