wm-git-worktree-manager — community wm-git-worktree-manager, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Ideal for Version Control Agents requiring efficient git worktree management capabilities. git worktree manager

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

Agent Capability Analysis

The wm-git-worktree-manager skill by Devdha is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Ideal for Version Control Agents requiring efficient git worktree management capabilities.

Core Value

Empowers agents to manage git worktrees using explicit arguments, providing a reliable way to add and remove worktrees, and initialize project configurations via .wm.yaml files, all while avoiding interactive mode limitations.

Capabilities Granted for wm-git-worktree-manager

Initializing project configurations with wm init
Automating worktree additions with wm add
Removing worktrees efficiently using wm remove

! Prerequisites & Limits

  • Requires non-interactive mode
  • Explicit arguments mandatory
  • Limited to git worktree management
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

wm-git-worktree-manager

Install wm-git-worktree-manager, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

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

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is wm-git-worktree-manager?

Ideal for Version Control Agents requiring efficient git worktree management capabilities. git worktree manager

How do I install wm-git-worktree-manager?

Run the command: npx killer-skills add Devdha/wm/wm-git-worktree-manager. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for wm-git-worktree-manager?

Key use cases include: Initializing project configurations with wm init, Automating worktree additions with wm add, Removing worktrees efficiently using wm remove.

Which IDEs are compatible with wm-git-worktree-manager?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for wm-git-worktree-manager?

Requires non-interactive mode. Explicit arguments mandatory. Limited to git worktree management.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add Devdha/wm/wm-git-worktree-manager. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use wm-git-worktree-manager immediately in the current project.

Related Skills

Looking for an alternative to wm-git-worktree-manager or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

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
AI

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
AI