git-merge-conflict-resolution

📁 kentoshimizu/sw-agent-skills 📅 1 day ago
0
总安装量
1
周安装量
安装命令
npx skills add https://github.com/kentoshimizu/sw-agent-skills --skill git-merge-conflict-resolution

Agent 安装分布

amp 1
cline 1
opencode 1
cursor 1
continue 1
kimi-cli 1

Skill 文档

Git Merge Conflict Resolution

Overview

Use this skill to resolve conflicts without silently dropping behavior from either side.

Scope Boundaries

  • Use this skill when the task matches the trigger condition described in description.
  • Do not use this skill when the primary task falls outside this skill’s domain.

Shared References

  • Semantic conflict triage:
    • references/semantic-conflict-triage.md

Templates And Assets

  • Resolution log template:
    • assets/conflict-resolution-log-template.md
  • Verification checklist:
    • assets/conflict-verification-checklist.md

Inputs To Gather

  • Conflicted files and conflict types.
  • Intent of each conflicting change set.
  • Required tests and high-risk behavioral paths.
  • Domain-owner contacts for ambiguous semantic conflicts.

Deliverables

  • Conflict resolution decisions with rationale.
  • File-level intent mapping for resolved hunks.
  • Verification evidence for resolved behavior.

Workflow

  1. Classify conflicts by behavioral impact and risk.
  2. Resolve textual conflicts while preserving intent from both sides.
  3. Log rationale in assets/conflict-resolution-log-template.md.
  4. Validate with assets/conflict-verification-checklist.md.
  5. Escalate unresolved semantic ambiguity using references/semantic-conflict-triage.md.

Quality Standard

  • Every resolved hunk has explicit intent rationale.
  • No conflict markers remain.
  • Affected behaviors are re-verified by tests/manual checks.
  • High-risk semantic merges receive domain-owner review.

Failure Conditions

  • Stop when change intent cannot be reconstructed confidently.
  • Stop when semantic correctness cannot be verified post-resolution.
  • Escalate when domain arbitration is needed for ambiguous merges.