Tyler Laprade
02/18/2026, 5:30 PMgt create doesn’t have a --parent flag? I feel this could be useful for scripting.Pylon
02/18/2026, 6:49 PMTyler Laprade
02/18/2026, 7:03 PMPylon
02/18/2026, 7:03 PMSean
02/19/2026, 6:46 AMSean
02/19/2026, 6:46 AMTyler Laprade
02/19/2026, 2:39 PMtrunk. After banging my head against the problem all day yesterday I ended up with this (scripted) workflow that has been working well:
1. Manually open a new tab (doesn’t matter which worktree I start from)
2. Call my new_workspace shell function with a PR number, branch name, or just unescaped text that I want to prompt Claude with
3. The function intelligently creates a new worktree or `cd`’s to an existing worktree that is already on the desired branch, if applicable
4. The function attempts gt get in case the PR/branch already exists
5. If not, it will create a new branch and track it against trunk
6. If a new worktree was created, cd into it (this is the only reason it’s a shell function rather than a script)
7. If the function was not called with a PR/branch, send all the args as the initial prompt to ClaudeSean
02/27/2026, 12:58 PMTyler Laprade
02/27/2026, 2:08 PM/swarm skill with parallel branches, UI verification, CI monitoring etc. that I use for most tasks