Agent Skill
2/7/2026rebase-branches
Rebase all challenge branches on the latest main branch to propagate changes
S
speculative
0GitHub Stars
1Views
npx skills add Speculative/debugging-study
SKILL.md
| Name | rebase-branches |
| Description | Rebase all challenge branches on the latest main branch to propagate changes |
name: rebase-branches description: Rebase all challenge branches on the latest main branch to propagate changes
Rebase All Challenge Branches
Rebases all challenge branches on the latest main branch to propagate changes.
Usage
/rebase-branches
Instructions
When this command is invoked:
- Check that the repository is in a clean state (no uncommitted changes)
- Execute the rebase script:
.claude/skills/rebase-branches/scripts/rebase-all-branches.sh - Report the results to the user:
- List successfully rebased branches
- List any branches that had conflicts
- Provide instructions for manually resolving conflicts if needed
- Suggest push commands with
--force-with-leaseif rebases succeeded
Context
This repository uses a branch-based structure where:
- The
mainbranch contains only documentation in.claude/ - Each challenge branch contains a complete debugging challenge
- When
.claude/README.mdis updated, all challenge branches should be rebased to include those changes
The rebase script automates this process, handling conflicts gracefully and providing clear feedback.
Skills Info
Original Name:rebase-branchesAuthor:speculative
Download