shashank-sn/clean-code/clean-merge-resolver
Claude Code and agent skill by shashank-sn/clean-code
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Resolve an in-progress git merge or rebase conflict hunk by hunk, tracing each resolution to both sides' primary sources, then finish the operation. Never abort. Use when git reports conflict or unmerged paths.
Install
npx vskill@latest install shashank-sn/clean-code/clean-merge-resolverSKILL.md
The same SKILL.md was published earlier as shashank-sn/clean-code/clean-merge-resolver.
Merge Conflict Resolver
Resolve conflicts by intent traced to each side's primary source, then finish the operation.
Workflow
- Confirm the operation in progress (merge or rebase). Never
--abort; the goal is to finish it correctly. - Enumerate the unmerged paths with
git status. Work one conflict hunk at a time. - For each hunk, read both parent revisions to identify the intent behind each side:
- the incoming change and its originating source, and
- the current branch's change and its originating source.
- Resolve by intent: combine both sides' intent when they address different concerns, prefer one side when the other is obsolete, or rewrite the hunk when both are superseded. Record the reasoning per hunk.
- After all hunks resolve and no unmerged paths remain, verify the resolved tree builds and tests pass.
- Finish the operation only when resolution is complete and verified. Record resolution notes for review.
Guardrails
- Never resolve a hunk by guessing. If a side's intent cannot be traced to a primary source, stop and surface the ambiguity rather than invent a resolution.
- Never
--abort. Aborting discards the conflict context and the traceable resolutions. - Preserve both sides' behavior unless a side is demonstrably obsolete; losing an intended change is a defect.
- Re-run verification after resolution; a conflict merge is not complete until the tree builds and tests pass.
Tool-free mode
- If git operations are unavailable, report the conflict hunks and the exact unavailable status. Never claim a resolution occurred that did not.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/clean-merge-resolver/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/shashank-sn/clean-code/clean-merge-resolver)