Skip to content
reason-machines avatar

Retail Etl Pipeline Medallion

End-to-end retail ETL pipeline implementing Bronze, Silver, and Gold medallion layers in SQL Server with PySpark.

CCM score
44 of 100
skills.sh installs
1.3K
GitHub stars
5
last updated
Jul 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers raw CSV ingestion, cleansing, and business-ready aggregation for sales, inventory, and product data
  • Includes 13 ordered SQL scripts (00_create_database_and_schemas.sql through 12_rebuild_inventory_pipeline_final_fix.sql) plus optional PySpark Silver and Gold transformations
  • Calculates inventory shrinkage and sales KPIs, with audit columns _loaded_at and _source_file on Bronze tables
  • Designed for retail teams consolidating multi-branch sales and stock data into a single source for BI tools

Install

$ npx -y skills add reason-machines/data-skills --skill retail-etl-pipeline-medallion -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Retail ETL Pipeline - Medallion Architecture Skill

Skill by ara.so — Data Skills collection

Overview

The Retail ETL Pipeline project implements a complete data engineering solution for retail operations using the Medallion Architecture pattern (Bronze → Silver → Gold layers). It handles complex retail scenarios including:

  • Inventory shrinkage resolution
  • Recipe conversions for meat/poultry products
  • Supplier rebate tier tracking
  • Multi-branch sales consolidation
  • Stock level management across locations

The pipeline processes raw CSV data from CRM/ERP systems through three progressive quality layers, ultimately delivering a "Single Version of Truth" for business intelligence.

Architecture Layers

Bronze Layer (Raw Ingestion)

  • Raw data ingestion from CSV files
  • Minimal transformation, preserving source format
  • Audit columns: _loaded_at, _source_file

Silver Layer (Cleaned & Standardized)

  • Data type enforcement
  • Deduplication
  • Standardization (dates, currencies, product codes)
  • Business rule validation

Details

Repository
github.com/reason-machines/data-skills
Categories
Data Science & Analytics, Databases
First seen
Jul 14, 2026

Questions

What does the retail-etl-pipeline-medallion skill do?

It guides building an end-to-end retail ETL pipeline using PySpark, SQL Server and Medallion Architecture with Bronze, Silver and Gold layers. It covers inventory shrinkage, recipe conversions for meat and poultry, supplier rebate tiers, multi-branch sales consolidation and stock levels.

How do I install the retail-etl-pipeline-medallion skill?

Run npx -y skills add reason-machines/data-skills --skill retail-etl-pipeline-medallion -y in your project. The skill then gives your agent the medallion pipeline patterns, including SQL scripts for each layer.

What does the skill need to run the pipeline?

The pipeline expects Docker with Docker Compose, SQL Server 2019 or later, Python 3.8 or later and PySpark 3.x. Apache Airflow is optional for orchestration.

Which skills lead the Data Science and Analytics category, and where does this one stand?

This skill sits in the Data Science and Analytics category on Claude Marketplaces, alongside azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation. It differs from those by focusing on a retail-specific Bronze, Silver and Gold warehouse build.

More from reason-machines/data-skills

All 60

Similar to Retail Etl Pipeline Medallion

More Data Science & Analytics