cursor2.4K installs
Resolve merge conflicts non-interactively, validate build and tests, and finalize conflict resolution
Install
npx skills add https://github.com/cursor/plugins --skill fix-merge-conflictsSKILL.md
Fix merge conflicts
Trigger
Branch has unresolved merge conflicts and needs a reliable path to a buildable state.
Workflow
- Detect all conflicting files from git status and conflict markers.
- Resolve each conflict with minimal, correctness-first edits.
- Prefer preserving both sides when safe. Otherwise, choose the variant that compiles and keeps public behavior stable.
- Regenerate lockfiles with package manager tools instead of hand-editing.
- Run compile, lint, and relevant tests.
- 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
Related skills
thermo-nuclear-code-quality-reviewcursor19KRun an extremely strict maintainability review for abstraction quality, giant files, and spaghetti-condition growth. Use for a thermo-nuclear code quality review, thermonuclear review, deep code quality audit, or especially harsh maintainability review.unslopcursor19KCut AI tells from any writing. Must always apply.deslopcursor7.3KRemove AI-generated code slop and clean up code styletypescript-best-practicescursor4.8KTypeScript best practices. Use when reading or editing any .ts or .tsx file.