/resolving-merge-conflicts
适用于需要解决正在进行的 git merge/rebase 冲突时。
$ npx -y skills add vinvcn/mattpocock-skills-zh-cn --skill resolving-merge-conflicts --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/resolving-merge-conflicts
Context preview
The summary Claude sees to decide when to auto-load this skill.
适用于需要解决正在进行的 git merge/rebase 冲突时。
SKILL.md
resolving-merge-conflicts.SKILL.mdname: resolving-merge-conflicts description: "适用于需要解决正在进行的 git merge/rebase 冲突时。"
1. **查看当前 merge/rebase 状态**。检查 git history 和冲突文件。
2. **为每个冲突找到 primary sources**。深入理解每个变更为什么产生,以及原始意图是什么。阅读 commit messages,检查 PRs,检查原始 issues/tickets。
3. **解决每个 hunk。** 尽可能保留双方意图。若二者不兼容,选择符合本次 merge 目标的一方,并记录 trade-off。**不要**发明新行为。始终解决冲突;不要 `--abort`。
4. 发现项目的 **automated checks** 并运行它们,通常是 typecheck、tests、format。修复 merge 引入的问题。
5. **完成 merge/rebase。** Stage 所有内容并 commit。若正在 rebase,继续 rebase 流程直到所有 commits 都完成。
Repo: vinvcn/mattpocock-skills-zh-cn
Other skills on mattpocock-skills.
- /ask-matt
询问当前情境适合哪个技能或流程;它是本仓库所有 skills 的路由器。
Open skill - /code-review
从固定点(commit、branch、tag 或 merge-base)开始,按 Standards(代码是否符合本仓库记录的编码标准?)和 Spec(代码是否符合来源 issue/PRD 的要求?)两个轴线审查变更。两个审查会在并行子代理中运行,并并排报告。适用于用户想审查 branch、PR、进行中的变更,或要求 “review since X” 时。
Open skill - /codebase-design
用于设计深模块的共享词汇。适用于用户想设计或改进模块接口、寻找深化机会、决定 seam 放在哪里、让代码更容易测试或更适合 AI 导航,或其他技能需要深模块词汇时。
Open skill - /diagnosing-bugs
面向棘手缺陷和性能回退的诊断循环。适用于用户说 “diagnose” / “debug this”,或报告某些东西 broken、throwing、failing、slow 时。
Open skill - /domain-modeling
构建并打磨项目的领域模型。适用于用户想明确领域术语或通用语言、记录架构决策,或其他技能需要维护领域模型时。
Open skill - /grill-with-docs
一个用来打磨计划或设计的持续追问式访谈,并在过程中创建文档(ADRs 和词汇表)。
Open skill

