Agent Skills › Alain00/blobatar › resolving-merge-conflicts

resolving-merge-conflicts

GitHub

该技能用于解决 Git 合并或变基过程中产生的代码冲突。通过检查冲突状态、分析变更意图、合理解决冲突块并修复由此引发的自动化检查失败,最终完成合并或变基操作,确保代码库一致性。

.agents/skills/resolving-merge-conflicts/SKILL.md Alain00/blobatar

触发场景

Git merge conflict detected Git rebase conflict encountered

安装

npx skills add Alain00/blobatar --skill resolving-merge-conflicts -g -y
更多选项

非标准路径

npx skills add https://github.com/Alain00/blobatar/tree/main/.agents/skills/resolving-merge-conflicts -g -y

不安装直接使用

npx skills use Alain00/blobatar@resolving-merge-conflicts

指定 Agent (Claude Code)

npx skills add Alain00/blobatar --skill resolving-merge-conflicts -a claude-code -g -y

安装 repo 全部 skill

npx skills add Alain00/blobatar --all -g -y

预览 repo 内 skill

npx skills add Alain00/blobatar --list

SKILL.md

Frontmatter
{
    "name": "resolving-merge-conflicts",
    "description": "Use when you need to resolve an in-progress git merge\/rebase conflict."
}
  1. See the current state of the merge/rebase. Check git history, and the conflicting files.

  2. Find the primary sources for each conflict. Understand deeply why each change was made, and what the original intent was. Read the commit messages, check the PRs, check original issues/tickets.

  3. Resolve each hunk. Preserve both intents where possible. Where incompatible, pick the one matching the merge's stated goal and note the trade-off. Do not invent new behaviour. Always resolve; never --abort.

  4. Discover the project's automated checks and run them — typically typecheck, then tests, then format. Fix anything the merge broke.

  5. Finish the merge/rebase. Stage everything and commit. If rebasing, continue the rebase process until all commits are rebased.

版本历史

  • 8436285 当前 2026-08-19 11:32

同 Skill 集合

.agents/skills/ask-matt/SKILL.md
.agents/skills/code-review/SKILL.md
.agents/skills/codebase-design/SKILL.md
.agents/skills/diagnosing-bugs/SKILL.md
.agents/skills/domain-modeling/SKILL.md
.agents/skills/grilling/SKILL.md
.agents/skills/handoff/SKILL.md
.agents/skills/implement/SKILL.md
.agents/skills/improve-codebase-architecture/SKILL.md
.agents/skills/prototype/SKILL.md
.agents/skills/research/SKILL.md
.agents/skills/setup-matt-pocock-skills/SKILL.md
.agents/skills/tdd/SKILL.md
.agents/skills/teach/SKILL.md
.agents/skills/to-questionnaire/SKILL.md
.agents/skills/to-spec/SKILL.md
.agents/skills/to-tickets/SKILL.md
.agents/skills/triage/SKILL.md
.agents/skills/wayfinder/SKILL.md
.agents/skills/wizard/SKILL.md
.agents/skills/writing-for-agents/SKILL.md
.agents/skills/grill-me/SKILL.md
.agents/skills/grill-with-docs/SKILL.md
.agents/skills/wait-what/SKILL.md

元信息

文件数
0
版本
44bdffd
Hash
c7c9ba81
收录时间
2026-08-19 11:32

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-08 21:41
浙ICP备14020137号-1