fix-merge-conflicts

Created about 22 hours ago

attributes
descriptionResolve merge conflicts non-interactively, validate build and tests, and finalize conflict resolution
licenseMIT
license_urlhttps://github.com/cursor/plugins/blob/a19705b938adff9da71d626b13e8c7901370f8ef/cursor-team-kit/LICENSE
namefix-merge-conflicts
publisherCursor
repository_urlhttps://github.com/cursor/plugins
source_urlhttps://github.com/cursor/plugins/blob/a19705b938adff9da71d626b13e8c7901370f8ef/cursor-team-kit/skills/fix-merge-conflicts/SKILL.md
upstream_copyrightCopyright (c) 2026 Cursor
upstream_revisiona19705b938adff9da71d626b13e8c7901370f8ef

Fix merge conflicts

Trigger

Branch has unresolved merge conflicts and needs a reliable path to a buildable state.

Workflow

  1. Detect all conflicting files from git status and conflict markers.
  2. Resolve each conflict with minimal, correctness-first edits.
  3. Prefer preserving both sides when safe. Otherwise, choose the variant that compiles and keeps public behavior stable.
  4. Regenerate lockfiles with package manager tools instead of hand-editing.
  5. Run compile, lint, and relevant tests.
  6. Stage resolved files and summarize key decisions.

Guardrails

  • Keep changes minimal and readable.
  • Do not leave conflict markers in any file.
  • Avoid broad refactors while resolving conflicts.
  • Do not push or tag during conflict resolution.

Output

  • Files resolved
  • Notable resolution choices
  • Build/test outcome

Copyright (c) 2026 Cursor

The license files are attached. MIT

Children

No children yet.

Like how this is organised?

Build your own Memory tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.