dev-worktree

Create an isolated Git worktree with dependency setup and test verification.

19|5|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/edwinhu/workflows --skill dev-worktree
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dev-worktree
Source: https://github.com/edwinhu/workflows/tree/main/skills/dev-worktree
Command: npx skills add https://github.com/edwinhu/workflows --skill dev-worktree

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the challenge of maintaining a clean development environment while working on new features, preventing conflicts and ensuring a stable baseline.

Core Features & Use Cases

  • Workspace Isolation: Creates a separate, clean Git worktree for each new feature.
  • Automated Setup: Detects project type and installs necessary dependencies.
  • Baseline Verification: Mandates running tests to confirm a stable starting point before development begins.
  • Use Case: When starting a new feature, use this skill to create an isolated environment, install dependencies, and run tests to ensure you're not inheriting issues from the main branch.

Quick Start

Use the dev-worktree skill to create an isolated worktree for a new feature named 'user-authentication'.

Frequently Asked Questions about dev-worktree

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

FAQPage Schema
How do I create an isolated Git worktree for feature development?

To create an isolated Git worktree, use the dev-worktree skill to generate a separate workspace, automatically detect your project type, and install necessary dependencies for clean feature development.

How do I verify a stable baseline before starting new feature development?

Verify a stable baseline by mandating test verification in your isolated Git worktree, ensuring tests pass before you begin development to prevent inheriting issues from the main branch.

What's the best way to prevent dependency conflicts when working on multiple Git branches?

Prevent dependency conflicts by creating an isolated Git worktree for each branch, allowing automatic dependency setup to run independently within a clean, reproducible development environment.

Does Git worktree isolation work with my existing project build and test commands?

Git worktree isolation works with your existing project by requiring project-specific build and test commands to install dependencies and validate the baseline before development begins.

Why should I use a Git worktree instead of cloning a repository for a clean development environment?

Use a Git worktree instead of cloning to achieve workspace isolation more efficiently, sharing the same repository history while maintaining a clean baseline and automated dependency setup for each feature.

What are the limitations of using Git worktrees for workspace isolation?

Limitations include requiring Git worktree functionality and project-specific build and test commands; if your project lacks defined dependency installation or baseline validation steps, automated setup will not function correctly.