
Retail Etl Pipeline Medallion
This builds a three-tier medallion architecture ETL pipeline for retail data using PySpark and SQL Server. You get Bronze for raw CSV ingestion, Silver for cleansing and deduplication, and Gold for business metrics like inventory shrinkage and sales aggregations. The included SQL scripts handle the full flow from bulk inserts through stored procedures that calculate things like expected stock versus actual and supplier rebate tiers. It's overkill for small shops but solid if you're consolidating multi-branch inventory and sales data and need proper data quality layers. The shrinkage calculation logic is particularly well thought out, joining stock levels against sales to find discrepancies.
- skills.sh installs
- 1.3K
- GitHub stars
- 2
- last updated
- Jul 14, 2026
Install
$ npx -y skills add aradotso/data-skills --skill retail-etl-pipeline-medallion --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/aradotso/data-skills
- Categories
- DevOps & CI/CD, Automation & Workflows, Sales & Marketing
- First seen
- Jul 14, 2026
More from aradotso/data-skills
All 60- Terraform Data Engineering Iac1.3K
- Terraform Data Engineering Infrastructure1.3K
- Terraform Iac Data Engineering1.3K
- Harvard Art Museums Data Engineering Pipeline1.2K
- Harvard Artifacts Etl Pipeline1.2K
- Snowflake Dbt Airbnb Analytics1.2K
- Data Engineering Patterns Fabric Databricks1.1K
- Game Analytics Platform Computer Vision1.1K
- Infrastructure Cicd Data Engineering1.1K
- Harvard Artifacts Collection Analytics App907
- Harvard Artifacts Etl Streamlit833
- Harvard Art Museum Data Engineering831
- Data Analytics Skills Claude735
- Car Sales Data Engineering Analytics713
- Google Cloud Data Engineering Hub662
- Harvard Art Museums Data Engineering Analytics628
- Harvard Artifacts Data Engineering Streamlit623
- Coinmarketcap Diamonds Premium Analytics608
- Harvard Art Museums Data Engineering536
- Apache Airflow Orchestration1.9K
- Datatalks Data Engineering Zoomcamp1.9K
- Llm Public Opinion Analytics Assistant1.9K
- Roblox Mm2 Analytics Toolkit1.9K
- Mm2 Analytics Dashboard Roblox1.8K