Overview
Produces a complete, professional ETL/ELT workflow design document and implementation plan for a specific data movement scenario. Includes source profiling questions, connector selection guide, transformation catalog, scheduling strategy, error handling matrix, monitoring, and a design document template with Mermaid diagrams that can be turned into working code.
When to Use This Skill
- Planning a new data integration or migration project.
- The user describes "move data from A to B" or "build a pipeline that...".
- You need to create a design document before coding (good for alignment with stakeholders).
Prerequisites
- Clear source(s) and destination(s).
- Rough understanding of data volume, freshness requirements, and SLAs.
- Access to documentation or sample data from the source system.
Steps
Source profiling (ask these questions and document answers):
- What is the source system and access method (API, DB, files, stream)?
- Volume (rows/day, GB)?
- Update pattern (append-only, CDC, full refresh)?
- Schema stability?
- Authentication / rate limits?
Destination profiling:
- Warehouse, lake, app DB, search index, etc.
- Required freshness (real-time, hourly, daily)?
- Query patterns (what will consume the data)?
Connector & tool selection:
- Batch: Airflow + Python, dbt, Fivetran, Stitch, custom scripts.
- Streaming: Kafka, Kinesis, Debezium CDC, Spark Structured Streaming.
- File: AWS Glue, Azure Data Factory, custom.
Transformation catalog:
- Filter, map/rename, join/enrich, aggregate, type cast, deduplicate, validate, mask/PII.
- Document each transform with input → output example.
Error handling matrix:
- Transient (retry with backoff).
- Data quality (quarantine + alert).
- Schema drift (alert + fallback).
- Permanent failure (DLQ + manual review).
Scheduling & orchestration:
- Cron, event-driven, dependency-based (Airflow DAG).
- Watermark / incremental logic.
- Backfill strategy.
Monitoring & SLAs:
- Freshness, volume, latency, data quality score.
- Alerting channels and escalation.
Output:
- Design document (Markdown) with:
- Context & requirements
- Architecture diagram (Mermaid)
- Data flow
- Transformation list
- Error handling table
- Implementation phases & timeline
- Risks & open questions
- High-level code skeleton or Airflow DAG outline.
- Next-step recommendations (prototype the extract first).
Examples
A complete design document for "Ingest Shopify orders + customers into Snowflake daily, with incremental logic, PII masking, and quality checks" including Mermaid architecture diagram, transformation catalog, error matrix, and 4-week implementation plan is included.
Edge Cases & Error Handling
- Source downtime: Backpressure, queueing, or graceful degradation.
- Schema evolution: Versioned schemas or automated drift detection.
- Compliance (GDPR, HIPAA): Document data lineage and masking strategy.
Verification
- The design document is reviewed and approved by stakeholders (data + engineering + business).
- A small prototype of the critical path (extract → minimal transform → load) succeeds.
- The Mermaid diagram renders and accurately reflects the planned flow.
- Error scenarios are covered in the matrix with clear ownership.
- Success: The team has a clear, shared plan that can be implemented with minimal rework.
References
1---2name: etl-workflow-designer3description: Designs a complete ETL workflow diagram and implementation plan for a given data movement scenario. Use when planning how to move and transform data between source and destination systems.4license: Apache-2.05---67## Overview89Produces a complete, professional ETL/ELT workflow design document and implementation plan for a specific data movement scenario. Includes source profiling questions, connector selection guide, transformation catalog, scheduling strategy, error handling matrix, monitoring, and a design document template with Mermaid diagrams that can be turned into working code.1011## When to Use This Skill1213- Planning a new data integration or migration project.14- The user describes "move data from A to B" or "build a pipeline that...".15- You need to create a design document before coding (good for alignment with stakeholders).1617## Prerequisites1819- Clear source(s) and destination(s).20- Rough understanding of data volume, freshness requirements, and SLAs.21- Access to documentation or sample data from the source system.2223## Steps24251. **Source profiling** (ask these questions and document answers):26 - What is the source system and access method (API, DB, files, stream)?27 - Volume (rows/day, GB)?28 - Update pattern (append-only, CDC, full refresh)?29 - Schema stability?30 - Authentication / rate limits?31322. **Destination profiling**:33 - Warehouse, lake, app DB, search index, etc.34 - Required freshness (real-time, hourly, daily)?35 - Query patterns (what will consume the data)?36373. **Connector & tool selection**:38 - Batch: Airflow + Python, dbt, Fivetran, Stitch, custom scripts.39 - Streaming: Kafka, Kinesis, Debezium CDC, Spark Structured Streaming.40 - File: AWS Glue, Azure Data Factory, custom.41424. **Transformation catalog**:43 - Filter, map/rename, join/enrich, aggregate, type cast, deduplicate, validate, mask/PII.44 - Document each transform with input → output example.45465. **Error handling matrix**:47 - Transient (retry with backoff).48 - Data quality (quarantine + alert).49 - Schema drift (alert + fallback).50 - Permanent failure (DLQ + manual review).51526. **Scheduling & orchestration**:53 - Cron, event-driven, dependency-based (Airflow DAG).54 - Watermark / incremental logic.55 - Backfill strategy.56577. **Monitoring & SLAs**:58 - Freshness, volume, latency, data quality score.59 - Alerting channels and escalation.60618. **Output**:62 - Design document (Markdown) with:63 - Context & requirements64 - Architecture diagram (Mermaid)65 - Data flow66 - Transformation list67 - Error handling table68 - Implementation phases & timeline69 - Risks & open questions70 - High-level code skeleton or Airflow DAG outline.71 - Next-step recommendations (prototype the extract first).7273## Examples7475A complete design document for "Ingest Shopify orders + customers into Snowflake daily, with incremental logic, PII masking, and quality checks" including Mermaid architecture diagram, transformation catalog, error matrix, and 4-week implementation plan is included.7677## Edge Cases & Error Handling7879- **Source downtime**: Backpressure, queueing, or graceful degradation.80- **Schema evolution**: Versioned schemas or automated drift detection.81- **Compliance** (GDPR, HIPAA): Document data lineage and masking strategy.8283## Verification84851. The design document is reviewed and approved by stakeholders (data + engineering + business).862. A small prototype of the critical path (extract → minimal transform → load) succeeds.873. The Mermaid diagram renders and accurately reflects the planned flow.884. Error scenarios are covered in the matrix with clear ownership.895. Success: The team has a clear, shared plan that can be implemented with minimal rework.9091## References9293- [Data Engineering Lifecycle](https://www.dataengineering.design/)94- [Airflow Best Practices](https://airflow.apache.org/docs/apache-airflow/stable/best-practices.html)95- [dbt Best Practices](https://docs.getdbt.com/guides/best-practices)96- [Mermaid Diagrams](https://mermaid.js.org/)