LogoClawIndex
CasesSkillsAbout
LogoClawIndex

smart-rebase - Plan partial rebases after squash merges

Analyzes branch history to identify squash-merged commits and outputs a rebase plan with a shell-quoted git rebase --onto command.

Tags

Updated: 2026-11-27

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Analyze branch history
  • Detect squash-merged commits
  • Identify keep/drop boundary
  • Generate rebase plan
  • Output shell-quoted command
  • Verify resulting history

Inputs

  • Git repository
  • Current branch
  • Target branch or remote
  • Branch history
  • Remote configuration

Outputs

  • Rebase plan table
  • Shell-quoted git rebase --onto command
  • Prerequisite warnings
  • History verification result

Requirements

  • Git repository
  • Clean working tree
  • Attached HEAD
  • Non-protected current branch
  • Permission to read Git history
  • Developer runs the rebase command

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
Git
rebase
squash merge
branch history
developer workflow
Analyze branch history
Detect squash-merged commits
Identify keep/drop boundary
Generate rebase plan
Git repository
Current branch
Target branch or remote
Rebase plan table
Shell-quoted git rebase --onto command
Prerequisite warnings