Worktree Pr

Decide whether a task deserves its own git worktree and, if chosen, run it end to end: branch from the integration branch rather than the current tree, keep the main working copy untouched while the task runs, compare the result against the untouched baseline before declaring it done, and prepare it for a pull request instead of merging. Use when a request says to do the work in a new worktree or branch, when a change is large or risky enough that the main tree should stay usable, when several tasks need to run in parallel on one repository, when a result has to be diffed against current behavior, and when deciding where screenshots, builds, and other artifacts produced in a worktree should end up.

scarletkc 5ca7165 4.4 KB Updated

File contents

scarletkc/agents/tree/main/skills/worktree-pr commit 5ca71653af

Frequently asked questions

npx skillmds@latest add scarletkc/worktree-pr