From idea-to-code
Resolves Git merge and rebase conflicts efficiently using bulk strategies like `git checkout --theirs/--ours` over manual conflict marker editing. Activates on merge/rebase conflicts.
How this skill is triggered — by the user, by Claude, or both
Slash command
/idea-to-code:git-conflict-resolutionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
When resolving merge or rebase conflicts, prefer efficient git strategies over manually editing conflict markers.
When resolving merge or rebase conflicts, prefer efficient git strategies over manually editing conflict markers.
git checkoutWhen all conflicts in a file should be resolved the same way, use git checkout instead of editing conflict markers one at a time:
# Accept the incoming (remote/theirs) version entirely
git checkout --theirs <file>
# Accept the current (local/ours) version entirely
git checkout --ours <file>
After resolving, stage the file:
git add <file>
Multiple files can be resolved in one command:
git checkout --theirs file1.md file2.md
git add file1.md file2.md
| Strategy | When to Use |
|---|---|
--theirs | The remote version has the completed/updated work (e.g., plan files with tasks checked off) |
--ours | Your local version is the one to keep (e.g., you made intentional local changes) |
| Manual edit | Conflicts require combining parts of both versions |
Before editing conflict markers manually, ask:
git checkout --theirs or --ours.After resolving all conflicts:
<<<<<<<, =======, >>>>>>>git status to confirm no unmerged paths remainnpx claudepluginhub humansintheloop-dev/humansintheloop-dev-workflow-and-tools --plugin idea-to-codeAnalyzes git merge conflicts by type and context, proposes automated/manual resolutions, and validates fixes. Handles content, structural, semantic, and formatting issues.
Resolves Git merge, rebase, cherry-pick, and stash pop conflicts by reading markers, choosing strategies, and safely continuing or aborting.
Resolves Git merge and rebase conflicts file-by-file using modern tooling. Activates for conflicted merges, rebases, PRs unable to merge, or diverged branches. Supports --ours, --theirs, auto-push.