Agent skill

Git Merge Conflict Resolver

by tailcallhq in tailcallhq/forgecode

Resolves Git merge conflicts with a plan-first workflow that keeps both sides' intent, regenerates lock files and backs up deleted-but-modified files.

Apache-2.0Auto-check passedDevelopment

Install Git Merge Conflict Resolver

skills CLI
$ npx skills add tailcallhq/forgecode --skill resolve-conflicts -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tailcallhq/forgecode resolve-conflicts --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tailcallhq/forgecode.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.forge/skills/resolve-conflicts .claude/skills/resolve-conflicts && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
resolve-conflicts
GitHub stars
7.6k
Used in
1 other repo
Token cost
~4.5k tokens
SKILL.md length
1,732 words
Files
5 (incl. scripts, references)
Skills in repo
14
Repo updated
First seen
Licence
Apache-2.0

At a glance

Resolves Git merge conflicts with a plan-first workflow that keeps both sides' intent, regenerates lock files and backs up deleted-but-modified files.

  • Works in 7 steps: Assess the Conflict Situation → Create Merge Resolution Plan → Handle Deleted-Modified Files → …
  • Merging a branch that produced conflicts in several files
  • SKILL.md covers Core Principles, Workflow, Decision Tracking and Common Patterns Reference, plus 3 more sections
  • Runs Shell scripts from its folder; calls git, cargo and npm

What it does

The skill works plan first. It assesses conflicts with git status, sorts them into groups (both modified, deleted-modified, generated files, tests, imports and configuration, binary), writes a structured Merge Resolution Plan and waits for your approval before changing anything. Its principles are to prefer keeping both changes, to merge rather than choose for imports, tests and configuration, to regenerate generated files from their sources instead of merging them by hand, to back up deleted-modified files first, to run tests afterwards, to explain each resolution in one line and to ask when the right answer is not clear from the diff.

Deleted-but-modified files (git statuses DU, UD, DD, UA and AU) are handled only after the plan is approved, using the handle-deleted-modified.sh script, and validate-conflicts.sh checks the result. A patterns reference and a complete sample plan are included. The instructions tell the agent to invoke the skill as soon as merge conflicts come up, instead of resolving them directly.

When your agent uses it

  • Merging a branch that produced conflicts in several files
  • Resolving lock file conflicts by regenerating them
  • Handling files deleted on one branch and modified on the other

Example prompts

  • “I get conflicts merging main into my feature branch. Make a resolution plan first.”
  • “Resolve the package-lock.json conflict by regenerating it instead of merging by hand.”
  • “One side deleted config/legacy.yml and the other changed it. Back it up and tell me what to keep.”

Requirements

  • Git
  • Bash, for the helper scripts

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Assess the Conflict Situation
  2. Create Merge Resolution Plan
  3. Handle Deleted-Modified Files
  4. Execute Resolution Plan
  5. Validate Resolution
  6. Compile and Test
  7. Finalize

What it can do on your machine

Read from SKILL.md and the folder at commit 92a5699. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • git
    • cargo
    • npm
    • yarn
    • bundle
    • poetry
    • make

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, npm and yarn, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Git Merge Conflict Resolver loads about 4.5k tokens when it runs, and up to ~7.8k if it reads all its reference files. Until then it costs about 96 tokens; SKILL.md has 1,732 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~96
When it runs · the whole SKILL.md, loaded when a task matches
~4.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~7.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from tailcallhq/forgecode at commit 92a5699, republished under its Apache-2.0 licence (© tailcallhq). 1,732 words, ~4,492 tokens.

Download SKILL.mdSave it as .claude/skills/resolve-conflicts/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
resolve-conflicts
description
Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration), configuration files, and handling deleted-but-modified files with backup and analysis.

Git Conflict Resolution

Resolve Git merge conflicts by intelligently combining changes from both branches while preserving the intent of both changes. This skill follows a plan-first approach: assess conflicts, create a detailed resolution plan, get approval, then execute.

Core Principles

  1. Plan Before Executing: Always create a structured resolution plan and get user approval before making changes
  2. Prefer Both Changes: Default to keeping both changes unless they directly contradict
  3. Merge, Don't Choose: Especially for imports, tests, and configuration
  4. Regenerate Generated Files: Never manually merge generated files - always regenerate them from their sources
  5. Backup Before Resolving: For deleted-modified files, create backups first
  6. Validate with Tests: Always run tests after resolution
  7. Explain All Resolutions: For each conflict resolved, provide a one-line explanation of the resolution strategy
  8. Ask When Unclear: When the correct resolution isn't clear from the diff, present options to the user and ask for their choice

Workflow

Step 1: Assess the Conflict Situation

Run initial checks to understand the conflict scope:

bash
git status

Identify and categorize all conflicted files:

  • Regular file conflicts (both modified)
  • Deleted-modified conflicts (one deleted, one modified)
  • Generated file conflicts (lock files, build artifacts, generated code)
  • Test file conflicts
  • Import/configuration conflicts
  • Binary file conflicts

For each conflicted file, gather information:

  • File type and purpose
  • Nature of the conflict (content, deletion, type change)
  • Scope of changes (lines changed, sections affected)
  • Whether the file is generated or hand-written
Step 2: Create Merge Resolution Plan

Based on the assessment, create a structured plan before resolving any conflicts. Present the plan in the following markdown format:

markdown
## Merge Resolution Plan

### Conflict Summary

- **Total conflicted files**: [N]
- **Deleted-modified conflicts**: [N]
- **Generated files**: [N]
- **Regular conflicts**: [N]

### Resolution Strategy by File

#### 1. [File Path]

**Conflict Type**: [deleted-modified / generated / imports / tests / code logic / config / struct / binary]
**Strategy**: [Brief description of resolution approach]
**Rationale**: [Why this strategy is appropriate]
**Risk**: [Low/Medium/High] - [Brief risk description]
**Action Items**:

- [ ] [Specific action 1]
- [ ] [Specific action 2]

#### 2. [File Path]

...

### Execution Order

1. **Phase 1: Deleted-Modified Files** - Handle deletions and backups first
2. **Phase 2: Generated Files** - Regenerate from source
3. **Phase 3: Low-Risk Merges** - Imports, tests, documentation
4. **Phase 4: High-Risk Merges** - Code logic, configuration, structs
5. **Phase 5: Validation** - Compile, test, verify

### Questions/Decisions Needed

- [ ] **[File/Decision]**: [Question for user] (Options: 1, 2, 3)

### Validation Steps

- [ ] Run conflict validation script
- [ ] Compile project
- [ ] Run test suite
- [ ] Manual verification of high-risk changes

Present this plan to the user and wait for their approval before proceeding with resolution. If there are any unclear conflicts where you need user input, list them in the "Questions/Decisions Needed" section.

For a complete example plan, see references/sample-plan.md.

Step 3: Handle Deleted-Modified Files

Execute this phase only after the plan is approved.

If there are deleted-but-modified files (status: DU, UD, DD, UA, AU):

bash
.forge/skills/resolve-conflicts/scripts/handle-deleted-modified.sh

This script will:

  • Create timestamped backups of modified content
  • Analyze potential relocation targets
  • Generate analysis reports for each file
  • Automatically resolve the deletion status

Review the backup directory and analysis files to understand where changes should be applied.

Step 4: Execute Resolution Plan

Follow the execution order defined in your plan. For each conflicted file, apply the appropriate resolution pattern according to your plan. For every conflict you resolve, provide a one-line explanation of how you're resolving it.

As you complete each action item in your plan, mark it as done and report progress to the user.

When Resolution is Unclear

When you cannot determine the correct resolution from the diff alone (these should already be listed in your plan's "Questions/Decisions Needed" section):

  1. Present the conflict to the user with the conflicting code from both sides
  2. Provide numbered options for resolution (Option 1, Option 2, etc.)
  3. Explain each option clearly with what it would do
  4. Ask the user to choose an option number or provide additional information
  5. Remember their choice and apply similar reasoning to subsequent related conflicts

Example interaction:

I found a conflict in src/main.rs where both branches modify the `calculate_price` function:

<<<<<<< HEAD (Current Branch)
fn calculate_price(item: &Item) -> f64 {
    item.base_price * (1.0 + item.tax_rate)
}
=======
fn calculate_price(item: &Item) -> f64 {
    item.base_price + item.tax_amount
}
>>>>>>> feature-branch (Incoming Branch)

I'm not sure which calculation is correct. Please select an option:

**Option 1**: Keep current branch (multiplies base_price by tax_rate)
**Option 2**: Keep incoming branch (adds tax_amount to base_price)
**Option 3**: Keep both approaches with a new parameter
**Option 4**: Provide more context to help me decide

Please respond with "Option 1", "Option 2", "Option 3", or "Option 4", or provide additional information.

Once the user responds, apply their decision and similar logic to related conflicts.

Resolution Patterns

For each conflicted file, apply the appropriate resolution pattern:

Imports/Dependencies

Goal: Merge all unique imports from both branches.

One-line explanation: "Merging imports by combining unique imports from both branches, removing duplicates, and grouping by module."

Read references/patterns.md section "Import Conflicts" for detailed examples.

Quick approach:

  1. Extract all imports from both sides
  2. Remove duplicates
  3. Group by module/package
  4. Follow language-specific style (alphabetize, group std/external/internal)
Tests

Goal: Include all test cases and test data from both branches.

One-line explanation: "Merging tests by including all test cases from both branches, combining fixtures, and renaming if necessary to avoid conflicts."

Read references/patterns.md section "Test Conflicts" for detailed examples.

Quick approach:

  1. Keep all test functions unless they test the exact same thing
  2. Merge test fixtures and setup functions
  3. Combine assertions from both sides
  4. If test names conflict but test different behaviors, rename to clarify
Generated Files

Goal: Regenerate any generated files to include changes from both branches.

One-line explanation: "Resolving generated file by regenerating it from source files to incorporate changes from both branches."

Recognition: A file is generated if it:

  • Is produced by a build tool, compiler, or code generator
  • Has a source file or configuration that defines it
  • Contains headers/comments indicating it's auto-generated
  • Is listed in .gitattributes as generated
  • Common examples: lock files, protobuf outputs, GraphQL schema files, compiled assets, auto-generated docs

Approach:

  1. Identify the generation source: Determine what command or tool generates the file

  2. Choose either version temporarily (doesn't matter which):

    bash
    git checkout --ours <generated-file>    # or --theirs
  3. Regenerate from source: Run the appropriate generation command:

    bash
    # Package manager lock files
    cargo update                       # for Cargo.lock
    npm install                        # for package-lock.json
    yarn install                       # for yarn.lock
    bundle install                     # for Gemfile.lock
    poetry lock --no-update            # for poetry.lock
    
    # Code generation
    protoc ...                         # for protobuf files
    graphql-codegen                    # for GraphQL generated code
    make generate                      # for Makefile-based generation
    npm run generate                   # for npm script-based generation
    
    # Build artifacts
    npm run build                      # for compiled/bundled assets
    cargo build                        # for Rust build artifacts
  4. Stage the regenerated file:

    bash
    git add <generated-file>

When unsure if a file is generated: Check for auto-generation markers in the file header, or ask the user if you should regenerate or manually merge the file.

Configuration Files

Goal: Merge configuration values from both branches.

One-line explanation: "Merging configuration by including all keys from both branches and choosing appropriate values for conflicts."

Read references/patterns.md section "Configuration File Conflicts" for detailed examples.

Quick approach:

  1. Include all keys from both sides
  2. For conflicting values, choose based on:
    • Newer/more recent value
    • Safer/more conservative value
    • Production requirements
  3. Document choice in commit message

When unclear: Ask the user which configuration value to prefer (current vs incoming)

Code Logic

Goal: Understand intent of both changes and combine if possible.

One-line explanation: "Resolving code logic by analyzing intent: merging if changes are orthogonal, or choosing one approach if they conflict."

Read references/patterns.md section "Code Logic Conflicts" for detailed examples.

Quick approach:

  1. Analyze what each branch is trying to achieve
  2. If changes are orthogonal (different concerns), merge both
  3. If changes conflict (same concern, different approach):
    • Review commit messages/PRs for context
    • Choose the approach that matches requirements
    • Test both approaches if unclear
    • Document the decision

When unclear: Present both approaches as options to the user with context about what each does

Show full SKILL.md (735 more words)Show less
Struct/Type Definitions

Goal: Include all fields from both branches.

One-line explanation: "Merging struct by including all fields from both branches and choosing appropriate types for any conflicting field definitions."

Quick approach:

  1. Merge all fields
  2. If field types conflict, analyze which is more appropriate
  3. Fix all compilation errors from updated struct
  4. Update tests to use new fields

When unclear: Ask the user which type definition is correct if field types conflict

Step 5: Validate Resolution

After completing all resolution phases in your plan, validate that all conflicts are resolved:

bash
.forge/skills/resolve-conflicts/scripts/validate-conflicts.sh

This script checks for:

  • Remaining conflict markers (<<<<<<<, =======, >>>>>>>)
  • Unmerged paths in git status
  • Deleted-modified conflicts
  • Merge state files
Step 6: Compile and Test

Build and test to ensure the resolution is correct (as defined in your plan's validation steps):

bash
# For Rust projects
cargo test

# For other projects, use appropriate test command
# npm test
# pytest
# etc.

If tests fail:

  1. Review the failure - is it from merged code or conflict resolution?
  2. Check if both branches' tests pass individually
  3. Fix integration issues between the merged changes
  4. Re-run tests until all pass
Step 7: Finalize

Once all conflicts are resolved and tests pass, review your completed plan and commit:

bash
# Review the changes
git diff --cached

# Commit with descriptive message that references the plan
git commit -m "Resolve merge conflicts: [describe key decisions]

Executed merge resolution plan:
- [Phase 1 summary]
- [Phase 2 summary]
- [Phase 3+ summaries]

Key decisions:
- Merged imports from both branches
- Combined test cases
- Regenerated lock files
- [other significant decisions from plan]

Co-Authored-By: ForgeCode <noreply@forgecode.dev>"

Decision Tracking

When you ask the user to choose between options, track their decision and apply similar reasoning to subsequent conflicts:

Example scenario:

  1. First conflict: User chooses Option 1 (prefer current branch's validation logic)
  2. Second similar conflict: Apply the same reasoning (prefer current branch's validation approach)
  3. Mention: "Resolving by keeping current branch's approach (consistent with your earlier choice)"

Key principles:

  • Remember user preferences within the same conflict resolution session
  • Apply consistent patterns when conflicts are similar
  • Mention the consistency: "Following the same pattern as before..."
  • Ask again if a new conflict is sufficiently different from previous ones

Common Patterns Reference

For detailed resolution patterns, read:

  • references/patterns.md - Comprehensive examples for all conflict types

Quick pattern lookup:

  • Imports: Combine all unique imports, group by module
  • Tests: Keep all tests unless identical, merge fixtures
  • Generated files: Choose either version, regenerate from source
  • Config: Merge all keys, choose newer/safer values for conflicts
  • Code: Analyze intent, merge if orthogonal, choose one if conflicting
  • Structs: Include all fields from both branches
  • Docs: Combine all documentation sections

Special Scenarios

Binary Files in Conflict

Binary files cannot be merged. Choose one version:

bash
git checkout --ours path/to/binary    # keep our version
# or
git checkout --theirs path/to/binary  # keep their version
Mass Rename/Refactoring Conflicts

If one branch renamed/refactored many files while another modified them:

  1. Accept the rename/refactoring (structural change)
  2. Apply the modifications to the new structure
  3. Use backups from handle-deleted-modified.sh to guide the application
Submodule Conflicts
bash
# Check submodule status
git submodule status

# Update to the correct commit
cd path/to/submodule
git checkout <desired-commit>
cd ../..
git add path/to/submodule

Troubleshooting

"Both Added" Conflicts (AA)

Both branches added a new file with the same name but different content:

  1. Review both versions
  2. If they serve the same purpose, merge their content
  3. If they serve different purposes, rename one
Whitespace-Only Conflicts

If conflicts are only whitespace differences:

bash
git merge -Xignore-space-change <branch>
Persistent Conflict Markers

If validation shows conflict markers but you think you resolved them:

  1. Search for the exact marker strings: git grep -n "<<<<<<< HEAD"
  2. Some markers might be in strings or comments - resolve those too
  3. Check for hidden characters or encoding issues
Tests Fail After Resolution
  1. Test each branch individually to confirm they pass
  2. The failure is likely from interaction between the merged changes
  3. Debug the interaction issue, not the individual changes
  4. Update code to make both changes work together

Quick Reference Card

Conflict TypeStrategyOne-line Explanation Template
ImportsMerge all, deduplicate, group by module"Merging imports by combining unique imports from both branches and grouping by module"
TestsKeep all, merge fixtures"Including all test cases from both branches and combining test fixtures"
Generated filesRegenerate from source"Regenerating [file] from source to include changes from both branches"
ConfigMerge keys, choose newer values"Merging all config keys and choosing [current/incoming] value for [key]"
Code logicAnalyze intent, merge if orthogonal"Merging both changes as they address different concerns" OR "Choosing [current/incoming] approach for [reason]"
StructsInclude all fields"Including all fields from both branches in struct definition"
DocsCombine all sections"Combining documentation from both branches"
Deleted-modifiedBackup, analyze, apply to new location"Applying modifications to new location after file was moved/renamed"
Binary filesChoose one version"Keeping [current/incoming] version of binary file"

Remember:

  • Always provide a one-line explanation for each conflict resolution
  • When unclear, present numbered options to the user
  • Track user decisions and apply consistently to similar conflicts
  • The goal is to preserve the intent and functionality of both branches while creating a cohesive merged result

© tailcallhq, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, references) in .forge/skills/resolve-conflicts of tailcallhq/forgecode.

  • SKILL.md
  • references/patterns.md
  • references/sample-plan.md
  • scripts/handle-deleted-modified.sh
  • scripts/validate-conflicts.sh

Open the folder on GitHubat commit 92a5699

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in tailcallhq/forgecode, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Git Merge Conflict Resolver next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Git Merge Conflict Resolver compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Git Merge Conflict Resolver this skilltailcallhq/forgecode7.6k1 repos~4.5kAutomated safety check: PassApache-2.0
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Code Design Rationale Investigatorcursor/plugins10k9 repos~2.6kAutomated safety check: PassNone
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Migrate Internal Package into GhostTryGhost/Ghost55k—~3.8kAutomated safety check: PassMIT
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Official

    Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.

    10k GitHub starsUsed in 9 repos~2.6k tokens
    DevelopmentAuto-check passed
  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Moves a package from another TryGhost repository into Ghost as an internal workspace package while keeping its Git history, with checkpoints for the steps that need an administrator.

    55k GitHub stars~3.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Git Branch Naming

    makeplane/plane

    Names a new Git branch with a type prefix, the lowercased work item ID and a short kebab-case description, so the ID can be extracted later from the branch name.

    60k GitHub stars~594 tokensUpdated yesterday
    DevelopmentAuto-check passed

More from tailcallhq/forgecode

All 14 skills in this repo
  • Forge CLI Debug Workflow

    tailcallhq/forgecode

    Gives a systematic process for debugging the forge CLI: build in debug mode, check the latest help output, test with the non-interactive -p flag, and clone conversations before reproducing bugs.

    7.6k GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed
  • FIXME Resolver

    tailcallhq/forgecode

    Finds every FIXME comment in a codebase, groups related ones across files into one task, implements the work they describe and removes the comments once it is done.

    7.6k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Reasoning Serialization Tests

    tailcallhq/forgecode

    Checks that ReasoningConfig fields are serialized into the right provider-specific JSON for OpenRouter, Anthropic, GitHub Copilot and Codex requests.

    7.6k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Implementation Plan Creator

    tailcallhq/forgecode

    Writes a structured Markdown implementation plan with checkbox tasks, verification criteria and risks, then checks it with a validation script; no code changes.

    7.6k GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Release Notes Writer

    tailcallhq/forgecode

    Pulls a GitHub release and every linked pull request, then writes polished, factual release notes from the combined set of changes.

    7.6k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Skill Creation Guide

    tailcallhq/forgecode

    Guidance for creating and updating agent skills: what skills provide, keeping context lean, choosing how specific to be, and how SKILL.md and bundled resources are laid out.

    7.6k GitHub starsUsed in 1 repo~4.6k tokens
    Auto-check passed

Works with

Categories

Questions about Git Merge Conflict Resolver

What does Git Merge Conflict Resolver do?

Resolves Git merge conflicts with a plan-first workflow that keeps both sides' intent, regenerates lock files and backs up deleted-but-modified files. The skill works plan first. It assesses conflicts with git status, sorts them into groups (both modified, deleted-modified, generated files, tests, imports and configuration, binary), writes a structured Merge Resolution Plan and waits for your approval before changing anything.

When should I use Git Merge Conflict Resolver?

Git Merge Conflict Resolver fits situations like: merging a branch that produced conflicts in several files; resolving lock file conflicts by regenerating them; handling files deleted on one branch and modified on the other.

How do I install Git Merge Conflict Resolver in Claude Code?

Run `npx skills add tailcallhq/forgecode --skill resolve-conflicts -a claude-code`. Or copy the skill folder (.forge/skills/resolve-conflicts in tailcallhq/forgecode) into .claude/skills/resolve-conflicts in your project. Claude Code loads it when a task matches its description.

How do I install Git Merge Conflict Resolver in Codex?

Run `npx skills add tailcallhq/forgecode --skill resolve-conflicts -a codex`. Or copy the skill folder (.forge/skills/resolve-conflicts in tailcallhq/forgecode) into .agents/skills/resolve-conflicts in your project. Codex loads it when a task matches its description.

Can I use Git Merge Conflict Resolver in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tailcallhq/forgecode --skill resolve-conflicts -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/resolve-conflicts, .gemini/skills/resolve-conflicts, .github/skills/resolve-conflicts and .opencode/skills/resolve-conflicts in your project.

What does Git Merge Conflict Resolver need to run?

Going by SKILL.md and its folder, Git Merge Conflict Resolver needs a shell for the scripts in its folder and the command-line tools its instructions call (git, cargo, npm, yarn, bundle and poetry). Our summary lists: Git; Bash, for the helper scripts.

Does Git Merge Conflict Resolver access the network?

SKILL.md contains no URLs. Its commands use git and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Git Merge Conflict Resolver safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Git Merge Conflict Resolver use?

Git Merge Conflict Resolver is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Git Merge Conflict Resolver use?

About 4.5k tokens (SKILL.md is roughly 18k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.3k tokens, read only when the agent opens those files.

What are the alternatives to Git Merge Conflict Resolver?

Skills that share tags, products or a category with Git Merge Conflict Resolver: Finishing a Development Branch (obra/superpowers, 296k stars), Code Design Rationale Investigator (cursor/plugins, 10k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars) and Migrate Internal Package into Ghost (TryGhost/Ghost, 55k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Git Merge Conflict Resolver?

tailcallhq (a GitHub organization) maintains it in tailcallhq/forgecode, which has 7,642 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 7, 2026.

Source: tailcallhq/forgecode on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.