Skip to main content

git-resolve-merge-conflicts

Resolve git merge conflicts by inspecting both sides, consulting recent local project context, applying safe resolutions, and completing the merge when the resolution is clear.

소스 정보

저장소
lefant/agent-skills
최근 소스 활동
2026년 3월 27일 07:26
감지된 SKILL.md 언어
영어
스타
1
포크
1

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
git-resolve-merge-conflicts
description
Resolve git merge conflicts by inspecting both sides, consulting recent local project context, applying safe resolutions, and completing the merge when the resolution is clear.
# Git Resolve Merge Conflicts Use this skill when the user asks for help resolving git merge conflicts. This skill is the replacement for the old `git_resolve_merge_conflicts` command. ## Workflow 1. Identify conflicted files with git 2. Inspect the conflict markers in each file 3. Gather context from both sides of the merge: - `git log --stat HEAD...MERGE_HEAD -- <files>` - `git log --stat MERGE_HEAD...HEAD -- <files>` 4. Consult recent local context when helpful: - recent devlogs - plans - specs - ADRs 5. Resolve each file according to intent 6. Stage resolved files 7. Complete the merge commit when the resolution is clear and the user has not asked to stop short ## Resolution Heuristics - Keep both sides when changes are complementary - Prefer the clearer implementation when both sides solve the same problem differently - Stay consistent on formatting-only conflicts - Ask the user when the conflict implies contradictory logic or business rules ## Autonomy Boundary Proceed autonomously through stage and commit when the correct merge is clear. Pause only when ambiguity could cause a logic bug, such as: - conflicting business rules - incompatible data model changes - deletions that may break dependencies ## Verification After resolving, run the relevant tests or checks if practical.
GitHub에서 보기