
Fix Merge Conflicts
When you're staring down merge conflicts and just need to get back to a clean build, this skill handles the resolution non-interactively. It detects conflicting files, resolves them with minimal edits that prioritize correctness, and validates everything compiles and passes tests before staging. The approach is pragmatic: preserve both sides when safe, otherwise pick what keeps things stable. It'll regenerate lockfiles properly instead of making you hand-edit them, and it won't leave conflict markers behind or try to sneak in refactors. The real value is in the workflow discipline: it forces validation before you finalize, which is exactly what you want when you're rushing to unblock a branch.
- skills.sh installs
- 2.8K
- GitHub stars
- 15.9K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add cursor/plugins --skill fix-merge-conflicts --agent claude-codeInstalls into .claude/skills of the current project.
Files
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
Sponsors
Details
- Repository
- github.com/cursor/plugins
- Categories
- DevOps & CI/CD, Git & Pull Requests, Debugging
- First seen
- Jun 3, 2026
More from cursor/plugins
All 47- What Did I Get Done2.6K
- Control Cli2.6K
- Review And Ship2.6K
- Verify This2.5K
- Control Ui2.5K
- Weekly Review2.5K
- Fix Ci2.5K
- Pr Review Canvas2.4K
- Check Compiler Errors2.4K
- Get Pr Comments2.3K
- Loop On Ci2.3K
- Thermos2.3K
- New Branch And Pr2.2K
- Run Smoke Tests2.2K
- Workflow From Chats2.2K
- Poteto Mode1.6K
- Continual Learning1.5K
- Cli For Agents1.4K
- Cursor Sdk1.3K
- Orchestrate1.2K
- Docs Canvas1.2K
- Create Plugin Scaffold1.2K
- Review Plugin Submission1.2K
- Ralph Loop1K