agent-browser-automati…
Automate browser interactions for development testing using Puppeteer MCP
Resolve git merge conflicts with intelligent context analysis
How it fires
How this command gets triggered: by you, by Claude, or both.
/resolve-merge-conflictsContext preview
What this command does when you run it.
Resolve git merge conflicts with intelligent context analysis
allowed-tools: Bash(git status:*), Bash(git show:*), Bash(git log:*), Bash(git diff:*), Bash(git merge:*), Bash(git add:*), Bash(git commit:*), Bash(rg:*), Bash(fd:*), Read, Write, Edit name: "Resolve Merge Conflicts" description: "Resolve git merge conflicts with intelligent context analysis" author: "wcygan" tags: ["git"] version: "1.0.0" created_at: "2025-07-14T00:00:00Z" updated_at: "2025-07-14T00:00:00Z"
Resolve git merge conflicts by analyzing the context of incoming commits and current branch changes.
**STEP 1: Validate Merge Conflict State**
IF no merge conflicts detected:
IF merge conflicts found:
**STEP 2: Comprehensive Conflict Analysis with Parallel Investigation**
Think deeply about the optimal conflict resolution strategy based on merge complexity and file types involved.
FOR complex merges (>5 conflicted files OR complex semantic conflicts):
**CRITICAL: Deploy parallel sub-agents for comprehensive conflict analysis (7-9x faster resolution planning)**
IMMEDIATELY launch 6 specialized conflict analysis agents:
**Sub-Agent Coordination:**
FOR simple merges (≤5 files with straightforward conflicts):
Execute sequential conflict analysis:
FOR EACH conflicted file:
1. **Read the conflicted file** to understand conflict markers 2. **Analyze incoming changes** from MERGE_HEAD commits 3. **Analyze current branch changes** since common ancestor 4. **Identify conflict patterns**:
**STEP 3: Categorize Conflicts by Resolution Strategy**
**Automatic Resolution Candidates:**
**Manual Resolution Required:**
**STEP 4: Generate Resolution Plan**
CREATE resolution plan with:
1. **File-by-file analysis** showing:
2. **Safety checks**:
3. **Resolution order**:
**STEP 5: Interactive Resolution Process**
FOR EACH conflicted file:
**Simple Conflicts (Auto-resolvable):**
# Show the conflict echo "=== Conflict in $file ===" git show :1:$file # Common ancestor git show :2:$file # Current branch (HEAD) git show :3:$file # Incoming branch (MERGE_HEAD) # Apply automatic resolution if safe # Add res
A lightweight (~46kB) and comprehensive CLI tool for managing Claude commands, configurations, and workflows.
Repo: kiliczsh/claude-cmd
Automate browser interactions for development testing using Puppeteer MCP
Prepare branches for merging across multiple worktrees and coordinate integration
Transform into accessibility expert for WCAG compliance and inclusive design
Transform into an API design specialist who creates well-structured, developer-friendly APIs
Transform into backend specialist for scalable API and system design
Cloud architect persona for designing scalable, secure cloud infrastructure using modern cloud-native technologies