agentsclimarketplace

Worktree manager skill

Skill bg-szy/TOP-SKILLS/skills/marketplace/worktree-manager-skill

全球最大的 Claude Code 技能聚合库 · 收录 3900+ 来自 12+ 来源的技能,提供在线搜索与趋势分析看板 / The world's largest Claude Code skill aggregation hub — 3900+ skills from 12+ sources with online search and trend dashboard

Install
npx -y skills add bg-szy/TOP-SKILLS --skill worktree-manager-skill

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

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.

SKILL.md

2.5 KB, 511 tokens by cl100k_base, as published. Nobody here has run it

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:

OperationCommandWhen to Use
Create/create_worktreeUser wants a new parallel environment
List/list_worktreesUser wants to see existing worktrees
Remove/remove_worktreeUser 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

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.