ck:worktree

Create isolated git worktrees with branch naming and dependency installation.

1|Updated Jun 16, 2026
One-click install
npx skills add https://github.com/TNHoang2708/Gym_Ver2 --skill ck-worktree-tnhoang2708
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck:worktree
Source: https://github.com/TNHoang2708/Gym_Ver2/tree/main/.claude/skills/worktree
Command: npx skills add https://github.com/TNHoang2708/Gym_Ver2 --skill ck-worktree-tnhoang2708

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill creates isolated git worktrees for parallel feature development in monorepos, enabling users to work on different features in parallel without affecting the main codebase.

Core Features & Use Cases

  • Isolated Worktrees: Create a separate worktree for each feature, ensuring changes are isolated and don't interfere with the main codebase.
  • Monorepo Support: Works seamlessly with monorepos, allowing users to specify a project within the monorepo for feature development.
  • Automated Branch Naming: Automatically detects branch naming patterns and creates branches with the appropriate prefix based on the feature description.
  • Environment Template Copying: Copies environment templates to the new worktree, ensuring consistent settings across environments.
  • Dependency Installation: Installs project dependencies automatically based on the project's package manager.
  • Use Case: If you are working on a monorepo and need to develop a new feature in isolation, this Skill can help you set up a worktree quickly and efficiently.

Quick Start

Run the command: create [feature] --prefix [type] to create a new worktree for your feature.

Frequently Asked Questions about ck:worktree

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

FAQPage Schema
How do I create isolated git worktrees for parallel feature development in a monorepo?

To create isolated git worktrees for parallel feature development in a monorepo, this Skill automates branch creation and environment setup. It isolates changes so they don't interfere with the main codebase while you build features simultaneously.

What's the best way to manage feature branching and environment templates across monorepo projects?

Managing feature branching and environment templates across monorepo projects is handled by copying environment templates into new worktrees. This ensures consistent settings across isolated development environments automatically during creation.

How do I automate dependency installation when setting up a new git worktree?

To automate dependency installation when setting up a git worktree, the Skill detects the project's package manager within the monorepo and installs dependencies automatically. This prepares the isolated environment immediately after creation.

Does this worktree automation tool require a specific git version or monorepo setup?

This worktree automation tool requires git version 2.5 or higher and access to the monorepo's project dependencies. It is specifically designed to work within monorepo architectures for isolated feature development.

Can I specify branch naming conventions when creating a new worktree for a feature?

You can specify branch naming conventions when creating a worktree by using the command `create [feature] --prefix [type]`. The Skill automatically detects patterns and applies the appropriate prefix based on your feature description.