Claude skill
Smart Rebase
Smart Rebase is a Claude skill in the Sd0x Harness plugin. Smart partial rebase for squash-merge repositories.
What it does
The description in the skill's SKILL.md, which Claude reads to decide when to use it:
Smart partial rebase for squash-merge repositories. Auto-detect which commits to keep/drop when base branch was squash-merged into target. Use when: user says 'rebase', 'partial rebase', 'base already merged', 'smart rebase', or /smart-rebase. Not for: simple git rebase (the developer runs it — no skill executes rebase for them), merge conflict resolution (use /merge-prep), branch switching (the developer runs git checkout). Output: rebase plan table + a shell-quoted git rebase --onto command for the developer to run after the ambiguity check in Step 5.
The skill's instructions (about 5,757 words) cover:
- When NOT to Use
- Core Problem
- Permissions
- Prerequisites
- Names in commands
- Workflow
- Step 1: Analyze
- Step 2: Identify Cut Point
- Step 3: Display Plan
- Step 4: User Confirmation
- Step 5: Output the command
- Step 6: Verify
How to use it
- Smart Rebase comes inside the Sd0x Harness plugin, so you get it by installing that plugin, along with its 101 other skills. A plugin installs as one unit, with all its skills. The plugin's page has the install steps, and plugins are saved to your Claude account.
- Ask Claude for the task. When your request matches the skill's description, Claude loads it.
- To pick it yourself in Claude chat, type
/or click + and choose smart-rebase. In Claude Code and Cowork, type:/sd0x-dev-flow:smart-rebase
Source
- Plugin
- Sd0x Harness
- SKILL.md
- View on GitHub
- Repo stars
- 196
- Repo last pushed
- Nov 16, 2026
- Checked
- Nov 16, 2026
More skills in Sd0x Harness
- Statusline ConfigCustomize Claude Code statusline. Use when: user says 'statusline', 'status line', 'customize statusline', 'modify statusline', 'statusline settings', 'statusline theme', 'change theme', 'color…
- Tech BriefTechnical briefing for developer sharing.
- Tech SpecTech spec generation and review. Use when: designing features, writing specs, spec review.
- Test DeepContext-aware test orchestration. Use when: smart test selection, failure triage, progressive test ladder, test failure analysis.
- Test HealthHolistic test coverage measurement. Use when: assessing test health, measuring coverage trends, quantitative + qualitative test audit.
- Test ReviewTest coverage review via Codex exec. Use when: reviewing test sufficiency, identifying coverage gaps, test quality audit.
- UI First PrinciplesFirst-principles UI/IA reasoning: turns a `<scenario>` + API field set into JTBD analysis, principle-anchored field-priority decisions, anti-pattern findings, and a bidirectional UI↔API gap report.
- Update DocsResearch current code state then update corresponding docs, ensuring docs stay in sync with code.
- VerifyVerification loop — lint -> typecheck -> unit -> integration -> e2e
- Watch CiMonitor GitHub Actions CI runs until completion.
- Zh TwRewrite the previous reply in Traditional Chinese
- AdrWrite an Architecture Decision Record (ADR) for a feature — Context / Decision / Status / Consequences / Alternatives, filed as docs/features/<feature>/adr-<NNN>-<title>.md with a 3-digit…
- Agentctl SetupInstall and set up the optional agentctl mod (task scope, refusal before execution, evidence that goes stale, model-free hand-over) — checks the environment, installs after approval, builds the…
- ArchitectureArchitecture design and documentation. Produces 3-architecture.md with component diagrams, data flow, integration points, and architecture decisions.
- AskContext-aware Q&A with auto context gathering.
- Best PracticesIndustry best practices conformance audit with mandatory adversarial debate.
- Bug FixBug fix workflow. Use when: fixing bugs, resolving issues, regression fixes.
- Bump VersionBump package and plugin version in sync. Updates package.json, .claude-plugin/plugin.json, and install-state manifest to the same version.
- Check CoverageComprehensive assessment of Unit / Integration / E2E three-layer test coverage, identify gaps and provide actionable recommendations.
- Claude HealthClaude Code config health check + plugin sync.
- Code ExplorePure Claude code investigation. Use when: tracing execution paths, understanding architecture, diagnosing issues.
- Code InvestigateDual-perspective code investigation. Use when: deep code analysis needing both Claude and Codex perspectives.
- Codex ArchitectCodex architecture consulting. Use when: designing features, evaluating architecture, getting second opinion on design.
- Codex BrainstormAdversarial brainstorming via Claude+Codex debate.