delta-lake-and-medallion-architecture
Skill49 starsChanged 6 months agoMITView on GitHub
Guides agents through Delta Lake and medallion-style lakehouse design. Use when building or modifying bronze, silver, and gold layers, Delta Lake mutation patterns, streaming-to-batch lakehouse flows, or Databricks-centered serving architectures.
In this repository80 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/00-data-agent-core.mdcCursor rule
- .cursor/rules/10-spec-first.mdcCursor rule
- .cursor/rules/20-platform-preset-selector.mdcCursor rule
- .cursor/rules/30-quality-gates.mdcCursor rule
- airflow-and-workflow-orchestrationSkill
- apache-beam-unified-batch-and-streamSkill
- apache-hudi-lakehouseSkill
- api-and-saas-ingestion-patternsSkill
- avro-protobuf-json-schema-registrySkill
- bigquery-and-dataform-platform-engineeringSkill
- cdc-and-incremental-loadingSkill
- clickhouse-real-time-analyticsSkill
- data-catalog-and-discoverySkill
- data-contract-testing-with-schema-registrySkill
- data-lake-and-zone-architectureSkill
- data-mesh-and-domain-oriented-designSkill
- data-migration-and-platform-cutoverSkill
- data-observability-and-sla-managementSkill
- data-platform-ci-cd-and-release-managementSkill
- data-platform-disaster-recovery-and-business-continuitySkill
- data-platform-operating-model-and-service-ownershipSkill
- dataplex-and-bigquery-governanceSkill
- data-quality-and-contract-testingSkill
- data-quality-platforms-and-rule-managementSkill
- data-reconciliation-and-financial-controlsSkill
- data-resiliency-testing-and-failure-injectionSkill
- data-security-compliance-and-regulated-dataSkill
- data-sharing-and-publishing-contractsSkill
- data-specificationSkill
- dbt-and-analytics-engineeringSkill
- debezium-and-kafka-connect-cdcSkill
- duckdb-local-analytics-and-devSkill
- enterprise-etl-and-data-integration-modernizationSkill
- esg-and-sustainability-regulatory-reportingSkill
- etl-elt-and-modernization-strategySkill
- feature-store-and-ml-data-pipelinesSkill
- file-and-partner-feed-ingestionSkill
- glue-data-catalog-and-lake-formation-governanceSkill
- great-expectations-deequ-and-cualleeSkill
- incident-triage-and-pipeline-recoverySkill
- java-data-engineering-and-integration-servicesSkill
- kafka-resilience-and-schema-evolutionSkill
- lakefs-and-data-versioningSkill
- lakehouse-table-format-engineeringSkill
- lineage-pii-and-governanceSkill
- lower-environment-data-masking-and-obfuscationSkill
- mainframe-modernization-and-data-offloadSkill
- master-data-and-entity-resolutionSkill
- mcp-data-observability-integrationSkill
- microsoft-purview-and-azure-data-governanceSkill
- notebook-to-production-hardeningSkill
- openmetadata-datahub-and-openlineageSkill
- operational-datastore-selection-relational-and-nosqlSkill
- orchestration-and-backfillsSkill
- pipeline-planning-and-task-breakdownSkill
- privacy-retention-and-right-to-deleteSkill
- python-data-engineering-and-pipeline-packagingSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Use this skill when a Delta Lake-based lakehouse needs more than generic table-format guidance.
- Distinctive: line 19
Do not use medallion terminology as decoration if the layers do not carry distinct responsibilities.
- Distinctive: line 36
Keep bronze permissive and gold disciplined.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.
Files
Delta Lake And Medallion Architecture
Overview
Use this skill when a Delta Lake-based lakehouse needs more than generic table-format guidance. It helps agents design medallion-style layers, transactional update behavior, CDC merges, and publish-safe transformation paths for Delta-centric platforms.
When to Use
- designing
bronze,silver, andgoldlayering - implementing
Delta Lakemerges, upserts, or deletes - building
Databricks-centered batch and streaming lakehouse flows - deciding how raw landing data evolves into trusted publish outputs
Do not use medallion terminology as decoration if the layers do not carry distinct responsibilities.
Workflow
- Define the layer responsibilities.
Typical pattern:
- bronze: raw or lightly standardized landing
- silver: cleaned, conformed, contract-aware transformations
- gold: business-facing publish-ready outputs
- Define movement rules between layers.
Capture:
- validation requirements
- mutation behavior
- CDC merge strategy
- schema enforcement and evolution policy
- Keep bronze permissive and gold disciplined. Raw survival and publish trust need different operating rules.
- Coordinate batch and streaming writers carefully. Checkpoints, merges, and small-file behavior must support recovery and maintenance.
- Plan maintenance as part of the architecture.
Include:
- compaction
- retention
- optimization
- cleanup
Common Rationalizations
| Rationalization | Reality |
| "Bronze, silver, and gold are enough architecture by themselves." | Layer names without contracts and rules create confusion, not design clarity. |
| "We can merge everything directly into gold." | Business-facing layers need stronger validation and stability than raw ingestion paths. |
| "Delta transactions solve every operational problem." | You still need thoughtful layering, maintenance, and replay design. |
Red Flags
- bronze, silver, and gold have no explicit responsibilities
- gold tables are fed directly from unstable raw landing logic
- merge semantics are unclear for CDC or late data
- maintenance tasks such as compaction are ignored
Verification
- Each medallion layer has a distinct purpose and quality bar
- Movement, validation, and mutation rules between layers are explicit
- Streaming and batch interaction with Delta tables is operationally safe
- Maintenance and lifecycle behavior are part of the design
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
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.

