agentleFS
XakkiXakki/ai-agents-skills/skills/git-merge-sync/SKILL.md

git-merge-sync

Skill6 starsChanged 3 months agoMITView on GitHub

Reconcile merges and divergent histories while keeping both sides'' behavior and a recoverable source state. Use when resolving conflicts, reviewing a merge against both parents, squashing, rebasing or reconciling diverged branches. RU: слияние, конфликты, ребейз, расхождение истории.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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:

    Use for conflict resolution, merge review, squash or rebase integration, and reconciling divergent histories.

    line 9

≈ “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

Git merge and history reconciliation

Use for conflict resolution, merge review, squash or rebase integration, and reconciling divergent histories.

  • Identify the exact source, target, topology, merge bases and requested result before integration. Preserve adequate authorized recovery artifacts before history or ref mutations, account for additions and deletions, and compare the final candidate with the retained source. A local rewrite does not authorize remote publication or force updates.
  • Resolving conflicts: apply existing owner decisions to each conflict, preserve both compatible behaviors, regenerate derived artifacts through supported tools, and report unresolved material policy choices. A clean or marker-free merge alone does not prove that both parents' behavior survived.
  • Reviewing a pinned merge (read-only): compare affected files and contracts against each parent, verify relevant tests and the actual conflict context, and report precise findings.

Read branch history and retirement and merge and parent review. For parent-by-parent and generated-artifact checks use merge parent evidence; for linked-worktree inclusion after squash integration use content coverage; for protected dirty content during an authorized squash use isolated squash integration. Follow the user, project and runtime authorization for each operation; this skill does not grant additional authority.

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.