daft-worktree-workflow

Manage Git worktrees for parallel development with YAML-configured hooks.

3|Updated May 17, 2025
One-click install
npx skills add https://github.com/avihut/daft --skill daft-worktree-workflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: daft-worktree-workflow
Source: https://github.com/avihut/daft/tree/main
Command: npx skills add https://github.com/avihut/daft --skill daft-worktree-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines Git workflows by enabling parallel development across multiple branches simultaneously, eliminating the need for context switching and stashing.

Core Features & Use Cases

  • Worktree Isolation: Each branch gets its own directory, providing a fully isolated environment for development, builds, and IDE states.
  • Seamless Branching: Create, switch, and manage branches efficiently using intuitive commands.
  • Lifecycle Automation: Automate setup tasks for new worktrees using YAML-configured hooks, ensuring consistent development environments.
  • Use Case: A developer needs to work on a new feature while simultaneously fixing a critical bug on a separate branch. daft allows them to have both branches checked out in separate directories, running their respective development servers without interference.

Quick Start

Use daft to create a new worktree for the 'feature/auth' branch.

Frequently Asked Questions about daft-worktree-workflow

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

FAQPage Schema
How do I use Git worktrees for parallel development without stashing changes?

Git worktrees enable parallel development by assigning each branch its own isolated directory, eliminating the need for stashing or context switching when working on multiple features simultaneously.

What is the best way to automate setup tasks for new Git worktree branches?

Automating Git worktree setup is handled through YAML-configured hooks that execute lifecycle commands, ensuring consistent development environments and tooling integration whenever a new worktree is initialized.

Can I run multiple development servers from different Git branches at the same time?

Yes, isolated worktree directories allow you to checkout separate branches simultaneously, letting you run their respective development servers and builds without interference or port conflicts.

How do I manage the Git worktree lifecycle and create shortcuts for branch switching?

Worktree lifecycle management and branch switching are handled through dedicated commands and shell integration, providing intuitive shortcuts to create, manage, and remove isolated branch environments efficiently.

Do I need any specific dependencies to manage parallel Git workflows with worktrees?

No specific dependencies are required to manage parallel Git workflows, as the tooling operates independently using internal scripts and YAML hooks to facilitate worktree isolation and environment tooling integration.