smithery.ai

worktree-manager-skill

Comprehensive git worktree management. Use when the user wants to create, remove, list, or manage worktrees. Handles all worktree operations including creation, deletion, and status checking.

First seen Mar 7, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsSlashCommand, Bash, Read, Write, Edit, Glob, Grep

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,674 B
  • docs SUMMARY.md 221 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 4 installs

SKILL.md

Worktree Manager Skill

Complete worktree lifecycle management for parallel development environments with isolated ports, databases, and configuration.

When to use this skill

Use this skill when the user wants to:

  • Create a new worktree for parallel development
  • Remove an existing worktree
  • List all worktrees and their status
  • Check worktree configuration or status
  • Manage multiple parallel development environments

Do NOT use this skill when:

  • User asks for a specific subagent or skill delegation
  • User wants to manually use git commands directly
  • The task is unrelated to worktree management

Operations Overview

This skill manages three core worktree operations:

Operation Command When to Use
Create /git-simple:createworktreeprompt User wants a new parallel environment
List /git-simple:listworktreesprompt User wants to see existing worktrees
Remove /git-simple:removeworktreeprompt User wants to delete a worktree

Decision Tree: Which Command to Use

1. User wants to CREATE a worktree

Keywords: create, new, setup, make, build, start, initialize Action: Use /git-simple:createworktreeprompt <branch-name>

2. User wants to LIST worktrees

Keywords: list, show, display, what, which, status, check, view Action: Use /git-simple:listworktreesprompt

3. User wants to REMOVE a worktree

Keywords: remove, delete, cleanup, destroy, stop, kill, terminate Action: Use /git-simple:removeworktreeprompt <branch-name>

Quick Start

For step-by-step operation instructions, see [OPERATIONS.md](OPERATIONS.md).

For detailed examples and usage patterns, see [EXAMPLES.md](EXAMPLES.md).

For troubleshooting and common issues, see [TROUBLESHOOTING.md](TROUBLESHOOTING.md).

For technical details and quick reference, see [REFERENCE.md](REFERENCE.md).

Important Notes

Do NOT attempt to:

  • Create worktrees manually with git commands
  • Manually configure ports or environment files
  • Use bash to remove directories directly
  • Manage worktree processes manually

Always use the slash commands because they:

  • Handle all configuration automatically
  • Ensure port uniqueness
  • Validate operations
  • Provide comprehensive error handling
  • Clean up properly on removal