Resolve conflicts
My personal Agent Skills for coding agents: engineering workflows plus a few personal-use tools. Personalized forks, with every upstream author credited.
npx -y skills add martonpaulo/skills --skill resolve-conflictsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 16 days oldThe repository was created 16 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Resolve an in-progress Git merge, rebase, or cherry-pick conflict by reconstructing the intent of both sides, preserving compatible behavior, and validating the resulting code and history.
SKILL.md
2.0 KB, 326 tokens by cl100k_base, as published. Nobody here has run it
Resolve Conflicts
Use this skill only when a Git operation is already conflicted or the user explicitly asks to resolve a known conflict.
Workflow
- Inspect
git status, the operation metadata, current branch, conflicted paths, and worktree changes. Identify whether this is a merge, rebase, cherry-pick, revert, or another operation. - Reconstruct both intentions from the conflicting changes, nearby code, relevant commits, call sites, tests, and documentation.
- Resolve one coherent unit at a time. Preserve both valid intentions when compatible; never choose
oursortheirsblindly. - When intentions conflict, explain the behavioral tradeoff. If code and history cannot determine the correct product or architectural behavior, stop for that decision.
- Inspect the resolved diff and run the smallest relevant tests first, then broader checks appropriate to the affected behavior.
- Remove conflict markers and confirm the index contains only intended resolutions.
Operation safety
Aborting is appropriate when continuing risks data loss, produces invalid history, or lacks a required decision. Explain what an abort would preserve before performing it.
Do not continue the operation, create a commit, push, force-push, or rewrite remote history unless the user's requested scope includes that action. If the user requested complete merge or rebase resolution, continue after tests pass and repeat the workflow for any later conflict. Force-pushing always requires explicit authorization.
Completion
Report the operation, conflicts resolved, intent preserved, tests and results, final diff or status, and whether the operation remains paused or was explicitly completed.
What ships with it: 2 files
2.3 KB alongside SKILL.md
agents/
- openai.yaml231 B
- THIRD_PARTY_NOTICES.md2.0 KB