Agent skill
resolve-conflict
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/resolve-conflict-etroxtaran-conductor
SKILL.md
Resolve Conflict
When to use
- Git merge conflicts occur
- Agents have conflicting recommendations
- Multiple approaches need reconciliation
Instructions
Git Conflicts
-
Identify the conflict type:
- Content conflict (same lines modified)
- Structural conflict (file moved/deleted)
- Dependency conflict (version mismatch)
-
Analyze both sides:
- Understand intent of each change
- Check which is more recent
- Verify which aligns with requirements
-
Resolve appropriately:
- Keep the correct version
- Merge changes if both needed
- Document the resolution
Agent Disagreements
-
Compare assessments:
- List points of agreement
- Identify specific disagreements
- Check confidence levels
-
Apply resolution rules:
- Security issues: Cursor preferred (0.8 weight)
- Architecture issues: Gemini preferred (0.7 weight)
- Equal weight: Escalate to human
-
Document decision:
- Record which assessment won
- Note the reason
- Save for future learning
Resolution Commands
# See conflicts
git status
# View conflict markers
git diff
# Accept current (ours)
git checkout --ours <file>
# Accept incoming (theirs)
git checkout --theirs <file>
# Manual resolution then:
git add <file>
git commit
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?