🧩
AutomationTypeScript

Fix Merge Conflicts

by saffron-health

Fix Merge Conflicts is an Automation skill for Claude Code, published by saffron-health in libretto.

877 stars67 forkson saffron-health/librettoAdded 2026/08/22Repository updated 2026/08/21
automationbrowserclaude-codecodexrpa
Install in seconds
Install Fix Merge Conflicts
Copy Fix Merge Conflicts into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/saffron-health/libretto/tree/main/.agents/skills/fix-merge-conflicts ~/.claude/skills/fix-merge-conflicts

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/saffron-health/libretto.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
.agents/skills/fix-merge-conflicts/SKILL.md in saffron-health/libretto
Installs to
~/.claude/skills/fix-merge-conflicts
Collection
One of 23 skills cataloged from this repository
Category
Automation1523 skills

What Fix Merge Conflicts does

Fix Merge Conflicts resolves Git merge, rebase, and cherry-pick conflicts by checking PR intent and preserving compatible changes from both sides. Use it when unmerged paths or conflict markers need careful resolution before validation.

Fix Merge Conflicts is cataloged under Automation on DirSkills. Fix Merge Conflicts comes from a repository tagged automation, browser, claude-code, codex and rpa.

Documentation

README

Resolve conflicts by intent, not by line order.

Workflow

  1. Run preflight conflict detection. If no local merge/rebase/cherry-pick conflicts are present, automatically fetch and merge origin/main.
  2. Identify conflicted files and candidate commits.
  3. Map each conflicting commit to its PR.
  4. Read PR title and description to extract intent.
  5. Detect intent divergence and request user intervention.
  6. Resolve conflicts to preserve both intents when compatible.
  7. Validate behavior with targeted checks.
  8. Summarize decisions and any tradeoffs.

0) Preflight: Ensure a Conflict Exists

If there are no active unmerged paths, proactively merge latest origin/main to surface conflicts:

git status --porcelain
git diff --name-only --diff-filter=U

Decision rule:

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Fix Merge Conflicts

  • What else does saffron-health publish alongside Fix Merge Conflicts?

    Fix Merge Conflicts is one of 23 skills that DirSkills catalogs from saffron-health/libretto, the repository it ships in. Its siblings there include Address Review, CLI Development and Errore. Each one is a separate skill with its own page in this directory, installs the same way Fix Merge Conflicts does, and is maintained by saffron-health in that same repository. The rest of the collection is listed on the saffron-health/libretto page.

  • How does Fix Merge Conflicts compare to other Automation skills?

    Fix Merge Conflicts ranks #939 by stars among the 1523 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Fix Merge Conflicts against them. Open each page to compare what they document and how they install.

More from saffron-health/libretto

Fix Merge Conflicts is one of 23 skills cataloged on DirSkills from saffron-health/libretto.

See all 23 skills