Create Worktree Skill

🌐Community
by auldsyababua · vlatest · Repository

Creates a new, isolated work tree for development projects using Git, managed by auldsyababua's tools.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add auldsyababua-create-worktree-skill npx -- -y @trustedskills/auldsyababua-create-worktree-skill
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "auldsyababua-create-worktree-skill": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/auldsyababua-create-worktree-skill"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill allows an AI agent to create Git worktrees. Worktrees enable you to checkout multiple versions of a repository simultaneously, facilitating experimentation and parallel development without affecting the main working directory. The skill provides commands for creating, listing, and removing these isolated workspaces within your Git repository.

When to use it

  • Experimenting with different branches: Quickly test changes on a new branch without disrupting your current workflow.
  • Developing features in isolation: Create a worktree for each feature you're working on, keeping them separate and organized.
  • Reviewing pull requests: Checkout a pull request as a worktree to examine the changes locally before merging.
  • Reproducing bugs: Isolate a specific commit or branch within a worktree to debug issues more effectively.

Key capabilities

  • Create new Git worktrees.
  • List existing worktrees.
  • Remove unwanted worktrees.

Example prompts

  • "Create a worktree named 'feature-x'."
  • "List all available worktrees."
  • "Delete the worktree called 'old-experiment'."

Tips & gotchas

This skill requires Git to be installed and accessible in the environment where the AI agent is operating. Worktrees are not standard directories, so ensure you understand how they interact with your main repository before using them extensively.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
auldsyababua
Installs
3

🌐 Community

Passed automated security scans.