/agent-toolkit-forge:fix-merge-conflictsfrom agent-toolkit-forge
Resolve merge conflicts non-interactively, validate build and tests, and finalize conflict resolution.
Ships in agent-toolkit-forge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Resolve merge conflicts non-interactively and return the branch to a buildable state.
git status shows Unmerged paths or CONFLICT, or the branch reports merge conflicts against main.git status works).git merge main, git pull --rebase, gh pr update-branch).npm/yarn/pnpm/bun/uv/cargo/etc.) and git.Detect conflicts. Run git status --porcelain and scan for UU/AA/DD/U* markers. Confirm with grep -r "<<<<<<< " --include="*.md" --include="*.ts" --include="*.js" --include="*.py" --include="*.v" --include="*.yaml" --include="*.json" -l (and git diff --check for leftover markers). List every conflicting file.
Resolve each conflict with minimal, correctness-first edits. Open each file, read the <<<<<<< / ======= / >>>>>>> hunks, and choose the merge that compiles and preserves public behavior. Prefer preserving both sides when safe; otherwise pick the variant that keeps the build green and does not change external API semantics. Keep edits readable — no broad refactors while resolving.
Regenerate lockfiles via the package manager — do not hand-edit. If a lockfile is conflicted (package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb, Cargo.lock, uv.lock, go.sum, Gemfile.lock, etc.), discard conflict markers and regenerate: npm install --package-lock-only, yarn install, pnpm install, bun install, cargo update --workspace, uv lock, or the repo's documented install command. Confirm the manager that owns the file (check package.json packageManager, Makefile, or README.md).
Validate. Run compile, lint, and the most relevant tests for the touched areas. At minimum:
git diff --check # no leftover markers / whitespace issues
# then per-stack, e.g.:
# npm run build / cargo check / v vet / make build
# npm run lint / ruff check . / ./scripts/validate-skills.vsh
# npm test -- <changed packages> / pytest -q <changed modules>
Re-run until the working tree is clean of markers and the build succeeds.
Stage and finalize. git add <resolved files> then git status to confirm no remaining Unmerged paths. If a rebase/merge was in progress, run git rebase --continue or git commit as appropriate (no git push or git tag from this skill — delegate to github-cli-workflow).
Summarize decisions. Report: files resolved, notable resolution choices (why each hunk was kept/merged), lockfile regeneration performed, and build/test outcome with next action.
<<<<<<<, =======, >>>>>>>) in any file.github-cli-workflow after user confirmation.github-cli-workflow)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
10 skills in this plugin
/gh-address-commentsTriage and address open GitHub PR review and conversation comments using the gh CLI. Use when the user wants to "address PR comments", "resolve review threads", or "respond to reviewers" on the current branch's pull request./gh-contribution-plannerDaily GitHub contribution planner — analyzes the gh-logged-in user's non-archived repos (owned + forks) and recent contributions, produces a prioritized plan, halts for approval, then dispatches parallel sub-agents to execute approved items via existing PR/CI/review skills./gh-fix-ciDiagnose failing GitHub Actions checks on a PR via gh, summarize the failure context, propose a plan, and only implement after explicit user approval. External CI providers (Buildkite, CircleCI, etc.) are reported by URL only./github-cli-workflowHOW — GitHub CLI (gh): push branch, create draft PR with title/body from template or file; fallback untracked PR_DESCRIPTION_*.md. Use when origin is GitHub./gitlab-cli-workflowHOW — GitLab CLI (glab): push branch, create draft MR with title/body; fallback untracked markdown. Use when origin is GitLab./pr-shipShip and babysit pull requests in conflict-first order (conflicts, review threads, CI) with skeptical comment verification, push-before-reply SHA citations, dual GitHub check gates, and Goal v2 policy checks.npx claudepluginhub ulises-jeremias/agent-toolkit --plugin agent-toolkit-forge2 plugins in one repository ship this exact skill · first indexed Aug 23, 2026
Other plugins' skills for the same job