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

resolving-merge-conflicts

GitHub

指导 Agent 解决 Git merge 或 rebase 过程中的冲突。包括分析冲突根源、保留双方意图、运行自动化检查修复问题,并最终完成合并或变基操作。

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

触发场景

Git merge conflict Git rebase conflict

安装

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
版本
a7fd546
Hash
c7c9ba81
收录时间
2026-08-19 11:32

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-13 13:34
浙ICP备14020137号-1