resolving-merge-conflicts
stevesolun/ctx/.agents/skills/resolving-merge-conflicts/SKILL.md
Resolve an in-progress Git merge or rebase conflict while preserving the relevant intent of both sides. Use when conflict markers or an interrupted merge/rebase need investigation and resolution.
Skill583 starsChanged 56 days ago
What's in it
- Resolve Merge Conflicts
--- name: resolving-merge-conflicts description: Resolve an in-progress Git merge or rebase conflict while preserving the relevant intent of both sides. Use when conflict markers or an interrupted merge/rebase need investigation and resolution. --- # Resolve Merge Conflicts 1. Inspect the current Git state, the operation in progress, its goal, and every conflicting file. 2. Reconstruct each side's intent from the code, nearby tests, history, commit messages, and linked work items that are available and useful. 3. Resolve each hunk by preserving compatible intent. Where intents conflict, prefer the merge's stated goal and current repository contracts; avoid inventing unrelated behavior. 4. Run focused checks for the affected surface, then broader checks when risk or repository guidance warrants them. 5. Unless the user requested advice or review only, stage resolved files and continue the current merge or rebase when it is safe to do so. Report what was resolved, what was verified, and any remaining uncertainty. Pause rather than guess when neither intent can be preserved safely. Aborting or restarting can be the correct recovery when the base is wrong, the operation is contaminated, or the user prefers a clean retry; explain the trade-off before taking that destructive step.
More agent context in stevesolun/ctx
26 other files this repository gives its agents.
AGENTS.md
CLAUDE.md
Skill
- ask-matt.agents/skills/ask-matt/SKILL.md
- codebase-design.agents/skills/codebase-design/SKILL.md
- code-review.agents/skills/code-review/SKILL.md
- diagnosing-bugs.agents/skills/diagnosing-bugs/SKILL.md
- domain-modeling.agents/skills/domain-modeling/SKILL.md
- grilling.agents/skills/grilling/SKILL.md
- grill-me.agents/skills/grill-me/SKILL.md
- grill-with-docs.agents/skills/grill-with-docs/SKILL.md
- handoff.agents/skills/handoff/SKILL.md
- implement.agents/skills/implement/SKILL.md
- improve-codebase-architecture.agents/skills/improve-codebase-architecture/SKILL.md
- prototype.agents/skills/prototype/SKILL.md
- research.agents/skills/research/SKILL.md
- setup-matt-pocock-skills.agents/skills/setup-matt-pocock-skills/SKILL.md
- tdd.agents/skills/tdd/SKILL.md
- teach.agents/skills/teach/SKILL.md
- to-spec.agents/skills/to-spec/SKILL.md
- to-tickets.agents/skills/to-tickets/SKILL.md
- triage.agents/skills/triage/SKILL.md
- wayfinder.agents/skills/wayfinder/SKILL.md
- writing-great-skills.agents/skills/writing-great-skills/SKILL.md
- ctx-dispatch.claude/skills/ctx-dispatch/SKILL.md
- ctx-verify.claude/skills/ctx-verify/SKILL.md
- skill-routerdocs/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool public_context_discussion, action report. How to connect one.

