Install any skill in seconds. Free to start, no credit card required.
Get Started Free →platformplatform/rebuild-branch
Rebuild a stale branch by cherry-picking each commit onto a fresh branch off main, using a ralph-loop to validate each commit (build, test, format, lint, optional e2e) before moving on.
Passed 4 of 10 test cases with the skill, and 1 of 10 without it.
and 10 more in the full report
8 fixed1 passed either way12 still failing2 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 8 test cases the skill fixed. Same model, same prompt, with and without the skill.
What step ordering is mandated in the generated loop instructions when a cherry-pick applies cleanly without conflicts?
| Checked | Without skill | With skill |
|---|---|---|
| Orders validation sequence with build step first | Missed | Passed |
| Executes backend tests, format, lint, Aspire restart, and e2e tests in parallel for clean cherry-picks | Missed | Passed |
The instructions your model reads when the skill loads.
Drive the discovery + planning phase of a branch rebuild. Emit a /ralph-loop:ralph-loop prompt the user runs themselves to execute the cherry-picks one at a time.
The user may have named the source branch as the skill argument. If not, ask which branch to rebuild.
If the source branch isn't crystal-clear (multiple matches, ambiguous shorthand), confirm the resolved name with the user before proceeding.
Compute the root repo path (the main worktree, not the current one):
ROOT_REPO=$(dirname "$(git rev-parse --path-format=absolute --git-common-dir)")
CURRENT_BRANCH=$(git branch --show-current)
A run is in progress if $ROOT_REPO/.workspace/$CURRENT_BRANCH/commits.md exists AND the current branch ends with -rebuild.
If resuming:
commits.md and count [x] vs [ ] lines. Identify the next pending commit.learnings.md and surface the last 3 entries.If fresh: continue to STEP 3.
git status --porcelain
If there are uncommitted changes, stop and ask the user to stash or commit first. Do not proceed.
test cases passed, vs 1 / 10 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.