agentleFS
vaquarkhanvaquarkhan/data-engineering-agent-skills/skills/master-data-and-entity-resolution/SKILL.md

master-data-and-entity-resolution

Skill49 starsChanged 6 months agoMITView on GitHub

Guides agents through master data and entity resolution workflows. Use when matching identities across systems, defining canonical entities, resolving duplicates, or building golden records for shared downstream use.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    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 this skill when the data problem is "who or what is this really?" across multiple systems.

    line 10
  2. Distinctive:

    Do not collapse entity resolution into ad hoc joins if the result becomes a shared dependency.

    line 19
  3. Distinctive:

    no explicit canonical entity definition exists

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

Master Data And Entity Resolution

Overview

Use this skill when the data problem is "who or what is this really?" across multiple systems. It helps agents define canonical entities, matching logic, survivorship rules, and downstream-safe resolution behavior.

When to Use

  • building customer, product, or account golden records
  • resolving duplicate identities across systems
  • defining master data domains
  • publishing canonical reference datasets

Do not collapse entity resolution into ad hoc joins if the result becomes a shared dependency.

Workflow

  1. Define the entity contract. Include:
    • canonical entity type
    • contributing systems
    • primary identifiers
    • confidence or match logic
    • ownership
  2. Choose the matching strategy. Common strategies:
    • exact key match
    • deterministic rule-based match
    • probabilistic or scored match
  3. Define survivorship rules. Decide which system wins for each attribute and under what conditions.
  4. Track unresolved and ambiguous cases.
  5. Publish master data with clear confidence and lineage context.

Common Rationalizations

RationalizationReality
"We can just use email as the unique customer key."Real systems often contain shared, missing, or changing identifiers.
"The golden record is obvious once matched."Attribute-level survivorship and conflict handling still need explicit rules.
"Ambiguous matches are edge cases."They become painful quickly when downstream systems treat them as truth.

Red Flags

  • no explicit canonical entity definition exists
  • survivorship logic is implicit in SQL ordering
  • unresolved cases are silently dropped or forced
  • downstream consumers are not told match confidence assumptions

Verification

  • Canonical entity and source systems are explicit
  • Match and survivorship rules are documented
  • Ambiguous cases have a defined handling path
  • Published master data includes lineage or confidence context where needed

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.