/mr-sparkle:merge-conflictsfrom mr-sparkle
Resolves git merge conflicts by analyzing intent from both sides. Use when merge conflicts are detected or when git operations fail with conflict errors.
Ships in mr-sparkle. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Detect conflicted files: git status — look for "both modified" / "both added"
For each conflicted file:
Read and understand intent:
git log -p --follow -- path/to/file to see recent historygit blame path/to/file to understand why each side made changesClassify and resolve:
Compatible changes (different additions, merged imports) → auto-resolve, keep both
import { A, B } vs import { A, C } → import { A, B, C }Overlapping changes (same logic modified differently) → combine if possible, explain reasoning
Incompatible changes (mutually exclusive) → do NOT auto-resolve
Apply resolution:
git add path/to/fileReport per file:
File: path/to/file
Strategy: Compatible / Overlapping / Incompatible
Reasoning:
- HEAD: <what it was trying to do>
- Incoming: <what it was trying to do>
- Resolution: <how both intents were preserved>
Confidence: High / Medium / Low
Status: Auto-resolved / Needs review
Provide next steps:
git commit or git merge --continuegit merge --abort or git rebase --abortWhat SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/chezmoiIdioms and gotchas for managing dotfiles with chezmoi — source-state naming/attributes, when to use templates vs modify_ scripts vs run_ scripts, package installation, externals, secrets, and machine differences. Use when adding, editing, or structuring chezmoi-managed dotfiles, or writing chezmoi templates/scripts./code-historyTraces code history via git blame and log to explain why code exists in its current form. Use when asked about code history, reasoning behind changes, or "when/why did this change"./commitCommit changes with smart messages. Supports full and partial commits. Use whenever committing changes or handling pre-commit hook failures.Other plugins' skills for the same job
npx claudepluginhub racurry/neat-little-package --plugin mr-sparkle