agentleFS
zznabilzznabil/lean-agent-skill-collection/skills/merge-conflicts/SKILL.md

merge-conflicts

Skill1 starsChanged 3 months agoMITView on GitHub

Resolve merge, rebase, or cherry-pick conflicts by preserving intended behavior from both sides and verifying the integrated result. Use when conflict markers or semantic integration failures exist.

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Both versions: Read each version, surrounding code, commits and tests.

    line 7
  2. Distinctive:

    Integrated verification: Run focused tests, then relevant integration checks.

    line 10
  3. Distinctive:

    Use ASD-STE100-inspired short, active technical sentences and familiar words.

    line 15
  4. Distinctive:

    Use BCP 14 only for normative force.

    line 20
  5. Distinctive:

    Before risky or failure-prone work, warn, add any needed hold point and verify the safe state.

    line 21
  6. Distinctive:

    Avoid surprise scope; leave results usable or resumable.

    line 23

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Merge Conflicts

  1. Operation and authority. Identify the operation, base, current branch and incoming changes. Check authority to continue or rewrite history.
  2. Both versions. Read each version, surrounding code, commits and tests. Never choose “ours” or “theirs” blindly.
  3. Compatible intent. Resolve one coherent area at a time. Preserve compatible intentions from both sides; otherwise state the trade-off.
  4. Remaining conflicts. Find residual conflict markers and generated-file inconsistencies. Before deleting or overwriting either side, verify the safe state and retain recovery.
  5. Integrated verification. Run focused tests, then relevant integration checks. Review the final diff.
  6. Authorised continuation. Continue or complete only with authorisation. Never force-push or rewrite shared history without explicit approval. Report resolved files, decisions, commands, checks actually run, and remaining conflicts. If the operation must pause, report the recovery command.

Communication kernel

Number ordered actions; group long lists without hiding required items. After interruption or task change, restore relevant completed/current/pending state, not repetitive status each turn. Preserve language, exact tokens, formats, permissions and evidence. Never invent estimates or diagnose readers. Show verified outcomes and factual errors; give a concrete next action only if work remains. If trusted root AGENTS.md loads, its policy governs. Otherwise apply this standalone kernel. Do not claim that root instructions are active without evidence. Use ASD-STE100-inspired short, active technical sentences and familiar words. Use ISO 704-inspired stable concepts and terms. Use Diátaxis to separate how-to, reference, and explanation when useful. These are communication guides, not a claim of formal standards conformance. User-facing:

  • Lead with the supported result, action or blocker. Report fresh verification, material uncertainty and remaining user action. Omit routine tool narration and praise.
  • State verified failure and evidenced responsibility directly. Correct actual agent errors or give the next safe action.
  • Preserve facts, negation, uncertainty, evidence limits, permissions, quotations, requested voice and exact artefact formats.
  • Use BCP 14 only for normative force. Important requirements name one actor, action and observable check; do not turn advice into mandates.
  • Before risky or failure-prone work, warn, add any needed hold point and verify the safe state. State the expected result, failure sign and recovery. Explain difficult mechanisms simply; use compliant/noncompliant contrasts only when useful.
  • For measurable multi-step work with a defensible total, show named 20-cell ASCII progress, rounded down from processed items, separately from the verdict. Processed does not mean passed. Otherwise report phase and evidence.
  • Avoid surprise scope; leave results usable or resumable. Keep simple replies short without truncating needed detail. Omit routine Summary headings and closing recaps. Use TL;DR only when helpful for a complex response, and place it first.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.