원클릭으로
resolve-conflicts
Analyze and resolve git merge conflicts with guided assistance
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Analyze and resolve git merge conflicts with guided assistance
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Run CodeRabbit CLI code review and interactively fix issues
Write detailed commit messages and create commits
Run formatters and linters, then fix reported issues
Generate PR title and description from branch diff against origin/main
Comprehensive PR review with detailed explanations and constructive feedback
Split a bloated PR into a stack of small, reviewable PRs
SOC 직업 분류 기준
| name | resolve-conflicts |
| description | Analyze and resolve git merge conflicts with guided assistance |
| triggers | ["resolve conflicts","fix conflicts","merge conflict","resolve merge","conflict resolution","git conflict"] |
Use this skill to analyze git merge conflicts, understand what each side intended, and resolve them interactively.
git status
git diff --name-only --diff-filter=U
git log --oneline -1 HEAD
git log --oneline -1 MERGE_HEAD 2>/dev/null || git log --oneline -1 REBASE_HEAD 2>/dev/null
Present overview:
## Merge Conflict Overview
**Operation**: Merging `feature/xxx` into `main`
**Conflicted Files**: N files
| File | Conflict Regions | Complexity |
|------|------------------|------------|
| path/to/file.py | 3 | Medium |
Read each conflicted file and parse conflict markers. Get context from both sides:
git log --oneline main -- <file>
git log --oneline feature/xxx -- <file>
git show :1:<file> 2>/dev/null # base version
For each category, present ALL conflicts with your analysis and recommendation.
Use AskUserQuestion ONCE per category:
Options:
git add <resolved_file>git diff --name-only --diff-filter=U
git diff --cached --stat
make lint
make test/failed-only
Present summary and offer to complete or abort the merge.
| Strategy | When to Use |
|---|---|
| Keep Ours | Their changes are outdated or superseded |
| Keep Theirs | Our changes are outdated or superseded |
| Merge Both | Changes are independent and compatible |
| Custom | Changes conflict in intent, need manual reconciliation |
/resolve-conflicts
/resolve-conflicts --abort
/resolve-conflicts --status