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.05compatibility: Claude Code, Codex, Gemini CLI6metadata:7 author: ai-skills8 version: "1.0"9 category: data-analytics10 tags: etl, workflow, design, architecture, data-integration, planning11---1213## Overview1415Produces 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.1617## When to Use This Skill1819- Planning a new data integration or migration project.20- The user describes "move data from A to B" or "build a pipeline that...".21- You need to create a design document before coding (good for alignment with stakeholders).2223## Prerequisites2425- Clear source(s) and destination(s).26- Rough understanding of data volume, freshness requirements, and SLAs.27- Access to documentation or sample data from the source system.2829## Steps30311. **Source profiling** (ask these questions and document answers):32 - What is the source system and access method (API, DB, files, stream)?33 - Volume (rows/day, GB)?34 - Update pattern (append-only, CDC, full refresh)?35 - Schema stability?36 - Authentication / rate limits?37382. **Destination profiling**:39 - Warehouse, lake, app DB, search index, etc.40 - Required freshness (real-time, hourly, daily)?41 - Query patterns (what will consume the data)?42433. **Connector & tool selection**:44 - Batch: Airflow + Python, dbt, Fivetran, Stitch, custom scripts.45 - Streaming: Kafka, Kinesis, Debezium CDC, Spark Structured Streaming.46 - File: AWS Glue, Azure Data Factory, custom.47484. **Transformation catalog**:49 - Filter, map/rename, join/enrich, aggregate, type cast, deduplicate, validate, mask/PII.50 - Document each transform with input → output example.51525. **Error handling matrix**:53 - Transient (retry with backoff).54 - Data quality (quarantine + alert).55 - Schema drift (alert + fallback).56 - Permanent failure (DLQ + manual review).57586. **Scheduling & orchestration**:59 - Cron, event-driven, dependency-based (Airflow DAG).60 - Watermark / incremental logic.61 - Backfill strategy.62637. **Monitoring & SLAs**:64 - Freshness, volume, latency, data quality score.65 - Alerting channels and escalation.66678. **Output**:68 - Design document (Markdown) with:69 - Context & requirements70 - Architecture diagram (Mermaid)71 - Data flow72 - Transformation list73 - Error handling table74 - Implementation phases & timeline75 - Risks & open questions76 - High-level code skeleton or Airflow DAG outline.77 - Next-step recommendations (prototype the extract first).7879## Examples8081A 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.8283## Edge Cases & Error Handling8485- **Source downtime**: Backpressure, queueing, or graceful degradation.86- **Schema evolution**: Versioned schemas or automated drift detection.87- **Compliance** (GDPR, HIPAA): Document data lineage and masking strategy.8889## Verification90911. The design document is reviewed and approved by stakeholders (data + engineering + business).922. A small prototype of the critical path (extract → minimal transform → load) succeeds.933. The Mermaid diagram renders and accurately reflects the planned flow.944. Error scenarios are covered in the matrix with clear ownership.955. Success: The team has a clear, shared plan that can be implemented with minimal rework.9697## References9899- [Data Engineering Lifecycle](https://www.dataengineering.design/)100- [Airflow Best Practices](https://airflow.apache.org/docs/apache-airflow/stable/best-practices.html)101- [dbt Best Practices](https://docs.getdbt.com/guides/best-practices)102- [Mermaid Diagrams](https://mermaid.js.org/)