KS
Killer-Skills

wm-git-worktree-manager — how to use wm-git-worktree-manager how to use wm-git-worktree-manager, wm-git-worktree-manager setup guide, git worktree management best practices, wm-git-worktree-manager alternative, wm-git-worktree-manager vs git worktree, wm-git-worktree-manager install, wm-git-worktree-manager CLI commands, git worktree manager tool, wm-git-worktree-manager automated environments

v1.0.0
GitHub

About this Skill

Perfect for Development Agents needing efficient git worktree management capabilities. wm-git-worktree-manager is a command-line interface tool designed for managing git worktrees, allowing developers to initialize and manage worktrees using explicit arguments.

Features

Initialize project config using the `wm init` command
Add worktrees using the `wm add` command with explicit arguments
Remove worktrees using the `wm remove` command with explicit arguments
Supports non-interactive mode for automated environments
Configures projects using the .wm.yaml file format

# Core Topics

Devdha Devdha
[0]
[0]
Updated: 3/6/2026

Quality Score

Top 5%
51
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add Devdha/wm/wm-git-worktree-manager

Agent Capability Analysis

The wm-git-worktree-manager MCP Server by Devdha is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use wm-git-worktree-manager, wm-git-worktree-manager setup guide, git worktree management best practices.

Ideal Agent Persona

Perfect for Development Agents needing efficient git worktree management capabilities.

Core Value

Empowers agents to manage multiple worktrees efficiently using explicit CLI arguments, supporting non-interactive mode and project config initialization via .wm.yaml files.

Capabilities Granted for wm-git-worktree-manager MCP Server

Initializing project configurations with wm init
Adding new worktrees with wm add
Removing existing worktrees with wm remove

! Prerequisites & Limits

  • Requires non-interactive mode
  • Explicit arguments mandatory
  • Limited to git worktree management
Project
SKILL.md
2.4 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

WM - Git Worktree Manager

CLI tool for easy git worktree management.

IMPORTANT: Non-Interactive Mode Required

Always use explicit arguments. Interactive mode does not work in automated environments.

bash
1# CORRECT - explicit arguments 2wm add feature-auth 3wm remove feature-auth 4 5# WRONG - interactive mode (will hang) 6wm add # NO! 7wm remove # NO!

Quick Reference

CommandDescription
wm initInitialize project config (.wm.yaml)
wm add <branch>Create worktree for branch
wm add <branch> -p <path>Create worktree at custom path
wm listList all worktrees
wm remove <branch>Remove worktree by branch name
wm remove <path>Remove worktree by path
wm remove -b <branch>Remove worktree AND delete branch
wm remove -f <branch>Force remove (skip confirmation)

Common Patterns

Create Worktree

bash
1# Basic usage 2wm add feature-login 3 4# With custom path 5wm add feature-login -p ./workspaces/login 6 7# Branch with slash becomes hyphenated folder 8wm add feature/auth 9# Creates: ../wm_repo/feature-auth/

Remove Worktree

bash
1# By branch name 2wm remove feature-auth 3 4# By path 5wm remove ../wm_repo/feature-auth 6 7# Also delete the git branch 8wm remove -b feature-auth 9 10# Force (skip confirmation) 11wm remove -f feature-auth

List Worktrees

bash
1wm list 2# or 3wm ls

Configuration (.wm.yaml)

yaml
1version: 1 2 3worktree: 4 base_dir: "../wm_{repo}" # {repo} replaced with repo name 5 6sync: 7 - ".env" # Copy to worktree 8 - "apps/*/.env" # Glob supported 9 - src: ".env.example" 10 dst: ".env" 11 mode: copy # or "symlink" 12 when: missing # or "always" 13 14tasks: 15 post_install: 16 mode: background # Async execution 17 commands: 18 - "npm install"

When to Use

  • Working on multiple features in parallel
  • Reviewing PRs while continuing other work
  • Running long builds/tests on separate branch
  • Quick branch switching without stash

Common Mistakes

MistakeSolution
Using interactive modeAlways provide branch/path argument
Expecting nested folders for feature/authCreates feature-auth (flat) since v0.1.1
Trying to remove main worktreeNot allowed - main worktree is protected
Branch used by another worktreeWarning shown, requires confirmation

Related Skills

Looking for an alternative to wm-git-worktree-manager or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication