new-feature
Installation
SKILL.md
New Feature
Each editing task gets its own worktree and branch, created from the latest
origin/main unless the user specifies a different base. Read-only work can
use the existing checkout. Never build on main or reuse another task's work.
Check existing isolation first
Inspect git worktree list, git status --short, the current branch, and the
session's task assignment. If the environment already created a worktree for
this task, keep its path and branch and skip steps 3 and 4. In step 5, use the
actual assigned path. Do not infer isolation from the editor name or a branch
prefix alone. Otherwise follow all steps.
Steps
- Sync:
git fetch origin.