Agent skill

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.

Stars 232
Forks 15

Install this agent skill to your Project

npx add-skill https://github.com/aiskillstore/marketplace/tree/main/skills/egadams/worktree-manager-skill

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 /create_worktree User wants a new parallel environment
List /list_worktrees User wants to see existing worktrees
Remove /remove_worktree 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 /create_worktree <branch-name> [port-offset]

2. User wants to LIST worktrees

Keywords: list, show, display, what, which, status, check, view Action: Use /list_worktrees

3. User wants to REMOVE a worktree

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

Quick Start

For step-by-step operation instructions, see OPERATIONS.md.

For detailed examples and usage patterns, see EXAMPLES.md.

For troubleshooting and common issues, see TROUBLESHOOTING.md.

For technical details and quick reference, see 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

Expand your agent's capabilities with these related and highly-rated skills.

aiskillstore/marketplace

perigon-backend

Perigon ASP.NET Core + EF Core + Aspire conventions

232 15
Explore
aiskillstore/marketplace

perigon-agent

Pointers for Copilot/agents to apply Perigon conventions

232 15
Explore
aiskillstore/marketplace

perigon-angular

Angular 21+ standalone/Material/signal conventions for Perigon WebApp

232 15
Explore
aiskillstore/marketplace

fastapi-mastery

Comprehensive FastAPI development skill covering REST API creation, routing, request/response handling, validation, authentication, database integration, middleware, and deployment. Use when working with FastAPI projects, building APIs, implementing CRUD operations, setting up authentication/authorization, integrating databases (SQL/NoSQL), adding middleware, handling WebSockets, or deploying FastAPI applications. Triggered by requests involving .py files with FastAPI code, API endpoint creation, Pydantic models, or FastAPI-specific features.

232 15
Explore
aiskillstore/marketplace

context7-efficient

Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.

232 15
Explore
aiskillstore/marketplace

browser-use

Browser automation using Playwright MCP. Navigate websites, fill forms, click elements, take screenshots, and extract data. Use when tasks require web browsing, form submission, web scraping, UI testing, or any browser interaction.

232 15
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results