/mithunyc-skills:resolving-merge-conflictsfrom mithunyc-skills
Resolve an in-progress git merge, rebase, cherry-pick, or stash-pop conflict by recovering each side's original intent before editing. Use when the user says they have merge conflicts, a rebase stopped, a merge failed, they need to fix conflicts or conflict markers, git reports CONFLICT or 'Unmerged paths', or asks what to keep between HEAD/ours and theirs.
Ships in mithunyc-skills. 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.
Read when SKILL.md points to them.
See the current state of the merge/rebase. Check git status --short --untracked-files=all, the staged diff, history, and unmerged paths. Confirm an operation is already in progress; do not start a merge/rebase or alter unrelated work. A review-only request remains read-only.
Find the primary sources for each conflict. Understand deeply why each change was made, and what the original intent was. Read the commit messages, check the PRs, check original issues/tickets.
Resolve each hunk. Preserve both intents where possible. Where incompatible, use the merge's stated goal and note the trade-off; ask when a material product or data decision is unresolved. Inspect the base and both sides rather than guessing what "ours" and "theirs" mean during a rebase. Do not invent new behaviour, discard user changes, or abort/reset the operation without explicit authorization.
Discover the project's automated checks and run the relevant checks in its prescribed order, including semantic regression checks for the combined result. Scope formatting and repairs to conflict-related changes. Report unrelated or pre-existing failures separately.
Finish only the authorized transition. Stage explicit resolved paths, never git add . or git add -A. Inspect the full staged diff and check for remaining unmerged entries and conflict markers. If unrelated changes were already staged, stop before committing rather than silently including or unstaging them. Commit or continue only when the user's request authorizes finishing the in-progress operation; resolving files alone is not permission to push, start another operation, or rewrite unrelated history. During an authorized rebase, repeat these checks for each stop until it finishes or needs a human decision. Report checks run and the exact remaining Git state.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mithunyc/skills --plugin mithunyc-skills30 skills in this plugin
/api-designerDesign or review API contracts, schemas, errors, pagination, idempotency, and compatibility. Use for API specification work rather than general server implementation./asd-ste100Write or clarify English technical instructions, tool descriptions, error messages, prompts, agent handoffs, and explanations with ASD-STE100-inspired rules. Use for disambiguate, STE100, Simplified Technical English, controlled-language rewrite, or dense technical text whose misreading has a cost. Preserve meaning and authority. Do not apply automatically to creative writing, marketing, verbatim quotations, or executable code./auth-integration-engineerDesign, implement, or diagnose authentication, identity-provider integration, sessions, tenant authorization, SSO, MFA, and account recovery.