ce-worktree

Create and manage isolated git worktrees for parallel development.

Updated Apr 28, 2026
One-click install
npx skills add https://github.com/Zeptiny/opencode-setup --skill ce-worktree-zeptiny
Or copy as Structured Prompt for Agentâ–¼
Please help me install this Agent Skill.
Skill: ce-worktree
Source: https://github.com/Zeptiny/opencode-setup/tree/main/skills/ce-worktree
Command: npx skills add https://github.com/Zeptiny/opencode-setup --skill ce-worktree-zeptiny

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill solves the issue of keeping your main codebase undisturbed while working on features or reviewing pull requests by providing isolated git worktrees.

Core Features & Use Cases

  • Isolated Workspaces: Create a separate git worktree for each feature or review task, ensuring the main codebase remains stable.
  • Environment Management: Copies environment files from the main repository, and manages trust settings for dev tools like mise and direnv.
  • Git Integration: Offers direct integration with git commands for listing, removing, and switching worktrees.
  • Use Case: When working on a new feature, create a worktree for it to avoid affecting the main branch, and switch back when done.

Quick Start

Use the ce-worktree skill to create a worktree for your feature branch 'feat/login'.

Frequently Asked Questions about ce-worktree

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

FAQPage Schema
How do I create git worktrees for parallel feature development?â–¼

To create git worktrees for parallel feature development, this Skill manages the creation of isolated worktrees, providing a safe environment to build features without affecting the main codebase. It also copies environment variables to ensure the new workspace is ready.

What is the best way to review PRs without disturbing my main branch?â–¼

Reviewing PRs without disturbing your main branch is best achieved by creating an isolated git worktree. This Skill provides a separate workspace for each review task, ensuring your primary codebase remains stable and clean during the review process.

Do I need to configure environment files when using a git worktree?â–¼

You do not need to manually configure environment files when using this Skill. It automatically copies environment files from the main repository and manages trust settings for dev tools like mise and direnv to ensure the worktree functions correctly.

Does this Skill require any specific dependencies to manage worktrees?â–¼

Yes, managing worktrees requires git and related tools to be installed. The Skill directly integrates with git commands for listing, removing, and switching worktrees, relying on these foundational tools to operate effectively.

How do I remove or switch between isolated worktrees after finishing a feature?â–¼

To remove or switch between isolated worktrees after finishing a feature, the Skill offers direct integration with standard git commands. This allows you to easily list, remove, or switch worktrees seamlessly when your parallel development work is complete.