/pds:rebasefrom pds
Rebases the current branch against a target branch, stopping on conflicts. Supports autonomous conflict resolution and test-fix loop with --fix flag.
Ships in pds. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Focused rebase of the current branch against a target. Lists conflicts and stops if any are found. Does NOT run tests, read code, or do anything beyond the rebase operation unless explicitly asked.
/pds:finish branch completion protocolgit fetch origin
Ensure working tree is clean before rebasing:
git status
If there are uncommitted changes, commit or stash them first. Do not proceed with a dirty working tree.
git rebase origin/<target-branch>
Default target: main. Use the branch specified by the user if provided.
If conflicts occur — STOP.
List each conflict clearly:
## Rebase Conflicts
- `path/to/file.ts` — conflict between local change and upstream
- `path/to/other.ts` — both sides modified the same function
Do NOT attempt to resolve conflicts automatically. Report them and wait for instructions.
To abort if needed:
git rebase --abort
When rebase completes successfully (no conflicts):
git log --oneline origin/<target-branch>..HEAD
Show the rebased commits to confirm the result.
/pds:verify for that)./pds:verify or the reviewer agent)./rebase # rebase against main (standard mode)
/rebase develop # rebase against develop
/rebase origin/release # rebase against specific remote branch
/rebase --fix # autonomous rebase-test-fix loop (see below)
/rebase --fix develop # autonomous loop against develop
--fix)When invoked with --fix, the rebase skill enters an autonomous loop that resolves conflicts, runs tests, and fixes failures iteratively. Use when you want hands-off rebase resolution.
Cycle 1:
1. Rebase (steps 1-3 above)
2. If conflicts → attempt resolution
3. Run test suite
4. If tests pass → done
5. If tests fail → fix failures
Cycle 2-3:
Repeat steps 2-5
Cycle 4 (max):
If still failing → STOP and escalate
For each conflicted file:
git rebase --continueAfter successful rebase (or conflict resolution):
git log/pds:bugfix methodologyWhen the loop exhausts its cycles:
## Rebase-Fix Escalation
### Attempted
- Cycle 1: [what was tried, what failed]
- Cycle 2: [what was tried, what failed]
- Cycle 3: [what was tried, what failed]
### Remaining failures
- `test_name` — `path:line` — [error description]
### Recommendation
[What a human should look at to resolve this]
/pds:finish — Full branch completion protocol (includes rebase as step 2)/pds:verify — Run tests after rebase to confirm nothing broke/pds:bugfix — Test-first bug fix methodology (used in fix cycles)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub rmzi/portable-dev-system --plugin pds22 skills in this plugin
/bugfix/bugfix — Test-First Bug Fix ProtocolFixing bugs using a test-first disciplined loop. Use when a bug is reported or discovered and needs a verified fix with minimal blast radius./bump/bump — Version Bump WorkflowBumping project version and updating changelog atomically. Use when releasing a new version — patch, minor, or major./checkpoint/checkpoint — Save PointSave a checkpoint — bump version, commit, push. Use when work is complete and ready to ship without the full finish protocol.Other plugins' skills for the same job