data-engineering-medallion-pipeline

Builds an ELT data pipeline with MinIO, Airbyte, PostgreSQL, DBT, and Airflow using medallion architecture.

5|1|Updated May 16, 2026
One-click install
npx skills add https://github.com/reason-machines/data-skills --skill data-engineering-medallion-pipeline-reason-machines
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: data-engineering-medallion-pipeline
Source: https://github.com/reason-machines/data-skills/tree/main/skills/data-engineering-medallion-pipeline
Command: npx skills add https://github.com/reason-machines/data-skills --skill data-engineering-medallion-pipeline-reason-machines

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires minio, pandas.

What problem does it solve? Setting up a modern data engineering stack from scratch requires wiring together storage, ingestion, transformation, orchestration, and monitoring tools, which is error-prone and time-consuming. This Skill guides AI agents through deploying and operating a complete medallion architecture pipeline (Bronze/Silver/Gold) with Docker Compose. ## Core Features & Use Cases - End-to-End Pipeline Setup: Deploy MinIO, Airbyte, PostgreSQL, DBT, Airflow, Prometheus, and Grafana with Makefile commands and Docker Compose. - Medallion Layer Modeling: Create DBT models for Bronze (raw JSONB extraction), Silver (cleaned and validated), and Gold (business metrics) layers with tests and SCD Type 2 snapshots. - Airflow Orchestration: Author DAGs that trigger Airbyte syncs, run DBT models per layer, and validate ingestion results. - Use Case: A data engineer needs a local lakehouse stack to prototype an ELT pipeline; the agent clones the repo, runs make setup and make start, configures the Airbyte connection, and builds DBT models across all three layers. ## Quick Start Ask the agent to set up a medallion architecture data pipeline locally with MinIO, Airbyte, PostgreSQL, DBT, and Airflow using Docker Compose.

Frequently Asked Questions about data-engineering-medallion-pipeline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a medallion architecture data pipeline locally?▼

Clone the repository, run make setup to create the .env file and directories, then run make start to launch all Docker services. Verify container health with make status and access Airflow, Airbyte, MinIO, and Grafana through their local web interfaces.

How do I create DBT bronze, silver, and gold layer models?▼

Bronze models extract typed columns from Airbyte's raw JSONB data as views, Silver models clean, cast, and deduplicate records as tables, and Gold models aggregate business metrics. Run all layers with make dbt-run and validate them with make dbt-test.

How do I orchestrate DBT models with Airflow DAGs?▼

Create DAGs that use BashOperator to run dbt run and dbt test commands scoped to each layer, such as dbt run --select silver.*. The bronze DAG uses AirbyteTriggerSyncOperator to start ingestion before validating row counts in PostgreSQL.

Does Airbyte work with MinIO as a data source?▼

Yes, Airbyte connects to MinIO through its S3 source connector by pointing the endpoint to http://minio:9000 with your MinIO credentials and bucket name. Pair it with a PostgreSQL destination using full refresh overwrite sync mode.

Why is my Airflow DAG not appearing in the UI?▼

Check for import errors with airflow dags list-import-errors inside the webserver container and validate the file syntax with python -m py_compile. DAG parsing failures from syntax errors or missing imports prevent registration.

How do I implement data quality tests in DBT?▼

Define schema tests in schema.yml such as unique, not_null, relationships, and accepted_values on model columns, and write custom singular tests as SQL queries in the tests directory. Run everything with make dbt-test and use --store-failures to inspect failing records.