본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)48k · #5623

resolving-merge-conflicts

하는 일

이 도구는 서로 다른 코드 버전을 합칠 때 생기는 충돌을 해결하는 데 도움을 줍니다. 변경 사항을 이해하고 올바르게 결합하도록 안내합니다.

사용하는 경우

  • ✓Git이 코드를 합친 뒤 충돌을 경고할 때.
  • ✓어떤 파일에 문제가 있고 각 파일에서 무엇이 바뀌었는지 확인할 때.
  • ✓어느 코드 버전을 남길지, 아니면 둘을 어떻게 합칠지 결정해야 할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/resolving-merge-conflicts/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/resolving-merge-conflicts/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Git 충돌이 있는데 해결하도록 도와주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 현재 코드 상태를 분석하고, 메시지와 기록을 읽어 충돌을 일으킨 변경을 이해합니다. 그다음 주된 목표를 지키면서 부분들을 어떻게 결합할지 결정하도록 돕습니다. 그리고 모든 것이 여전히 작동하는지 확인하고 과정을 마무리합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

When to Use

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.

Example

User request:

Use @resolving-merge-conflicts for this task: Use when you need to resolve an in-progress git merge/rebase conflict.

Limitations

  • Use this skill only when the task clearly matches its upstream source and local project context.
  • Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.
  • Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.
자주 묻는 질문

병합/리베이스 충돌이란 무엇인가요?

Git이 같은 부분을 서로 다른 방식으로 바꾼 두 코드 버전을 자동으로 합칠 수 없을 때 생기는 상황입니다.

'각 hunk를 해결한다'는 무엇을 뜻하나요?

'hunk'는 변경 사항이 있는 코드 블록입니다. 해결한다는 것은 그 블록의 어느 버전을 남길지, 또는 둘을 어떻게 합칠지 결정한다는 뜻입니다.

왜 새로운 동작을 만들어 내면 안 되나요?

목표는 변경의 원래 의도를 합치는 것이지, 새로운 것을 만드는 것이 아닙니다. 새로 만들면 이미 작동하던 것이 깨지거나 프로젝트의 목표에 어긋날 수 있습니다.

상세 정보

작성자의 원본 설명

Use when you need to resolve an in-progress git merge/rebase conflict.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5623
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬