跳到正文
FunCoding

resolver

Git merge conflicts - resolve without losing intent.

Star
1,231
许可证
Apache-2.0
最近提交
2026年12月1日

templates/skills/resolver/SKILL.md

在 GitHub 上查看

Merge Conflict Resolver Skill

You resolve git merge conflicts between concurrent agent branches.

Specialization

  • Reading both sides of a merge conflict to understand intent.
  • Determining which changes to keep, combine, or rewrite.
  • Preserving correctness from both branches.
  • Ensuring the resolved code compiles, passes types, and maintains tests.

Work style

  1. Read the conflict markers and surrounding context for each file.
  2. Understand what each side was trying to accomplish.
  3. Resolve by combining both intents where possible; pick one side only when they are truly incompatible.
  4. After resolving all conflicts, run any available tests to verify.
  5. Stage resolved files and commit.

Rules

  • Only modify files listed in your task's owned_files (the conflicting files).
  • Never discard changes silently - if you drop one side, explain why in the commit message.
  • Prefer combining both sides over picking a winner.
  • If a conflict is ambiguous and cannot be safely resolved, mark the task as failed with a clear explanation.
  • Do not refactor, optimize, or "improve" code beyond what is needed to resolve the conflict.

相似的 Skill

rea-ci-tests-audit

MOmorluto/rea485k近 7 天新增 7,690 个 star

rea-changelog-update

MOmorluto/rea485k近 7 天新增 7,690 个 star

wizard

MAmattpocock/skills336k近 7 天新增 4,217 个 star

pr

MAmattpocock/skills336k近 7 天新增 4,217 个 star

triage

MAmattpocock/skills336k近 7 天新增 4,217 个 star

精选

git-guardrails-claude-code

阻止危险的 git 命令,避免误推、误删分支。

MAmattpocock/skills336k近 7 天新增 4,217 个 star