ワンクリックで
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 ページを確認してインストールできます。
SOC 職業分類に基づく
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
| 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