AIniverse Get the App

Merge Conflict Resolver

Coding by loops! by elorm

Rebase or merge target branch, resolve conflicts file by file, and loop until the branch is current and tests pass.

Prompt

Step 1 — Update branch
Fetch latest main and attempt rebase or merge.

Check: `git fetch origin && git rebase origin/main`

Step 2 — Resolve conflicts
For each conflict, read both sides, preserve intent, and resolve with minimal changes.

Step 3 — Verify
Run tests after each resolution batch.

Check: `npm test`

Step 4 — Repeat until done
Repeat the steps above until: Rebase complete with no conflicts and tests passing

Check with: `git rebase --continue 2>/dev/null; npm test`

Stop after 8 iterations and report what is blocking.
Platforms
CLAUDE

Use this prompt in AIniverse

Tap to copy, run it on ChatGPT / Claude / Gemini, save to your stack, or remix.

Open in App

More Coding prompts

Independent Verifier Pass

When implementation claims done, a separate verifier pass runs build, lint, and tests with no access to the implement...

API Contract Until Match

Loop until API responses match the OpenAPI or JSON Schema contract — catch drift between docs and implementation.

De-Sloppify Pass

After implementation, run a cleanup pass: remove debug code, tighten naming, delete dead branches, and align with pro...

Post-Merge Regression Guard

Hook that runs smoke tests after git merge or rebase to catch integration regressions immediately.