ClaudeCodeMod

All shelves / Skills

resolving-merge-conflicts

mattpocock/skills · 551.3k installs · 309K stars

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

Marked Prompt Injection · No Code

Install

In your shell
npx -y skills add mattpocock/skills --skill resolving-merge-conflicts --agent claude-code

Run in a terminal. Claude loads the skill when a task calls for it. Check the repo's README before you run it.

Open the repo

Files

SKILL.md
  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.

Facts

Kind
Skill
Repo
mattpocock/skills
Group
Uncategorized
Installs
551.3k
Stars
309K

Same name on this shelf 1

  1. 6854resolving-merge-conflictsvinvcn/mattpocock-skills-zh-cn3.5k

Same repo on other shelves

Plugins

  1. 1mattpocock-skillsclaude-plugins-officialMatt Pocock's agent skills for real engineering — grilling, spec/ticket flows, TDD, code review, domain modelling and more. Plug-and-play, not vibe coding.330.7k

From the same repo

  1. 144loop-memattpocock/skillsGrill me about specs for the workflows I want to build, within this workspace.518.8k
  2. 151claude-handoffmattpocock/skillsHand the current conversation off to a fresh background agent that picks up the work immediately.500.6k
  3. 195setup-ts-deep-modulesmattpocock/skills445.4k
  4. 275to-prdmattpocock/skillsTurn the current conversation context into a PRD and submit it as a GitHub issue. Use when user wants to create a PRD from the current context.351.6k
  5. 279to-issuesmattpocock/skillsBreak a plan, spec, or PRD into independently-grabbable GitHub issues using tracer-bullet vertical slices. Use when user wants to convert a plan into issues, create implementation tickets, or break down work into issues.339.1k
  6. 287writing-great-skillsmattpocock/skillsReference for writing and editing skills well — the vocabulary and principles that make a skill predictable.306.6k