
Ce Worktree
Creates isolated git worktrees under `.worktrees/<branch>` with the environment setup that `git worktree add` doesn't handle. Copies your `.env` files over, auto-trusts mise and direnv configs when safe (with branch-aware rules so PR review branches don't blindly trust untrusted `.envrc` content), and keeps `.gitignore` tidy. Most useful when reviewing PRs without disturbing your main checkout or running parallel features without branch-switching churn. Integrates with `ce-work` and `ce-code-review` so they can offer worktree creation as an option. The trust logic is thoughtful: base branches get auto-trust after config diffing, feature branches require manual review.
- skills.sh installs
- 3.1K
- GitHub stars
- 26K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add everyinc/compound-engineering-plugin --skill ce-worktree --agent claude-codeInstalls into .claude/skills of the current project.
Files
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:
Sponsors
Details
- Repository
- github.com/everyinc/compound-engineering-plugin
- Category
- Git & Pull Requests
- First seen
- Jun 3, 2026
More from everyinc/compound-engineering-plugin
All 78- Ce Test Browser3.1K
- Ce Proof3.1K
- Ce Strategy3.1K
- Ce Test Xcode3K
- Ce Product Pulse3K
- Ce Riffrec Feedback Analysis2.9K
- Coding Tutor2.5K
- Ce Sessions1.8K
- Ce Update1.8K
- Ce Work Beta1.8K
- Ce Demo Reel1.8K
- Ce Slack Research1.8K
- Ce Agent Native Architecture1.8K
- Ce Frontend Design1.8K
- Ce Dhh Rails Style1.8K
- Ce Release Notes1.8K
- Ce Clean Gone Branches1.7K
- Ce Gemini Imagegen1.7K
- Ce Agent Native Audit1.7K
- Ce Report Bug1.7K
- Compound Docs1.5K
- Ce Polish Beta1K
- Dhh Rails Style716
- Frontend Design638