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.
Best use case
worktree-manager-skill is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
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.
Teams using worktree-manager-skill should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/worktree-manager-skill/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How worktree-manager-skill Compares
| Feature / Agent | worktree-manager-skill | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
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.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 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](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
Related Skills
terraform-state-manager
Terraform State Manager - Auto-activating skill for DevOps Advanced. Triggers on: terraform state manager, terraform state manager Part of the DevOps Advanced skill category.
ssh-key-manager
Ssh Key Manager - Auto-activating skill for DevOps Basics. Triggers on: ssh key manager, ssh key manager Part of the DevOps Basics skill category.
service-account-manager
Service Account Manager - Auto-activating skill for GCP Skills. Triggers on: service account manager, service account manager Part of the GCP Skills skill category.
integrating-secrets-managers
This skill enables Claude to seamlessly integrate with various secrets managers like HashiCorp Vault and AWS Secrets Manager. It generates configurations and setup code, ensuring best practices for secure credential management. Use this skill when you need to manage sensitive information, generate production-ready configurations, or implement a security-first approach for your DevOps infrastructure. Trigger terms include "integrate secrets manager", "configure Vault", "AWS Secrets Manager setup", "manage credentials securely", or requests for secure configuration generation.
route53-record-manager
Route53 Record Manager - Auto-activating skill for AWS Skills. Triggers on: route53 record manager, route53 record manager Part of the AWS Skills skill category.
redis-cache-manager
Redis Cache Manager - Auto-activating skill for Backend Development. Triggers on: redis cache manager, redis cache manager Part of the Backend Development skill category.
package-json-manager
Package Json Manager - Auto-activating skill for DevOps Basics. Triggers on: package json manager, package json manager Part of the DevOps Basics skill category.
nginx-ingress-manager
Nginx Ingress Manager - Auto-activating skill for DevOps Advanced. Triggers on: nginx ingress manager, nginx ingress manager Part of the DevOps Advanced skill category.
model-versioning-manager
Model Versioning Manager - Auto-activating skill for ML Deployment. Triggers on: model versioning manager, model versioning manager Part of the ML Deployment skill category.
model-registry-manager
Model Registry Manager - Auto-activating skill for ML Deployment. Triggers on: model registry manager, model registry manager Part of the ML Deployment skill category.
model-checkpoint-manager
Model Checkpoint Manager - Auto-activating skill for ML Training. Triggers on: model checkpoint manager, model checkpoint manager Part of the ML Training skill category.
marketplace-manager
Automatically manages marketplace catalog updates, syncs marketplace.json, and handles plugin distribution when user mentions marketplace update, sync catalog, or add to marketplace. Specific to claude-code-plugins two-catalog system.