Skip to main content

fix-merge-conflicts

Why It Exists​

Adapted from the fix-merge-conflicts skill in cursor-team-kit of cursor/plugins (MIT). Only the frontmatter description was reworded to the "Use when..." form this repo requires; the workflow is unchanged.

What It Does​

Detects every conflicting file from git status and conflict markers, resolves each with a minimal edit (preserving both sides when safe, otherwise the variant that compiles and keeps public behavior stable), regenerates lockfiles with the package manager, runs compile, lint, and relevant tests, then stages the files and summarizes the key decisions.

How To Use It​

skills add -g catesandrew/skills --skill skills/fix-merge-conflicts
npm install @catesworks/skill-fix-merge-conflicts
/plugin marketplace add catesandrew/skills
/plugin install cw@skills

Gotchas & Invariants​

  • Never leave conflict markers in any file.
  • Never hand-edit lockfiles; regenerate them.
  • No broad refactors while resolving.
  • Never push or tag during resolution.

Sourced from: skills/fix-merge-conflicts/SKILL.md, skills/fix-merge-conflicts/metadata.json, upstream https://github.com/cursor/plugins (cursor-team-kit, MIT)