series-rebase
Skill by duckdb
Rebase a forward (-fwd) series onto a newer mainline within its own lineage. It is for maintainers of work-in-progress series, not for moving a series across lineages.
Install series-rebase
Built from the published package, never by AI.
git clone --depth 1 https://github.com/duckdb/duckdb-r /tmp/duckdb-r && mkdir -p ~/.claude/skills && cp -r /tmp/duckdb-r/.claude/skills/series-rebase ~/.claude/skills/series-rebaseRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/duckdb/duckdb-r /tmp/duckdb-r && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/duckdb-r/.claude/skills/series-rebase ~/.gemini/antigravity-cli/skills/series-rebaseAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
series-rebase moves a -fwd series onto a newer main commit. The source says a -fwd branch has already been through the forward filter, so replaying it onto a newer main is treated as the identity. All four refs (-fwd-dev, -fwd-build, -fwd-green and -fwd-build-base) are rebased as they stand, and nothing is rederived.
The skill covers the steps in order. It runs setup-git.sh, then series-glue.sh so conflicts are decided in one pass. It rebases with one seed for all refs, resets -fwd-green below the new seed, and pushes everything in one atomic push with per-ref --force-with-lease. It applies only while the series is still WIP. After cutover, the source says to use a new forward series instead, so the skill is for maintainers of that repository.
Written from the project's SKILL.md and checked against it.
What it can do
- Distinguish rebase from forwardExplains when a move is a rebase within one lineage and when it is a forward across lineages.
- Set up git for rebaseRuns setup-git.sh so DESCRIPTION is kept off the conflict list and rerere replays resolutions.
- Review the glue set firstRuns series-glue.sh before the replay so conflicts are decided in a single first pass.
- Rebase with one seedRebases -fwd-dev and -fwd-build onto one seed on the new main instead of split bases.
- Reset green below the seedResets -fwd-green to the new seed's base so the whole chain is re-verified.
- Atomic push of all refsPushes all four refs in one git push --atomic with per-ref --force-with-lease.
- Re-emit the dev push eventDescribes re-pushing -fwd-dev so builds start when green was moved on its own.
What you need
- Git
- Repository scripts: setup-git.sh, series-glue.sh and series-vendor.sh
- An existing -fwd series that is still WIP
Try asking
- Rebase my -fwd series onto the newer main branch.
- Is this move a rebase or a forward for my series?
- Walk me through rebasing the series while it is still WIP.
Good to know
- Only for series still in WIP. After cutover, use a new forward series instead.
- A rebase re-mints every SHA, so green runs must be verified again.
- Commits that main has already absorbed are dropped by the rebase.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/series-rebase/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to series-rebase
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
series-rebase: common questions
Is a rebase the same as forwarding a series?
No. Forwarding moves a series from <S> to <S>-fwd across lineages, while a rebase moves a -fwd series onto a newer main within its own lineage.
Why does the rebase reset the green branch?
A rebase re-mints every SHA, so existing green runs no longer attach to anything. Resetting green below the seed puts the chain back in flight for re-verification.
Why use one seed for all four refs?
Split bases carry main-side drift into the -build to -dev delta, and every replay drags that drift along. One seed avoids this.
How do I install series-rebase?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is series-rebase free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is series-rebase safe to use?
It scores 66 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to series-rebase?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
