worktree

Create new git worktrees for parallel development tasks.

Updated Sep 1, 2024
One-click install
npx skills add https://github.com/jaesoekjjang/dotfiles --skill worktree-jaesoekjjang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worktree
Source: https://github.com/jaesoekjjang/dotfiles/tree/main/claude/skills/worktree
Command: npx skills add https://github.com/jaesoekjjang/dotfiles --skill worktree-jaesoekjjang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires workmux, and includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of creating new git worktrees for parallel development tasks, making it easier to manage multiple codebases concurrently.

Core Features & Use Cases

  • Parallel Development: Create new git worktrees for different tasks in a single command.
  • Task Management: Organize and manage parallel development tasks with clear worktree names and detailed prompts.
  • Use Case: When you need to work on two different features at the same time in a project, use this Skill to create separate worktrees for each feature to avoid code conflicts and keep your project organized.

Quick Start

Use the worktree skill to launch a new worktree for the "feature-a" task.

Frequently Asked Questions about worktree

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

FAQPage Schema
How do I create git worktrees for parallel development tasks?

You can create git worktrees for parallel development by using this Skill to automatically generate isolated workspaces for different features in a single command. It requires a functioning git environment and the workmux dependency to manage the worktrees effectively.

What is the best way to work on multiple git branches at the same time?

Working on multiple git branches simultaneously is best achieved by using git worktrees to create separate directories for each feature. This Skill streamlines that process, allowing you to manage parallel tasks and avoid code conflicts within a single repository.

Do I need workmux to manage parallel git worktrees?

Yes, you need workmux to manage parallel git worktrees because it is a required dependency for this Skill. Alongside a functioning git environment, workmux handles the underlying worktree management so you can isolate features without manual configuration.

When should I use git worktrees instead of cloning a repository?

Git worktrees should be used instead of cloning when you need to work on parallel development tasks within the same repository without duplicating the entire codebase. This approach avoids code conflicts and keeps your project organized across isolated branches.

How do I avoid code conflicts when switching between features in a single repository?

You can avoid code conflicts when switching between features in a single repository by using this Skill to create isolated git worktrees for each task. This allows for parallel development without interfering with your main working directory.