ck:worktree

Create and manage isolated git worktrees for parallel feature development.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/mafvietnam/mafapp --skill ck-worktree-mafvietnam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck:worktree
Source: https://github.com/mafvietnam/mafapp/tree/main/.claude/skills/worktree
Command: npx skills add https://github.com/mafvietnam/mafapp --skill ck-worktree-mafvietnam

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Coordinating parallel feature development across a monorepo is hard and error-prone; this Skill automates the creation of isolated git worktrees so teams can work on multiple features without modifying the main working tree.

Core Features & Use Cases

  • Isolate worktrees for independent feature development across submodules or projects.
  • Automatically associate a worktree with a branch, fetch remote branches when needed, and keep the main repo clean.
  • Use case: A developer wants to work on a new feature without impacting the main branch or other features.

Quick Start

Run the worktree command to create a new isolated worktree for your feature in the current repository.

Frequently Asked Questions about ck:worktree

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

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

To isolate git worktrees, this Skill automates creating isolated worktrees within a repository, allowing parallel feature development across monorepos without modifying the main working tree. It resolves the worktree root and associates a proper branch name automatically.

What is the best way to manage git branches when working on multiple features at the same time?

Managing git branches for simultaneous features is best handled by creating isolated git worktrees. This approach keeps your main repository clean by automatically associating a new worktree with a dedicated branch for each independent feature.

Can I automatically copy environment templates when creating a new git worktree?

Yes, you can copy environment templates when creating a git worktree. The workflow supports optionally copying environment templates and specific env files into the new worktree to ensure your isolated feature development environment is configured correctly.

Does this worktree creation workflow support fetching remote branches automatically?

Yes, the worktree creation workflow supports fetching remote branches automatically. It discovers the repository type and base branch, then fetches the necessary remote branches when needed to properly set up your isolated working directory.

How do I keep my main working tree clean while developing features across submodules?

You keep your main working tree clean by using isolated git worktrees. This Skill creates separate working directories for independent feature development across submodules, ensuring your main repository branch remains unaffected by parallel changes.

Why should I use git worktrees instead of cloning a repository multiple times for feature development?

Git worktrees provide isolated working directories within a single repository, avoiding the disk overhead and configuration duplication of multiple clones. This Skill automates worktree creation and branch association to streamline parallel feature development safely.