AGENT SKILL

merge-resolve

AI-powered git merge conflict resolution

License 许可
MIT
最近更新
2026-04-05
Stars
★ 7
Forks
1

01 前言 Front Matter

name
merge-resolve
description
AI-powered git merge conflict resolution

02 资源文件 1

03 SKILL.md 正文

Merge Resolver

Got merge conflicts? This tool understands both versions and picks the right resolution.

Quick Start

npx ai-merge-resolve

What It Does

  • Finds all merge conflicts in repo
  • Analyzes both versions semantically
  • Suggests intelligent resolutions
  • Can auto-resolve simple conflicts

Usage Examples

# Resolve all conflicts
npx ai-merge-resolve

# Resolve specific file
npx ai-merge-resolve ./src/api.ts

# Auto-resolve obvious ones
npx ai-merge-resolve --auto

# Interactive mode
npx ai-merge-resolve --interactive

How It Works

Doesn't just pick "theirs" or "ours". Actually reads the code, understands intent, and merges the functionality properly.

Output

Resolving src/utils.ts...
- Conflict 1: Both added logging → Combined both log statements
- Conflict 2: Different error messages → Kept more descriptive one
✓ Resolved 2 conflicts

Requirements

Node.js 18+. OPENAI_API_KEY required. Must have active merge conflicts.

License

MIT. Free forever.


Built by LXGIC Studios

04 同仓库更多 Skills