merge-conflict-resolver/SKILL.md
Resolve git merge conflicts using deterministic rules that preserve correct functionality. Use when branch consolidation encounters merge conflicts and needs automated resolution guidance that reads both parent versions and applies scenario-specific strategies.
npx skillsauth add laitszkin/apollo-toolkit merge-conflict-resolverInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
commit-and-push when the user expects the resolved tree to be committed or pushed—MUST run that skill for the submission leg instead of bare git commit / ad-hoc push when readiness gates apply.commit-and-push is unavailable, MUST stop and report.commit-and-push when persisting to git.-X ours/-X theirs as the default strategy; only for narrowly justified conflicts after reading the actual content.| Scenario | Resolution | |----------|-----------| | Same line, both branches changed behavior | Read both code paths and compose merged logic preserving the verified invariant | | Same line, bug fix vs refactor | Keep the bug fix, reapply compatible refactor structure | | File deleted in one, modified in other | Keep version supported by current references/tests; delete only if proven correct | | Both modified same file differently | Preserve both when compatible; manually compose overlapping changes | | Test files conflict | Preserve both coverages unless one assertion is obsolete | | Config file (non-overlapping keys) | Keep both values | | package.json dependency | Keep higher version if compatible | | Same function added differently | Keep both; rename if needed |
git add <resolved-files>development
Guides the agent through creating a new Agent Skill from scratch. Use when the user wants to build a skill, create a new skill, scaffold a skill directory, or author a SKILL.md. Do NOT use for optimising or rewriting existing skills — use 'optimise-skill' for that. Do NOT use for editing files that are already part of a skill. Do NOT use for creating non-skill content like documentation, scripts, or project files.
development
Guides the agent through creating a new Agent Skill from scratch. Use when the user wants to build a skill, create a new skill, scaffold a skill directory, or author a SKILL.md. Do NOT use for optimising or rewriting existing skills — use 'optimise-skill' for that. Do NOT use for editing files that are already part of a skill. Do NOT use for creating non-skill content like documentation, scripts, or project files.
development
Review a pull request — interactive PR selection via `gh`, 4-dimension code review (hallucinated code, architecture, performance, test validity), then post severity-graded comments with fix suggestions on the PR. Not for spec-based review — use `review` instead.
tools
協助完成自動化版本發佈。同步文檔、更新版本號、推送 tag 並建立 GitHub Release。