🧩
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
Automation — 2226 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 #953 by stars among the 2226 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 →
📝
2026/08/22

Address Review

Address Review systematically fetches PR feedback, applies requested code changes, and verifies them with tests and checks. Use it when responding to human review comments on a pull request.
Automation
87767
⌨️
2026/08/22

CLI Development

CLI Development designs command-line interfaces with scoped help, clear success messages, and diagnosable failures. Use it when creating or updating commands, argument parsing, exit codes, or human- and machine-friendly CLI output.
Automation
87767
⚠️
2026/08/22

Errore

Errore is Go-style error handling for TypeScript, where functions return Error | T instead of throwing. Use it when you want typed, visible error handling with early returns and cause chains.
AI Engineering
87767
🖥️
2026/08/22

External Electron Apps

External Electron Apps automates user-installed Electron desktop apps through Libretto and CDP. Use it to control apps like Slack, VS Code, Discord, Notion, Figma, or Spotify on the user's machine.
Automation
87767
📝
2026/08/22

Generate Spec

Generate Spec creates a spec sheet in the specs directory for a significant feature or complex fix. Use it to research the codebase, clarify open questions, and define goals, non-goals, and an implementation plan.
Writing
87767
📝
2026/08/22

Generate Spec V2

Generate Spec V2 creates a code-based implementation spec in specs/ for a feature, fix, or refactor. Use it when planning work that needs Mermaid flows, key types, phased diffs, and checks before implementation.
AI Engineering
87767