ck:worktree

Create isolated Git worktrees for parallel feature development.

1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/hotriluan/alkana_web --skill ck-worktree-hotriluan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck:worktree
Source: https://github.com/hotriluan/alkana_web/tree/main/.opencode/skills/worktree
Command: npx skills add https://github.com/hotriluan/alkana_web --skill ck-worktree-hotriluan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Create isolated git worktrees for parallel feature development, allowing teams to work on multiple features without interfering with the main branches or history.

Core Features & Use Cases

  • Supports both monorepos and standalone repositories by provisioning dedicated worktree directories.
  • Automatically detects the appropriate base branch, handles branch naming prefixes, and prevents conflicts between concurrent worktrees.
  • Copies environment templates and specified env files into new worktrees to preserve local configuration.

Quick Start

Create a new worktree for a feature to start parallel development.

Frequently Asked Questions about ck:worktree

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

FAQPage Schema
How do I use git worktree for parallel feature development without interfering with the main branch?

Git worktree creates isolated working directories to enable parallel feature development without interfering with main branches or history. It provisions dedicated directories for both monorepos and standalone repositories, automatically detecting the base branch to prevent conflicts.

How do I set up a git worktree in a monorepo and apply a branch prefix?

Setting up a git worktree in a monorepo involves automatically detecting projects, the base branch, and applying an optional branch prefix. The process validates paths to prevent conflicts between concurrent worktrees before creating the isolated directory.

Can I copy environment templates into new git worktrees to preserve local configuration?

Yes, you can copy environment templates and specified env files into new git worktrees. This preserves your local configuration automatically when provisioning the isolated directory for parallel development.

How do I list, inspect, and remove git worktrees to manage concurrent development branches?

You can list, inspect, and remove git worktrees using supported commands designed for managing concurrent development branches. These commands handle error scenarios with clear guidance to maintain repository hygiene.