worktree-implement

Create and clean up isolated Git worktrees with generated branch names.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/yasuwrldhyper/ai-skills-collection --skill worktree-implement
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worktree-implement
Source: https://github.com/yasuwrldhyper/ai-skills-collection/tree/main/skills/worktree-implement
Command: npx skills add https://github.com/yasuwrldhyper/ai-skills-collection --skill worktree-implement

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the creation and management of isolated Git worktree environments, streamlining feature development and bug fixing by preventing interference with the main codebase.

Core Features & Use Cases

  • Task Isolation: Creates a dedicated, clean Git worktree for each development task.
  • Automated Branching: Generates descriptive branch names based on task descriptions.
  • Cleanup Utility: Provides a simple command to remove completed worktrees and optionally their branches.
  • Use Case: When starting a new feature, use /worktree-implement "add user authentication" to create an isolated environment, allowing you to work without affecting your main development branch.

Quick Start

Use the worktree-implement skill to create a new isolated git worktree for the task "implement dark mode".

Frequently Asked Questions about worktree-implement

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

FAQPage Schema
How do I create an isolated git worktree for a new feature?

To create an isolated git worktree, you can automate the process by providing a task description. The system generates a kebab-case branch name, performs pre-creation repository checks, and sets up a dedicated worktree environment after interactive confirmation.

What is the best way to manage multiple development tasks without interfering with the main branch?

Using git worktrees provides task isolation by creating separate working directories for each feature or bug fix. This prevents interference with your main codebase, allowing parallel task-specific development without switching branches in a single directory.

How do I clean up completed git worktrees and delete their associated branches?

You can clean up completed git worktrees by listing active ones and confirming removal. The process includes warnings for uncommitted changes and offers options to prune and delete the associated kebab-case branches generated for the task.

Does the worktree creation process check for uncommitted changes in the repository?

Yes, the worktree creation process includes pre-creation checks for repository state and uncommitted changes. It prompts for interactive confirmation before proceeding to ensure a clean starting point for the new isolated development environment.

Can I automatically generate branch names from task descriptions for bug fixes and features?

Yes, branch names are automatically generated in kebab-case directly from your task descriptions. This works for various development tasks including bug fixes, documentation, refactoring, testing, and new feature implementation.