Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/raine/skills --skill rebase명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Autonomously create a plan, consult Gemini and Codex for improvements, apply feedback, and implement. No user interaction - uses best judgment throughout.
Turn an idea into a concrete design through structured dialogue.
Gemini and Codex collaboratively brainstorm solutions, building on each other's ideas across rounds. Agent synthesizes the best ideas into a plan.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | rebase |
| description | Rebase the current branch. |
| allowed-tools | Bash |
| disable-model-invocation | true |
Rebase the current branch.
Arguments: $ARGUMENTS
Behavior:
Steps:
git status --porcelaingit stash push -m "rebase-temp"git fetch <remote>git rebase <target> (or git rebase --onto if stale commits found)git config branch.<branch>.workmux-base main
git stash popDetecting already-merged base branches:
When a branch was based on another branch that was squash-merged into the
target, the old commits still appear in the branch history but their changes are
already in the target. A plain git rebase will try to replay them all, causing
repeated conflicts that need to be skipped one by one.
Before rebasing, detect this situation and use --onto to skip stale commits:
base=$(git config --get branch.$(git branch --show-current).workmux-base)
analytics-app-detail but we're rebasing onto origin/main):
git merge-base --is-ancestor <base> <target>
fork_point=$(git merge-base <base> HEAD)
# The tip of the old base branch in our history
last_stale=$(git rev-list --ancestry-path $fork_point..HEAD \
--not <target> | tail -1)^
Or more simply: the merge-base between the base branch tip and HEAD gives
the fork point, and all commits between that and the first commit unique to
our branch are stale. Use:
git rebase --onto <target> <base> HEAD
This replays only commits after the base branch tip onto the target.git diff --quiet. Find the last stale commit and use
git rebase --onto <target> <last-stale-commit>.git rebase <target>.Handling conflicts:
git log -p -n 3 <target> -- <file> to see
recent changes to that file in the target branchgit rebase --continue