원클릭으로
rebase
Rebases the current feature branch onto the base branch (main/master/develop).
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Rebases the current feature branch onto the base branch (main/master/develop).
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | rebase |
| user-invocable | true |
| disable-model-invocation | true |
| description | Rebases the current feature branch onto the base branch (main/master/develop). |
| when_to_use | Use when user says "rebase", "sync branch", or "update branch". |
| allowed-tools | Bash(*/scripts/detect-base-branch.sh) Bash(git fetch *) Bash(git rebase *) Bash(git stash *) |
| effort | low |
| compatibility | Designed for Claude Code (or similar products with git access) |
Rebase the current feature branch onto the latest base branch to keep it up-to-date and prevent merge conflicts from accumulating.
Run these checks in order. If any fail, inform the user and stop.
git rev-parse --abbrev-ref HEAD
If the result is main, master, or develop — inform the user they're already on the base branch and stop.
Detect the base branch:
${CLAUDE_SKILL_DIR}/scripts/detect-base-branch.sh
If the script exits with an error, inform the user no base branch was found and stop.
git status --porcelain
If there are uncommitted changes, use AskUserQuestion:
Question: "You have uncommitted changes. Rebase requires a clean working tree. What would you like to do?"
Options:
git stash before rebasing, git stash pop aftergit fetch origin <base-branch> --quiet
Compare the merge base with the remote base:
git merge-base HEAD origin/<base-branch>
git rev-parse origin/<base-branch>
If they match, the branch is already up-to-date. Inform the user and stop.
git rebase origin/<base-branch>
Report how many commits ahead of the base branch:
git rev-list --count origin/<base-branch>..HEAD
Abort the rebase:
git rebase --abort
If changes were stashed in Step 1, restore them with git stash pop.
Inform the user that the rebase had conflicts and suggest resolving manually:
Automatic rebase failed due to conflicts. To resolve manually, run:
git rebase origin/<base-branch>
git push --force-with-lease) after a successful rebase — warn them.git stash pop can itself cause conflicts if stashed changes overlap with rebased commits. If stash pop fails, inform the user and suggest git stash show to review the stashed changes.HEAD instead of a branch name) means the user is not on any branch. Inform them and stop — do not attempt to rebase.git fetch in Step 2 will create the remote tracking ref. The rebase uses origin/<base-branch>, not the local branch.Executes an implementation plan — writes code and tests, runs quality review, and ships a pull request.
Turns high-level brainstorming and ideas into well-structured, actionable implementation plans.
Reviews an externally-authored implementation plan for quality, VGV conventions, and scope. Plans created by /plan are already reviewed during creation.
Applies a minimal, targeted fix for emergency bugs — enforces review and testing without brainstorm or planning phases.
Runs quality review agents on demand — reviews code against VGV standards for architecture, tests, and simplicity, then writes one consolidated, numbered report.
Explores requirements and approaches through collaborative dialogue before planning implementation.