| name | resolve-merge-conflicts |
| description | Resolve git merge/rebase conflicts safely by preserving both sides' intent and validating the result. |
Resolve Merge Conflicts
Use when files contain conflict markers or the user asks to resolve merge, rebase, or cherry-pick conflicts.
Workflow
- Inspect
git status and list conflicted files.
- Read each conflict with surrounding context.
- Understand the intent of both sides before editing.
- Resolve the conflict with the smallest combined change that preserves behavior.
- Run formatters/tests relevant to the resolved files when practical.
- Report any conflicts that need human product judgment.
Rules
- Never choose one side blindly.
- Do not run destructive git commands unless explicitly confirmed.
- Do not stage, commit, continue rebase, or continue merge unless the user asks.
- Remove all conflict markers from resolved files.
Output
SUMMARY
RESOLVED FILES
DECISIONS
VERIFICATION
BLOCKERS