원클릭으로
git-resolve
Resolve git merge/rebase/cherry-pick conflicts and drive the operation to completion autonomously
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Resolve git merge/rebase/cherry-pick conflicts and drive the operation to completion autonomously
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Create a Claude Code rule, skill, or agent — global (~/.claude) or project-local (.claude)
Code review using OpenAI Codex CLI with project context (rules, diff, conventions)
Multi-perspective code review from base branch with 3 independent reviewer agents
Analyze working tree changes, map to existing commits, and create fixup commits for autosquash
Analyze working tree changes, plan logically minimal NEW atomic commits per hunk (no fixup), and execute them
Review every commit message since base branch and add reword fixups where the message needs improvement (non-interactive)
| name | git-resolve |
| description | Resolve git merge/rebase/cherry-pick conflicts and drive the operation to completion autonomously |
A rebase or cherry-pick replays multiple commits, so conflicts surface one step at a time: resolving the current step and continuing the operation may immediately reveal the next conflicted step. This skill loops — resolve → continue → resolve again — until the operation is fully complete.
Run the whole operation to completion yourself. This is the core contract:
git rebase --continue /
git merge --continue / git cherry-pick --continue themselves. The skill
runs the continue command and loops on its own.Detect operation - Determine the in-progress operation so the right continue command is used throughout:
git status
.git/rebase-merge or .git/rebase-apply exists → rebase → git rebase --continue.git/MERGE_HEAD exists → merge → git merge --continue.git/CHERRY_PICK_HEAD exists → cherry-pick → git cherry-pick --continueResolve loop - Repeat until the operation finishes. Do NOT yield control between iterations — keep going until step (d) reports the operation is done.
a. Resolve - Use the Task tool (subagent_type: "git-resolve") to
analyze and resolve the current step's conflicts autonomously. The agent
stages resolved files but does NOT commit or continue.
b. Handle ambiguous - Only if the agent's result contains an
## Unresolved section: present each ambiguous conflict to the user via
AskUserQuestion with the options the agent described, then re-invoke the
agent with the user's choices to apply the remaining resolutions. (This is
the one place user input is allowed — for a genuine strategy decision, NOT
for running continue.) Do not continue until all conflicts in the current
step are staged.
c. Continue - Run the continue command for the detected operation
yourself, with GIT_EDITOR=true so it does not open an editor:
GIT_EDITOR=true git rebase --continue # or merge / cherry-pick
If the step turned out to be an empty commit, advance it with
GIT_EDITOR=true git rebase --skip (rebase only) rather than stopping.
d. Check & re-loop - Run git status and branch on the result:
If a continue command fails for a reason other than conflicts (e.g. a pre-commit hook), stop and report — do NOT improvise around the failure.
Report - Once the operation is fully complete, present a consolidated summary in Japanese: which steps were resolved, the strategy used per conflict, and confirmation that the operation finished.