create-stm

Generate standardized source-to-target mapping Excel workbooks for medallion data pipelines.

5|1|Updated Sep 23, 2025
One-click install
npx skills add https://github.com/RDEWAI/Redefining-DataEngineering-With-AI --skill create-stm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-stm
Source: https://github.com/RDEWAI/Redefining-DataEngineering-With-AI/tree/main/chapter-6/mapping-analyst-plugin/skills/create-stm
Command: npx skills add https://github.com/RDEWAI/Redefining-DataEngineering-With-AI --skill create-stm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openpyxl, and includes scripts (resource) components.

What problem does it solve?

Manually creating source-to-target mapping (STM) documents for medallion data pipelines is time-consuming, inconsistent, and prone to errors that cause misalignment between data modelers and ETL development teams. This Skill eliminates that manual work by generating standardized, validated STM artifacts directly from approved upstream specifications and actual source database metadata.

Core Features & Use Cases

  • Standardized 8-Sheet Workbooks: Generates compliant Excel workbooks covering all required STM sections: Summary, Source-to-Bronze, Bronze-to-Silver, Silver-to-Gold, Code Systems, Null Handling, Edge Cases, and full column-level Lineage.
  • Upstream Validation & Metadata Verification: Enforces an approval gate for required upstream artifacts (DRD, HLD, DMS) and verifies actual source database schema and data patterns before generating mappings to avoid assumptions.
  • Use Case: A data engineering team building a patient analytics pipeline can use this Skill to automatically generate a build-ready STM from approved DMS and HLD documents, ensuring all transformation logic, SCD rules, and lineage are consistently documented for ETL implementation.

Quick Start

Use the create-stm skill to generate a complete, validated source-to-target mapping Excel workbook for your approved medallion data pipeline.

Frequently Asked Questions about create-stm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate source-to-target mapping documents for a medallion ETL pipeline?

Source-to-target mapping documents for medallion ETL pipelines can be generated automatically as standardized Excel workbooks. This eliminates manual mapping document creation by validating upstream data model specifications against actual source database metadata to produce build-ready artifacts.

What is included in an STM workbook for bronze, silver, and gold data layers?

An STM workbook for bronze, silver, and gold data layers includes eight standardized sheets covering Summary, Source-to-Bronze, Bronze-to-Silver, Silver-to-Gold, Code Systems, Null Handling, Edge Cases, and full column-level Lineage documentation.

How do I automate column lineage documentation for ETL pipelines?

Column lineage documentation for ETL pipelines is automated by generating Excel workbooks that map transformations across medallion architecture layers. The generated workbook captures full column-level lineage, transformation logic, and SCD rules directly from approved specifications.

Do I need approved upstream artifacts before creating source-to-target mappings?

Approved upstream artifacts including DRD, HLD, and DMS documents are required before creating source-to-target mappings. The generation process enforces an approval gate and verifies actual source database schema and data patterns to prevent mapping assumptions.

Can I use openpyxl to standardize ETL documentation across multiple data pipelines?

Using openpyxl, ETL documentation is standardized across multiple data pipelines by generating compliant Excel workbooks. This ensures consistent mapping artifacts that include null handling rules, code system mappings, and edge case handling for ETL and ELT implementation.

What is the best way to document SCD rules and null handling for ETL pipelines?

The best way to document SCD rules and null handling for ETL pipelines is generating a standardized STM workbook. It captures transformation logic, SCD rules, code system mappings, and edge case handling consistently within dedicated Excel sheets for build-ready traceability.