Tooluck logoTooluck
SKILL.md

fix-merge-conflicts

Agent skill frommichael-denyer/pstack-claude

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

How to install fix-merge-conflicts

install fix-merge-conflicts
# install the pstack-claude pack with the skills CLI
npx skills add michael-denyer/pstack-claude

# or add only this skill to Claude Code: copy the folder

plugins/pstack/skills/fix-merge-conflicts/

# into

~/.claude/skills/fix-merge-conflicts/ (all projects)

.claude/skills/fix-merge-conflicts/ (one project)

plugins/pstack/skills/fix-merge-conflicts/SKILL.md

MITFull file
1# Fix merge conflicts
2
3## Trigger
4
5Branch has unresolved merge conflicts and needs a reliable path to a buildable state.
6
7## Workflow
8
91. Detect all conflicting files from git status and conflict markers.
102. Resolve each conflict with minimal, correctness-first edits.
113. Prefer preserving both sides when safe. Otherwise, choose the variant that compiles and keeps public behavior stable.
124. Regenerate lockfiles with package manager tools instead of hand-editing.
135. Run compile, lint, and relevant tests.
146. Stage resolved files and summarize key decisions.
15
16## Guardrails
17
18- Keep changes minimal and readable.
19- Do not leave conflict markers in any file.
20- Avoid broad refactors while resolving conflicts.
21- Do not push or tag during conflict resolution.
22
23## Output
24
25- Files resolved
26- Notable resolution choices
27- Build/test outcome

Excerpt shown under the repository's MIT license.

More skills in pstack-claude

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates