ce-worktree

Create isolated git worktrees for parallel development and PR review.

Updated May 4, 2026
One-click install
npx skills add https://github.com/IAmKongHai/compound-engineering-plugin-zh --skill ce-worktree-iamkonghai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ce-worktree
Source: https://github.com/IAmKongHai/compound-engineering-plugin-zh/tree/main/3.4.2/skills/ce-worktree
Command: npx skills add https://github.com/IAmKongHai/compound-engineering-plugin-zh --skill ce-worktree-iamkonghai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps manage parallel feature development or PR review by creating isolated git worktrees, ensuring that ongoing work does not interfere with the current checkout.

Core Features & Use Cases

  • Isolated Worktrees: Create separate git worktrees for parallel development or review without affecting the main checkout.
  • Environment and Config Trust: Copies environment files and configures trust for mise/direnv to ensure scripts and hooks don't block on interactive prompts.
  • Integration with ce-work and ce-code-review: Offers this feature as an option in these tools for a seamless workflow.
  • Use Case: When you need to work on multiple features simultaneously or review a PR without disturbing your main checkout.

Quick Start

Create a worktree for a feature branch 'feat/login' with the command: bash scripts/worktree-manager.sh create feat/login

Frequently Asked Questions about ce-worktree

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

FAQPage Schema
Why use git worktree for parallel feature development instead of stashing changes?

Git worktree creates isolated working directories for parallel feature development, ensuring ongoing work does not interfere with your main checkout. Unlike stashing, it allows you to actively work on multiple feature branches simultaneously without losing context.

How do I create a git worktree for a new feature branch?

To create a git worktree for a feature branch, run the command `bash scripts/worktree-manager.sh create feat/login`. This sets up an isolated worktree environment allowing you to develop features concurrently without affecting your primary checkout.

Does this git worktree manager configure environment files and trust for mise or direnv?

Yes, the git worktree manager copies environment files and configures trust for mise and direnv. This ensures scripts and hooks do not block on interactive prompts when switching between isolated worktrees during parallel development.

Can I use isolated git worktrees for PR review without disturbing my main checkout?

Yes, you can use isolated git worktrees for PR review without disturbing your main checkout. The Skill creates separate worktrees specifically so reviewing pull requests does not interfere with your current ongoing feature development work.

What is the best way to manage concurrent feature work and PR reviews in git?

The best way to manage concurrent feature work and PR reviews is using isolated git worktrees. This approach creates separate directories for each task, preventing checkout conflicts and integrating with development and review tools for a seamless workflow.

Do I need git installed to use this worktree manager for parallel development?

Yes, you need git installed to use this worktree manager, as it requires git for worktree operations and environment setup. Git provides the underlying functionality to create and maintain the isolated worktrees for parallel development.