fix-merge-conflicts
attributes
| description | Resolve merge conflicts non-interactively, validate build and tests, and finalize conflict resolution |
|---|---|
| license | MIT |
| license_url | https://github.com/cursor/plugins/blob/a19705b938adff9da71d626b13e8c7901370f8ef/cursor-team-kit/LICENSE |
| name | fix-merge-conflicts |
| publisher | Cursor |
| repository_url | https://github.com/cursor/plugins |
| source_url | https://github.com/cursor/plugins/blob/a19705b938adff9da71d626b13e8c7901370f8ef/cursor-team-kit/skills/fix-merge-conflicts/SKILL.md |
| upstream_copyright | Copyright (c) 2026 Cursor |
| upstream_revision | a19705b938adff9da71d626b13e8c7901370f8ef |
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
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.