aradotso avatar

Retail Etl Medallion Pipeline

This builds a complete three-layer data warehouse for retail operations with all the messy real-world stuff: inventory shrinkage calculations, meat yield conversions for recipes, supplier rebate tiers, and multi-branch consolidation. It's TSQL stored procedures organized into bronze (raw CSV ingestion), silver (business rules and quality scoring), and gold (aggregated metrics like turnover ratios and reorder alerts) layers. You get the full pipeline from Docker Compose setup through each transformation stage, plus Power BI dashboards. Useful if you're building a retail analytics system from scratch and want a working reference implementation instead of just architectural diagrams. The procedures are verbose but show practical patterns for handling perishables, stock discrepancies, and branch-level reporting.

skills.sh installs
1.3K
GitHub stars
2
last updated
Jul 14, 2026

Install

$ npx -y skills add aradotso/data-skills --skill retail-etl-medallion-pipeline --agent claude-code

Installs into .claude/skills of the current project.

Files

Retail ETL Medallion Pipeline Skill

Skill by ara.so — Data Skills collection.

Overview

This project implements a production-grade Medallion Architecture ETL pipeline for retail/hypermarket data, handling complex business logic like inventory shrinkage, meat/poultry recipe conversions, supplier rebate tiers, and multi-branch sales consolidation. The architecture follows three data quality layers:

  • Bronze Layer: Raw data ingestion from CSV sources (sales, stock, products)
  • Silver Layer: Cleaned, standardized, and business-rule-applied data
  • Gold Layer: Aggregated, analytics-ready dimensional models

The pipeline processes:

  • Multi-branch sales transactions (Alex, Cairo, Giza)
  • Product catalogs with recipe/yield conversions
  • Stock/inventory tracking across locations
  • Supplier rebate calculations

Project Structure

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
1aradotso avatararacli-deploy-managementaradotso/trending-skillsaracli deploy management1.2Kskills.sh installs
2rudrankriyam avatarasc-shots-pipelinerudrankriyam/asc-skillsasc shots pipeline1.2Kskills.sh installs
3mindrally avatardockermindrally/skillsDocker containerization best practices for building, securing, and deploying containers.1.2Kskills.sh installs
4nvidia avatarjetson-build-sourcenvidia/skillsUse when you need to rebuild the BSP overlay — DT, OOT modules, or kernel — from changes under bsp_sources/. Triggers: build bsp, rebuild dtb, rebuild kernel.1.2Kskills.sh installs
5nexscope-ai avatarsocial-media-monitornexscope-ai/ecommerce-skillsMonitor social media mentions, trends, and competitor activity for e-commerce brands. Set up listening workflows across Reddit, TikTok, Instagram, Twitter/X, an1.2Kskills.sh installs
6microsoft avatarplaywright-devopsmicrosoft/playwrightDevOps workflows for Playwright - CI failure analysis, workflow debugging, and release operations.1.1Kskills.sh installs