retail-etl-pipeline-medallion — Claude Code skill: setup & use
Configures a retail data pipeline using SQL Server, PySpark, and Medallion architecture. Organizes raw sales and stock feeds across Bronze, Silver, and Gold layers.
npx skills add reason-machines/data-skills --skill retail-etl-pipeline-medallion -a claude-codeWhat retail-etl-pipeline-medallion does
This skill guides coding agents through building a retail warehouse backed by 13 sequential SQL scripts. Raw CSV files land in Bronze.
Silver stored procedures handle deduplication and price validation before data moves downstream. The Gold layer calculates multi-store sales metrics and stock shrinkage percentages. It also contains logic for supplier rebate tiers and meat recipe conversions. Running the pipeline locally requires Docker with SQL Server 2019+, Python 3.8+, and PySpark 3.x.
What it helps with
- Build Bronze, Silver, and Gold retail data pipelines
- Calculate store-level inventory shrinkage from sales and stock
- Write SQL Server stored procedures for data deduplication
- Track supplier rebate tiers across multiple store branches
Example prompts for the agent
- Set up a retail ETL pipeline with medallion architecture in SQL Server
- Create a stored procedure in the Gold layer to calculate inventory shrinkage
- Generate the Bronze ingestion table for sales CSV files
How to install retail-etl-pipeline-medallion
1Skills CLI (Vercel)
npx skills add reason-machines/data-skills --skill retail-etl-pipeline-medallion -a claude-code2Manually: put the files in place
~/.claude/skills/retail-etl-pipeline-medallion/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/retail-etl-pipeline-medallion/
1Skills CLI (Vercel)
npx skills add reason-machines/data-skills --skill retail-etl-pipeline-medallion -a codex2Manually: put the files in place
.agents/skills/retail-etl-pipeline-medallion/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/data-skills --skill retail-etl-pipeline-medallion -a cursor2Manually: put the files in place
.cursor/skills/retail-etl-pipeline-medallion/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/data-skills retail-etl-pipeline-medallion2Manually: put the files in place
.github/skills/retail-etl-pipeline-medallion/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/data-skills --skill retail-etl-pipeline-medallion -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/data-skills --path skills/retail-etl-pipeline-medallionManually: put the files in place
.devin/skills/retail-etl-pipeline-medallion/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/data-skills --skill retail-etl-pipeline-medallion -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about retail-etl-pipeline-medallion
How do I install retail-etl-pipeline-medallion in Claude Code?
Run npx skills add reason-machines/data-skills --skill retail-etl-pipeline-medallion -a claude-code in your terminal.
What does retail-etl-pipeline-medallion do?
It provides structured patterns and SQL procedures to build a three-layer retail data warehouse. The pipeline handles data cleansing, sales consolidation, and inventory shrinkage tracking.
What are the prerequisites to run this pipeline?
You need Docker, SQL Server 2019+, Python 3.8+, and PySpark 3.x. Apache Airflow can also be used if workflow orchestration is required.