agentleFS
stevemarksavastevemarksava/superteam/skills/fabric-medallion/SKILL.md

fabric-medallion

Skill1 starsChanged 2 months agoMITView on GitHub

Bronze/silver/gold medallion architecture on Microsoft Fabric — layered zones, quality gates, promotion policy, data contracts.

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:

    Every gold table has a data contract in Git before it is consumed downstream

    line 34

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

/fabric-medallion — Medallion Architecture on Fabric

Medallion is the standard Fabric OneLake data pattern: raw at bronze, cleansed at silver, business-ready at gold. Each layer has explicit quality gates and promotion rules. This skill produces the zone definition and the contracts between them.

When to invoke

  • Kick-off of a Fabric project where raw source data needs a durable layout
  • Atlas is designing a lakehouse before ingestion begins
  • Bob is architecting analytics that will consume multiple domains
  • A downstream consumer (Power BI, notebook, ML model) needs a stable business-ready table

Steps

  1. Define the bronze zone (raw). Land source data as-is — original schema, original casing, original nulls. Delta Lake format. Partition by ingestion date. Table naming: bronze_<source>_<entity>. No transformation beyond append.
  2. Define the silver zone (cleansed). Deduplicate, enforce types, resolve reference codes, apply late-arriving-data policy (SCD-1 or SCD-2 per entity). Table naming: silver_<domain>_<entity>. Silver is queryable by analysts but not yet aggregated for business logic.
  3. Define the gold zone (business-ready). Star-schema facts and dimensions, aggregations, business-owned KPI logic. Table naming: gold_<subject_area>_<fact_or_dim>. Gold is what Power BI semantic models point at.
  4. Promotion policy. Explicitly state: what triggers bronze → silver (schedule + data-arrival), silver → gold (source freshness + validation), and rollback rules. Never let gold reference silver mid-pipeline without a lock.
  5. Quality gates. Between each layer: schema validation, null-rate thresholds, referential integrity checks, row-count sanity, freshness SLA. Fabric Data Quality (or Great Expectations if custom) — verify current tool at author time. Failed gate blocks promotion.
  6. Data contracts. For each gold table, publish a contract: column names, types, nullability, freshness SLA, owner, upstream lineage. Contract lives in Git alongside the pipeline code.

Deliverable format

  • medallion.md — zone definitions with naming conventions and partitioning
  • contracts/<table>.yaml — one per gold table, with schema and SLA
  • Fabric pipeline YAML or notebook that enforces promotion rules
  • Dashboard link (Fabric Monitoring Hub) showing gate pass/fail per run

Non-negotiables

  • Bronze is immutable — never mutate landed data, only append
  • Gold never reads from bronze directly — always through silver
  • Every gold table has a data contract in Git before it is consumed downstream
  • Quality gate failure blocks promotion — no manual override without a decision log entry

References

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.