Skip to content
reason-machines avatar

Retail Etl Medallion Pipeline

End-to-end retail ETL pipeline using Bronze, Silver, and Gold medallion layers for inventory and sales data.

CCM score
40 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 multi-branch sales, product catalogs, stock tracking, and supplier rebate calculations across three data quality layers
  • Includes TSQL stored procedures per layer, with raw CSV ingestion into bronze and analytics aggregates in gold
  • Applies recipe yield conversions for meat and poultry, plus inventory shrinkage and turnover metrics
  • Designed for retail and hypermarket teams that run SQL Server, with optional Airflow and PySpark orchestration

Install

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

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

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

Details

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

Questions

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

It implements a Medallion Architecture ETL pipeline for retail data, with Bronze raw ingestion, Silver cleaned and business-rule data, and Gold analytics-ready aggregates. The skill covers inventory tracking, sales processing, recipe yield conversions for meat and poultry, and supplier data.

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

Run npx -y skills add reason-machines/data-skills --skill retail-etl-medallion-pipeline -y in your project. Once installed, the agent can help build the Bronze, Silver and Gold layers for a retail data warehouse.

What do I need to run the retail ETL pipeline from this skill?

The skill expects a SQL Server instance, either started with the provided docker-compose setup or an existing SQL Server 2017 or later. It also uses sqlcmd for database initialization and CSV source files for the Bronze layer loads.

Where does this skill fit in the Data Science & Analytics category?

It sits in the Data Science & Analytics category on Claude Marketplaces, alongside skills such as azure-kusto and analyze-project. This skill is specific to a retail medallion warehouse built on T-SQL and stored procedures.

More from reason-machines/data-skills

All 60

Similar to Retail Etl Medallion Pipeline

More Data Science & Analytics