Sign in
Explore
Skills · SkillEveryday codingReviewed

ce-worktree

Sets up isolated git worktrees: a new branch for fresh work, or a worktree on an existing branch, PR or commit.

Kind
Skill
Works with
Claude Code, Codex, Cursor, Any agent
Source
EveryInc/compound-engineering-plugin @ 786ac0194183
Path
skills/ce-worktree/SKILL.md
License
MIT
Jobs
Git workflow
InstallInstall it from a plugin marketplace.
/plugin install compound-engineering
# Worktree Isolation

Ensure the current work happens in an isolated workspace, without disturbing the user's main checkout. Most coding harnesses now create a worktree by default at session start, so the common case is that **isolation already exists**.

**Done when:** the caller is working in an isolated tree — existing or newly created — and its path and branch have been reported, or a blocker has been reported instead.

**Order of operations: detect existing isolation -> prefer a native worktree tool -> fall back to plain git.** Never create a worktree the harness cannot see.

**Two modes, set by the caller's need:**

- **New work (default).** No ref named — create a fresh branch from a base (trunk). This is what `ce-work` and `ce-code-review` use when the user picks the worktree option.
…