ck:worktree

Create isolated git worktrees for parallel feature development in repositories.

Updated May 10, 2026
One-click install
npx skills add https://github.com/dthuy62/kollet-app --skill ck-worktree-dthuy62
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck:worktree
Source: https://github.com/dthuy62/kollet-app/tree/main/.opencode/skills/worktree
Command: npx skills add https://github.com/dthuy62/kollet-app --skill ck-worktree-dthuy62

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill removes the friction of creating and managing isolated git worktrees so you can work on parallel features without disrupting your main branch or colliding with other branches.

Core Features & Use Cases

  • Parallel Development: Create a separate worktree for a feature, bug fix, refactor, or documentation change.
  • Monorepo Awareness: Detects monorepo projects, asks for the right project when needed, and places worktrees in the correct shared location.
  • Guardrails and Safety: Validates branch names, worktree roots, and environment file inputs while handling dirty repositories, existing branches, and removal workflows.
  • Practical Workflow: Useful when you need to test a change in isolation, compare implementations side by side, or keep multiple tasks moving at once.

Quick Start

Ask the skill to create an isolated git worktree for the feature you want to build.

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?

To create isolated git worktrees for parallel feature development, you request the skill to spin up a worktree for your target feature. It validates branch names, checks for collisions, and sets up the isolated environment automatically.

Does git worktree management work with monorepo projects?

Git worktree management works with monorepo projects by detecting the monorepo structure and asking for the specific project. It places worktrees in the correct shared location to maintain monorepo branch isolation.

How do I safely remove a git worktree after finishing a feature?

To safely remove a git worktree, you use the skill's removal workflow which handles dirty repositories and validates the worktree root. This ensures branch management cleanup does not disrupt your main repository.

Can I do a dry run before creating a new git worktree?

You can perform a dry run to plan git worktree creation before execution. This allows you to verify branch naming, project selection, and environment file copying without modifying the actual repository.

What happens if there is a branch name collision when spinning up a git worktree?

When a branch name collision occurs during git worktree creation, the skill performs a branch collision check and validates the worktree root to prevent overwriting. It applies guardrails to ensure safe parallel development.