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):

  1. Target branch — "Which branch are you rebasing onto?" (default: master)
  2. Parent branch — "Which is the parent feature branch to rebase?" (e.g. feat/main)
  3. Has the parent already been rebased? — "Have you already rebased the parent branch, or should I do it now?"
  4. 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
Installs
1
GitHub Stars
5
First Seen
Mar 25, 2026