gt:git-rebaser
Installation
SKILL.md
Git Rebaser — Guided Cascade Rebase
Safely rebase a parent branch onto a target (e.g. master) and cascade all child branches using git rebase --onto. Every destructive step requires explicit user confirmation.
Workflow
Phase 1: Gather Information
Ask the user these questions (use AskUserQuestion sequentially):
- Target branch — "Which branch are you rebasing onto?" (default:
master) - Parent branch — "Which is the parent feature branch to rebase?" (e.g.
feat/main) - Has the parent already been rebased? — "Have you already rebased the parent branch, or should I do it now?"
- Child branches — "List the child branches (comma-separated or space-separated)." (e.g.
feat/small-1, feat/small-2)
Phase 2: Analyze Current State
Run these commands and report results to the user before any action:
Related skills
More from genesiscz/genesistools
genesis-tools:github
|
18genesis-tools:codebase-analysis
Deep codebase analysis without cluttering main session
16gt:analyze-har
|
2gt:claude-history
Find or reference a past Claude Code conversation — fixes, decisions, or discussions from earlier sessions ("you helped me fix", "we debugged", "I remember asking"). Locate sessions by topic, file, or date. Not for codebase/git/Slack history.
2gt:github
|
1debugging-master
|
1