claude-code-power-config: Skill for Claude Code

.claude/skills/resolve-merge-conflicts/SKILL.md

resolve-merge-conflicts is a skill for Claude Code from AlexisBalayre/claude-code-power-config. It costs 33 tokens per session (427 once invoked), scanned A, original, MIT.

A procedure for resolving conflicts during a Git merge, rebase, or cherry-pick, when two sets of changes affect the same files. It emphasizes checking project history and preserving the intent of both sides.

In plain words
What is it for?
Use it when Git reports unresolved conflicts during an integration operation. It helps inspect the operation, understand each change, resolve source files, regenerate generated artifacts, and verify the result.
Why use it?
It helps avoid choosing a conflict resolution by guesswork. It also prevents manually editing generated files when those files should instead be recreated from their source definitions.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is AlexisBalayre/claude-code-power-config's own configuration. It tells Claude Code how to work on claude-code-power-config itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-power-config configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AlexisBalayre/claude-code-power-config. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AlexisBalayre/claude-code-power-config/main/.claude/skills/resolve-merge-conflicts/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/AlexisBalayre/claude-code-power-config

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for resolve-merge-conflicts

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexisbalayre/claude-code-power-config/resolve-merge-conflicts/github.svg)](https://agentmods.dev/skills/alexisbalayre/claude-code-power-config/resolve-merge-conflicts)
Your own site
<a href="https://agentmods.dev/skills/alexisbalayre/claude-code-power-config/resolve-merge-conflicts"><img src="https://agentmods.dev/badge/skills/alexisbalayre/claude-code-power-config/resolve-merge-conflicts/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for resolve-merge-conflicts

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexisbalayre/claude-code-power-config/resolve-merge-conflicts"><img src="https://agentmods.dev/badge/skills/alexisbalayre/claude-code-power-config/resolve-merge-conflicts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 427 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.00427
Opus 5 $0.00016 $0.00214
Sonnet 5 $0.00007 $0.00085
Haiku 4.5 $0.00003 $0.00043

Measured 11d ago against content hash ae91080e7168, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

resolve-merge-conflicts scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/resolve-merge-conflicts/SKILL.md · 22 lines

What it actually says

Resolve Merge Conflicts

  1. See the current state of the merge/rebase: git status, the history of both sides, and the conflicting files.

  2. Find the primary sources for each conflict. Understand deeply why each change was made and what the original intent was. Read the commit messages and the PRs (gh pr view); PR bodies carry Closes PROJ-XXXX, so fetch the tracker issue when the intent is still unclear.

  3. Resolve each hunk. Preserve both intents where possible. Where incompatible, pick the one matching the merge's stated goal and note the trade-off. Do not invent new behaviour. Always resolve; never --abort.

  4. Regenerate, don't hand-merge. Conflict markers in generated files are never resolved by hand:

    • pnpm-lock.yaml: take either side wholesale, then re-run pnpm install to regenerate.
    • Drizzle migrations and packages/acme-db/src/migrations/meta/_journal.json: drop this branch's generated migration, re-run pnpm db:generate against the merged schema, then biome check --write the _journal.
    • Any other generated artifact (schema diagrams, generated API references, gRPC stubs): re-run its generator against the merged sources; never edit the output.
  5. Run the tests for the affected packages and fix anything the merge broke (formatting and typechecking run automatically via the Stop hook). The pre-commit hook lints, typechecks, and tests the whole repo; failures that already exist on the base branch are not the merge's fault, and --no-verify is acceptable only for those.

  6. Finish the merge/rebase. Stage everything and commit. If rebasing, continue (git rebase --continue) until all commits are rebased.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 22 lines · 33 tokens per session scan A ae91080e7168

Subscribe to this mod's changes

resolve-merge-conflicts is a skill published in the GitHub repository AlexisBalayre/claude-code-power-config (2 stars, last pushed 1mo ago), licensed MIT. It adds 33 tokens to every session and 427 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

security-pipeline

Use when security verification is needed - pre-commit security checks, vulnerability scanning, STRIDE threat analysis. Integrates with /handoff-verify --security and /commit-push-pr. CWE Top 25 based.

sangrokjung/claude-forge · 48 tokens

create-pr

Create evidence-backed pull requests to the GitHub main branch with strict preflight, quality, and security gates. Use when users ask to create/submit/open/update a PR to main (including private repos), decide draft vs ready state, and provide reviewer-ready context for team review.

johnqtcg/awesome-skills · 59 tokens

git-commit

Safely create a git commit by validating repository state, staging intended changes, scanning for secrets/conflicts, generating a Conventional Commits message (repository convention first, else an English Angular default) from the staged diff, and committing without amend.

johnqtcg/awesome-skills · 52 tokens

pr-triage

4-phase PR backlog management with audit, deep code review, validated comments, and optional worktree setup. Use when triaging pull requests, catching up on pending code reviews, or managing a backlog of open PRs. Args: 'all' to review all, PR numbers to focus (e.g. '42 57'), 'en'/'fr' for language, no arg = audit…

FlorianBruniaux/claude-code-plugins · 86 tokens

land-and-deploy

Merge PR, wait for CI, verify deploy, run canary. The complete landing pipeline.

FlorianBruniaux/claude-code-plugins · 24 tokens

git-ai-archaeology

Analyze AI config evolution in a git repo. Use when mapping AI adoption history, finding when configs were first introduced, charting commit velocity by month, or identifying maturity phases in a project's AI tooling.

FlorianBruniaux/claude-code-plugins · 47 tokens