Medallion architecture designer
Skill POWR-DATA/mtx-skills/skills/data/medallion-architecture-designer
Design a bronze/silver/gold lakehouse data layer architectureFrom its SKILL.md
npx -y skills add POWR-DATA/mtx-skills --skill medallion-architecture-designerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
5.5 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it
Medallion Architecture Designer
Purpose
Design a practical bronze/silver/gold data layer approach for lakehouse-style data pipelines. The output defines how data should be structured, transformed, and validated across ingestion, standardisation, and consumption layers.
When to use
Use this skill when planning ingestion and transformation of data across structured lakehouse layers, regardless of whether the organisation uses the terms bronze/silver/gold, raw/staged/curated, or another naming pattern.
Apply this skill when designing a new data pipeline, onboarding a new source system, or reviewing an existing layered data architecture.
Inputs expected
Provide as many of the following as available. Partial inputs are acceptable — the AI should identify gaps and ask structured follow-up questions only where needed.
- Source system name and type
- Source data format (structured, semi-structured, unstructured)
- Ingestion method (batch, CDC, API, streaming, file drop)
- Target consumers (BI tool, ML platform, downstream API, etc.)
- Transformation requirements
- Expected data volume
- Refresh frequency
- History and retention requirements
- Merge or upsert requirements
- Data quality expectations
Guiding principles
- Bronze should preserve source-aligned data with minimal transformation. Capture it as received.
- Silver should standardise, clean, validate, deduplicate, and conform data to consistent standards.
- Gold should serve business-ready consumption: reporting, analytics, or ML needs.
- Not every use case needs all three layers. Apply only the layers that add value.
- Avoid transforming too much too early — over-processing at bronze reduces replayability.
- Preserve lineage and traceability across all layers.
- Make merge strategy explicit: full load, incremental, upsert, or CDC-based merge.
- Capture metadata: load timestamp, source file or API run ID, batch ID, record hash, effective dates, and source system identifiers where relevant.
- Separate technical quality checks (nulls, types, duplicates) from business rules (valid codes, referential integrity).
- Design for replayability and idempotency — rerunning a pipeline should produce the same result.
- Make retention and reprocessing assumptions explicit.
- Prefer simple layer designs unless requirements justify additional complexity.
Process
- Summarise the source system and ingestion scenario.
- Identify the target consumers and their requirements.
- Map the use case to the appropriate layers (bronze, silver, gold, or a subset).
- Design the bronze layer: schema, format, partitioning, metadata, and load approach.
- Design the silver layer: transformations, cleaning, validation rules, merge strategy.
- Design the gold layer: output structure, aggregation level, and consumption format.
- Define the metadata strategy across all layers.
- Define the merge and change handling strategy.
- Define data quality checks by layer.
- Describe the end-to-end pipeline flow.
- Note operational considerations: scheduling, monitoring, failure handling, reprocessing.
- Capture open questions and risks.
Output format
- Architecture summary — brief overview of the proposed approach
- Source overview — source system, format, volume, and ingestion method
- Layer mapping — which layers are used and why
- Bronze design — format, schema approach, partitioning, metadata, load strategy
- Silver design — transformations, cleaning, validation, deduplication, merge strategy
- Gold design — output structure, aggregation, consumption format
- Metadata strategy — what metadata is captured and where
- Merge and change handling strategy — full load, incremental, upsert, or CDC approach
- Data quality checks by layer — technical and business rule checks per layer
- Pipeline flow — end-to-end data flow summary
- Operational considerations — scheduling, monitoring, failure handling, reprocessing
- Open questions — unresolved design decisions
- Risks and trade-offs — known risks and design compromises
Quality checklist
- All three layers are defined or explicitly excluded with justification
- Merge strategy is stated
- Metadata fields are defined
- Data quality checks are separated by layer
- Replayability and idempotency are considered
- Retention requirements are captured
- Lineage is preserved across layers
- Operational and failure recovery considerations are included
Avoid
- Applying heavy transformation at the bronze layer
- Silently assuming full load when incremental or CDC ingestion is more appropriate
- Merging business logic into technical quality checks
- Designing a gold layer that cannot be easily reprocessed from silver
- Over-engineering the layer design for simple use cases
- Assuming a specific platform or tool unless one has been specified
Example usage
"Apply the Medallion Architecture Designer skill to design a lakehouse architecture for ingesting daily sales transaction files from a point-of-sale system. The target is a cloud lakehouse. Consumers include a BI reporting layer and a data science team."
Source: This skill is sourced from the Matrix Skills library. Learn more at the AI Agent Skills Library.
What ships with it: 3 files
10.9 KB alongside SKILL.md
- example-input.md1.4 KB
- example-output.md7.8 KB
- README.md1.7 KB