/turbo:split-and-shipfrom Turbo
Ships an approved split plan as separate branches/PRs or sequential commits. Use after splitting changes into groups.
Ships in Turbo. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Ship an approved split plan so each change group becomes its own reviewable unit, either as a separate branch and PR or as a sequential commit on the current branch.
At the start, use TaskCreate to create a task for each phase:
Use the approved, ordered groups and their dependencies from the conversation. Before either handoff below, use TaskUpdate to close all three tasks for this split invocation as handed off, preserving any parent tasks. The router owns the remaining shipping work.
If the user invoked this skill directly without approved groups, hand off to the /ship skill with their split request and return its outcome. It owns grouping and calls this skill with the approved plan.
Compare the full staged diff with the approved groups, hunk by hunk for shared files. If unrelated changes are staged, leave the index intact and resolve the mismatch with the user. If approved hunks still need staging, hand off to the /ship skill with the approved plan and return its outcome. Choose the shipping path only once the index matches.
Detect the repository state:
gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name'gh pr view --json state); a closed or merged one counts as noneSample the prevailing workflow from recent default-branch history (git log --first-parent origin/<default-branch> -n 30 --pretty=%s): judge whether changes mostly land through pull requests (merge-PR commits or (#N)-suffixed squash commits) or are committed directly to the default branch.
Output a one-line summary of the detected state as text. Then use AskUserQuestion to choose how to ship the groups:
Inside a linked worktree (where git rev-parse --git-dir differs from --git-common-dir), on a branch with no upstream and in a direct-commit history, offer Commit each group and push to <default-branch> in place of Commit each group and push: one commit per group on the current branch, rebased onto origin/<default-branch> and pushed to <default-branch> (Step 3).
Recommend the option that fits this repo by listing it first and labeling it (Recommended): a PR-based history recommends separate branches and PRs; a direct-commit history recommends committing each group and pushing.
If the user declines (chooses the free-form "Other" option or asks to abort), leave the changes staged and do not commit.
Take this step only when the user chose separate branches and PRs.
Stash all changes, untracked files included, without unstaging first: git stash push --include-untracked -m 'split-and-ship <tag>'. The tag is the output of head -c 4 /dev/urandom | xxd -p. Every worktree of the repository shares the stash list, so <stash> below is the commit of the entry whose message carries the tag in git stash list --format='%gd %H %s', never a position such as stash@{0}.
Verify the tagged entry exists and git status --short lists nothing the stash should have taken before proceeding. Entries for a submodule, a nested repository, or files a stashed ignore rule had hidden may remain. When either check fails, stop and report where the changes now are.
Use TaskCreate to create a task for each group. Process groups in order.
A group is held when it builds on a group whose PR was handed over for editing and is neither posted nor cancelled yet, or when it builds on a held group. Leave a held group unshipped and continue with the next group.
For each group:
AskUserQuestion to confirm the proposed branch name and create it from the appropriate base:
git checkout '<stash>^2' -- <files> restores and stages in one operation). For files with hunks belonging to different groups, restore the file, use Edit to remove the unwanted hunks, then re-stage it (git add <file>): for an independent group, remove every other group's hunks; for a stacked group, remove only later groups' hunks (earlier groups' hunks are already in its base). Before committing a stacked group, check its staged diff against HEAD and restore from HEAD any earlier group's content it would revert. After committing, reset the working tree (git checkout -- .) to clean up before the next group./commit-rules skill to load commit message rules, then commit the staged changes following them/pr skill, then git pushgit push -u origin <branch>, then run the /pr skill targeting the appropriate base (default branch for independent groups, previous group's branch for stacked groups). When git reports that it could not write the upstream branch configuration, confirm the push landed with git rev-parse --verify --quiet refs/remotes/origin/<branch>, then run git branch --set-upstream-to=origin/<branch> via the Bash tool (dangerouslyDisableSandbox: true) before running the /pr skillWhen held groups remain once every other group has shipped, output which groups are held, which handed-over PR each waits on, and that the stash entry tagged <tag> holds their changes. Keep the stash and end the turn.
Once a handed-over PR is posted, take the groups it held through the same four steps in order, branching each from the current tip of the branch it builds on. When that PR is cancelled instead, use AskUserQuestion to ask whether to ship the groups it held stacked on its branch, which has no PR, or to leave them unshipped.
<stash>, looking up its current stash@{n} with git stash list --format='%gd %H %s'. When no entry carries that commit, drop nothing and report itThen use the TaskList tool and proceed to any remaining task.
Take this step only when the user chose to commit each group. This path stays on the current branch and creates no branches or PRs.
Stash all changes, untracked files included, without unstaging first: git stash push --include-untracked -m 'split-and-ship <tag>'. The tag is the output of head -c 4 /dev/urandom | xxd -p. Every worktree of the repository shares the stash list, so <stash> below is the commit of the entry whose message carries the tag in git stash list --format='%gd %H %s', never a position such as stash@{0}.
Verify the tagged entry exists and git status --short lists nothing the stash should have taken before proceeding. Entries for a submodule, a nested repository, or files a stashed ignore rule had hidden may remain. When either check fails, stop and report where the changes now are.
Run the /commit-rules skill to load commit message rules. Use TaskCreate to create a task for each group. Process groups in order.
For each group:
git checkout '<stash>^2' -- <files> restores and stages in one operation). For files with hunks belonging to different groups, restore the file, use Edit to remove the hunks that belong to later groups, then re-stage it (git add <file>).git checkout -- .) to clean up before the next group.<default-branch>, run git fetch origin <default-branch>, then git rebase origin/<default-branch>. When the rebase stops on a conflict, leave it stopped and use AskUserQuestion to offer resolving the conflict and continuing with git rebase --continue, or aborting with git rebase --abort and keeping the commits on the branch unpushed. Otherwise push with git push origin HEAD:<default-branch>. When the push is rejected because the default branch moved, repeat the fetch, rebase, and push, at most twice, then report the rejection and keep the commits unpushed.git push).<stash>, looking up its current stash@{n} with git stash list --format='%gd %H %s'. When no entry carries that commit, drop nothing and report itThen use the TaskList tool and proceed to any remaining task.
/commit-rules skill before every commit; do not commit without loading it first.git diff '<stash>^2' '<stash>' | git apply --3way --allow-empty, restore untracked files with git checkout '<stash>^3' -- <files>, then unstage everything with git reset -q. Report any hunk that does not apply. If any step fails (commit hook, push, PR creation), stop and report the failure, which groups have been shipped, and that the stash entry tagged <tag> still contains all changes for recovery. A group whose PR was handed over for editing rather than posted is not a failure; record it in the summary and continue with the groups it does not hold..turbo/ content (filenames, acceptance criteria, step numbers, headings) in branch names. .turbo/ is gitignored, so these references would be opaque to anyone reading without local copies.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
split-and-ship, pr-creation, branch-management, git-workflow
npx claudepluginhub tobihagemann/turbo --plugin turbo74 skills in this plugin
/apply-findingsApply accepted review findings as code changes, escalating ambiguous ones to the user. Use when the user asks to "apply findings", "apply fixes", or "apply the review results"./assess-technical-debtAssess project-wide technical debt (hotspots, deprecated APIs, duplication, low-value tests) into a ranked report. Use when the user asks to "assess technical debt" or "what should we refactor"./backlogCapture an out-of-scope improvement or accepted simplification in .turbo/backlog.md. Use proactively mid-task, or when the user asks to "backlog this", "note this idea", or "track this for later"./changelog-rulesShared changelog conventions and formatting rules. Not typically invoked directly./code-styleEnforce existence, reuse, mirror, and symmetry principles so new code stays minimal and consistent. Use when writing, changing, or refactoring code in an existing codebase./codex-execRun autonomous task execution using the codex CLI. Use when the user asks to "codex exec", "run codex exec", "execute a task with codex", or "delegate to codex".Other plugins' skills for the same job