m-worktree

Create and manage isolated git worktrees for parallel feature development.

2|Updated Jul 2, 2026
One-click install
npx skills add https://github.com/mituso89/Spec-Driven-Development-toolkits --skill m-worktree
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: m-worktree
Source: https://github.com/mituso89/Spec-Driven-Development-toolkits/tree/main/m-worktree
Command: npx skills add https://github.com/mituso89/Spec-Driven-Development-toolkits --skill m-worktree

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides an isolated workspace for git worktrees, allowing parallel development on feature branches without affecting the main branch.

Core Features & Use Cases

  • Isolated Workspaces: Create a separate worktree for each feature branch to avoid conflicts and ensure that the main branch remains stable.
  • Native Worktree Tools: Prefer native platform tools for worktree management, with a fallback to git worktree when needed.
  • Automated Setup: Automatically install dependencies and configure the worktree environment.
  • Verification and Cleanup: Verify the worktree's baseline and handle cleanup when the branch is merged or abandoned.

Quick Start

Use the m-worktree skill to create an isolated workspace for your feature branch 'new-feature'.

Frequently Asked Questions about m-worktree

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

FAQPage Schema
How do I create isolated git worktrees for parallel feature branch development?

Git worktrees create isolated workspaces for parallel feature branch development without affecting the main branch. This skill automates worktree creation, configures the environment, and installs dependencies to establish a stable baseline.

What is the best way to manage multiple git worktrees without breaking the main branch?

Managing multiple git worktrees keeps your main branch stable by isolating feature branch development. This skill automates dependency installation and environment configuration for each worktree, then handles baseline verification and cleanup.

Does this git worktree automation handle dependency installation and environment setup?

Yes, git worktree automation handles dependency installation and environment configuration automatically. It verifies the worktree baseline after setup to ensure the isolated workspace is fully prepared for parallel development.

Can I use native platform tools for git worktree management instead of standard git commands?

Yes, you can use native platform tools for git worktree management. This skill prefers native platform tools for worktree operations and automatically falls back to standard git worktree commands when necessary.

How do I clean up git worktrees after merging or abandoning a feature branch?

To clean up git worktrees after merging or abandoning a feature branch, this skill handles the cleanup process automatically. It verifies the worktree baseline and removes the isolated workspace once the branch lifecycle ends.