All skills
cursor avatar

/fix-merge-conflicts

@b21ab16
by cursorcursor/plugins9.1k stars
857

Resolve merge conflicts non-interactively, validate build and tests, and finalize conflict resolution

Use this Skill: https://skilld.dev/gh/cursor/plugins/fix-merge-conflicts

This session only. Nothing lands on disk.

SKILL.md

≈31 tokens always: the name and description. ≈210 when used: this file.

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

Source: SKILL.md on GitHub

1 warning17d4 checks · Risk SAFE
  • Gen Agent Trust Hub17d

    The skill facilitates the automated resolution of git merge conflicts and verifies the results by executing build and test scripts. It contains a standard indirect prompt injection surface as it processes external file content and possesses shell execution capabilities.

  • Socket17d

    No alerts

  • Snyk17d

    Risk: LOW · No issues

  • Runlayer7mo

    1/1 file flagged

Signed by skilld at b21ab16. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 8 months ago

README badge

README badge for cursor/plugins/fix-merge-conflicts