resolving-merge-conflicts
SkillDev toolsUse when you need to resolve merge conflicts during an in-progress git merge/rebase.
Available today. Use it from your connected AI after setup.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the resolving-merge-conflicts skill
What this skill tells your AI
The instructions your AI receives, as published by wenwuzhidao/mattpocock-skills-zh in skills/engineering/resolving-merge-conflicts/SKILL.md and read by ahel’s review.
-
查看 merge/rebase 的当前状态。检查 git 历史,以及有冲突的文件。
-
为每个冲突找到主要来源。深入理解每处变更为何做出,以及原始意图是什么。阅读 commit 消息、查看 PR、查看原始的 issue/工单。
-
解决每个 hunk。 在可能之处保留双方的意图。当不兼容时,选择与本次 merge 所声明目标相符的那个,并记下权衡。不要 发明新行为。始终解决冲突;永不
--abort。 -
发现项目的 自动化检查 并运行它们——通常是类型检查,然后测试,然后格式化。修复 merge 破坏的任何东西。
-
完成 merge/rebase。 暂存所有内容并提交。如果是 rebase,继续 rebase 过程,直到所有 commit 都完成 rebase。
Signals
- GitHub stars
- 23
- Forks
- 4
- Last commit
- Aug 2026
Advanced
- Item type
- skill
- Key
resolving-merge-conflicts-wenwuzhidao- Source
- github.com/wenwuzhidao/mattpocock-skills-zh