/local_review
Set up a worktree to review a branch
Set up a local review environment for a colleague’s branch using git worktrees. Creates an isolated checkout and launches a new AI session for review.
/local_review feature-branchOr with a PR number:
/local_review 123Process
Section titled “Process”- Parse input. Resolves PR numbers to branch names via
gh pr view - Extract ticket info. Looks for ticket numbers in the branch name
- Create worktree. Sets up an isolated git worktree for the branch
- Install dependencies. Runs the appropriate install command
- Launch session. Opens a new AI session in the worktree directory