agentleFS
jaydubya818jaydubya818/MissionControl/skills/fix-merge-conflicts/SKILL.md

fix-merge-conflicts

Skill2 starsChanged 8 months agoMITView on GitHub

Use when a branch needs conflicts resolved and the merged result verified.

We split this skill into the rules it gives an agent

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

  • 2

    Common

    Most of the 9 edited versions we read keep these.

  • 4

    Distinctive

    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:

    Prefer preserving both sides when safe.

    line 25
  2. Distinctive:

    Run compile, lint, and relevant tests.

    line 27
  3. Common:

    Keep changes minimal and readable.

    line 32
  4. Common:

    Do not leave conflict markers in any file.

    line 33
  5. Distinctive:

    Avoid broad refactors while resolving conflicts.

    line 34
  6. Distinctive:

    Do not push or tag during conflict resolution.

    line 35

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “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

Fix merge conflicts

Trigger

Branch has unresolved merge conflicts and needs a reliable path to a buildable state.

Workflow

  1. Detect all conflicting files from git status and conflict markers.
  2. Resolve each conflict with minimal, correctness-first edits.
  3. Prefer preserving both sides when safe. Otherwise, choose the variant that compiles and keeps public behavior stable.
  4. Regenerate lockfiles with package manager tools instead of hand-editing.
  5. Run compile, lint, and relevant tests.
  6. Stage resolved files and summarize key decisions.

Guardrails

  • Keep changes minimal and readable.
  • Do not leave conflict markers in any file.
  • Avoid broad refactors while resolving conflicts.
  • Do not push or tag during conflict resolution.

Output

  • Files resolved
  • Notable resolution choices
  • Build/test outcome

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.

Reviews can't be read right now.

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.