About rebase-wip-with-issue
A human-triggered skill for rebasing recent WIP commits with a supplied issue without closing it. It compares the start and end states, then requires `draft-commit-message` to write a fresh message with the issue number in the specified positions.
Key features
- 01Human-requested execution only
- 02Reviews recent WIP commits
- 03Rebases with a supplied issue without closing it
- 04Drafts a new message from the overall changes
- 05Invokes `draft-commit-message` with issue number placement
Use cases
- 01Rebase WIP commits associated with an issue
- 02Keep an issue open for further changes
- 03Replace interim commit messages with a summary of the final changes
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ mtngtools/ agents --skill rebase-wip-with-issueAfter installing, type/rebase-wip-with-issuein Claude Code to confirm it loaded.
Details
From the project READMErebase-wip-with-issue
human-only. Start this only when a human asks for it by name. If you arrived here from another skill, stop and get explicit confirmation before running any step.
Read back in prior git commits for the recent "wip" commits.
Rebase these wip commits with supplied issue, but not closing it, as we probably will have additional changes.
Do not just add together all the commit message. I don't care about interim changes. Compare beginning and end and draft a new message from scratch.
You MUST invoke the draft-commit-message skill to draft the commit message, remembering to include the issue number at the end of the first line and at the bottom of the commit message.