agentleFS
June74June74/agentic-workflow/skills/merge-guard/SKILL.md

merge-guard

Skill0 starsChanged 3 months agoMITView on GitHub

Use at the convergence step of any convene, before accepting a merged or synthesized idea. Enforces that a merge must beat every input on a named criterion, otherwise a single draft must be picked as-is.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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:

    Not a new criterion invented to justify the merge.

    line 21
  2. Distinctive:

    If you cannot complete that sentence for every input draft, the merge is invalid.

    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 guard

Consensus-by-merge is the classic failure of multi-agent deliberation. Three sharp drafts go in, and what comes out is the average — technically containing everyone's ideas, committed to none of them, and worse than any single input. It feels collaborative, which is why it survives review.

The test

A merge is valid only if you can complete this sentence:

The merged design beats draft A, draft B, and draft C on <named criterion>, because <specific reason>.

The criterion must be one of the criteria named in the brief before drafting. Not a new criterion invented to justify the merge.

If you cannot complete that sentence for every input draft, the merge is invalid. Pick one draft as-is and record why.

Invalid merges

These are the shapes to reject:

  • "Takes the best of both" — with no criterion on which the combination wins. This is the average wearing a compliment.
  • Additive scope — merged design does A's thing and B's thing. Usually this is two designs shipped together, not one better design.
  • Conflict-avoidant — the merge exists because rejecting a draft felt harsh. Picking one draft is not a judgment on its author, and its author does not know which model wrote the others anyway.
  • Criterion swap — A wins on latency, B wins on simplicity, so the merge is declared to win on "overall." "Overall" is not a criterion.

Valid merges

A real merge usually looks like: A's structure with B's failure handling, where B's failure handling closes a hole A has, on the reliability criterion that was named up front. One draft is the base; another contributes a specific, nameable improvement.

Recording

Whichever way it goes, the Decision Record states:

  • Which draft won, or what the merge was
  • The criterion that decided it
  • What was rejected and why — this is the part people skip and the part that is worth reading later

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.