managing-worktrees

Create, scan, and clean up Git worktrees with structured JSON outputs.

4|2|Updated Nov 29, 2025
One-click install
npx skills add https://github.com/randlee/synaptic-canvas --skill managing-worktrees
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: managing-worktrees
Source: https://github.com/randlee/synaptic-canvas/tree/main/.claude.local-backup-20251130130230/skills/managing-worktrees
Command: npx skills add https://github.com/randlee/synaptic-canvas --skill managing-worktrees

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the complexity and potential errors of manually managing Git worktrees, reducing context switching overhead and keeping your repository clean during parallel development.

Core Features & Use Cases

  • Automated Worktree Creation: Quickly set up new worktrees and branches with standard naming conventions.
  • Worktree Scanning & Verification: Easily audit existing worktrees for status, merge state, and cleanliness.
  • Safe Cleanup & Abandonment: Remove completed or discarded worktrees with built-in safety checks to prevent data loss.
  • Use Case: Imagine you're working on three different features simultaneously. Use this Skill to create isolated worktrees for each, switch between them effortlessly, and clean them up automatically once merged, all without leaving your AI session.

Quick Start

Use the git-worktree skill to create a new worktree for a feature branch named 'feature/new-dashboard' based on 'develop'.

Frequently Asked Questions about managing-worktrees

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage multiple Git worktrees for parallel development?

Git worktrees let you work on multiple branches simultaneously without switching contexts. This Skill automates worktree creation, scanning, and cleanup to keep your repository organized while developing features in isolation.

How do I create a new Git worktree for a feature branch?

Use this Skill to quickly set up a new worktree with standard naming conventions, specifying the branch name and base commit. It handles branch resolution and scaffolding automatically.

How do I check the status of existing Git worktrees?

Scan your worktrees to audit status, verify merge state, and detect cleanliness. The Skill returns structured JSON output showing worktree health and readiness for cleanup.

How do I safely remove completed Git worktrees?

This Skill provides safe cleanup and abandonment workflows with built-in safety checks to prevent data loss. It verifies completion before removing worktrees from your repository.

Can I use Git worktrees with my CI/CD hooks?

Yes. This Skill implements hooks compliance during worktree operations, ensuring your CI/CD pipelines and pre-commit checks function correctly across worktrees.

Related Skills