/mattpocock-skills:resolving-merge-conflictsfrom mattpocock-skills
Resolves active git merge/rebase conflicts by analyzing each change's intent, preserving both sides when possible, and running project checks after resolution.
Ships in mattpocock-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
查看 merge/rebase 的当前状态。检查 git 历史,以及有冲突的文件。
为每个冲突找到主要来源。深入理解每处变更为何做出,以及原始意图是什么。阅读 commit 消息、查看 PR、查看原始的 issue/工单。
解决每个 hunk。 在可能之处保留双方的意图。当不兼容时,选择与本次 merge 所声明目标相符的那个,并记下权衡。不要 发明新行为。始终解决冲突;永不 --abort。
发现项目的 自动化检查 并运行它们——通常是类型检查,然后测试,然后格式化。修复 merge 破坏的任何东西。
完成 merge/rebase。 暂存所有内容并提交。如果是 rebase,继续 rebase 过程,直到所有 commit 都完成 rebase。
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (wenwuzhidao/mattpocock-skills-zh) — no native marketplace selected
npx claudepluginhub p/wenwuzhidao-mattpocock-skills35 skills in this plugin
/code-review审查自某个固定基点(commit、分支、tag 或 merge-base)以来的改动,沿两条轴进行——标准(代码是否遵循本仓库记录的编码规范?)和规格(代码是否符合源头工单/规格的要求?)。两项审查在并行子 agent 中运行,并把结果并排报告。当用户想审查一个分支、一个 PR、进行中的改动,或要求「审查自 X 以来」时使用。Other plugins' skills for the same job