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.5 $0.00013 $0.00171
Sonnet 5.5 $0.00007 $0.00085
Haiku 4.5 $0.00003 $0.00043

Measured 2mo ago against content hash ae91080e7168, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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.0001 per session on Opus 5.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.