Senior Data Engineer
Production-grade data engineering skill for building scalable, reliable data systems.
Table of Contents
- Trigger Phrases
- Quick Start
- Workflows
- Architecture Decision Framework
- Tech Stack
- Reference Documentation
- Troubleshooting
Trigger Phrases
Activate this skill when you see:
Pipeline Design:
- "Design a data pipeline for..."
- "Build an ETL/ELT process..."
- "How should I ingest data from..."
- "Set up data extraction from..."
Architecture:
- "Should I use batch or streaming?"
- "Lambda vs Kappa architecture"
- "How to handle late-arriving data"
- "Design a data lakehouse"
Data Modeling:
- "Create a dimensional model..."
- "Star schema vs snowflake"
- "Implement slowly changing dimensions"
- "Design a data vault"
Data Quality:
- "Add data validation to..."
- "Set up data quality checks"
- "Monitor data freshness"
- "Implement data contracts"
Performance:
- "Optimize this Spark job"
- "Query is running slow"
- "Reduce pipeline execution time"
- "Tune Airflow DAG"
Quick Start
Core Tools
# Generate pipeline orchestration config
python scripts/pipeline_orchestrator.py generate \
--type airflow \
--source postgres \
--destination snowflake \
--schedule "0 5 * * *"
# Validate data quality
python scripts/data_quality_validator.py validate \
--input data/sales.parquet \
--schema schemas/sales.json \
--checks freshness,completeness,uniqueness
# Optimize ETL performance
python scripts/etl_performance_optimizer.py analyze \
--query queries/daily_aggregation.sql \
--engine spark \
--recommend
Workflows
→ See references/workflows.md for details
Architecture Decision Framework
Use this framework to choose the right approach for your data pipeline.
Batch vs Streaming
| Criteria |
Batch |
Streaming |
| Latency requirement |
Hours to days |
Seconds to minutes |
| Data volume |
Large historical datasets |
Continuous event streams |
| Processing complexity |
Complex transformations, ML |
Simple aggregations, filtering |
| Cost sensitivity |
More cost-effective |
Higher infrastructure cost |
| Error handling |
Easier to reprocess |
Requires careful design |
Decision Tree:
Is real-time insight required?
├── Yes → Use streaming
│ └── Is exactly-once semantics needed?
│ ├── Yes → Kafka + Flink/Spark Structured Streaming
│ └── No → Kafka + consumer groups
└── No → Use batch
└── Is data volume > 1TB daily?
├── Yes → Spark/Databricks
└── No → dbt + warehouse compute
Lambda vs Kappa Architecture
| Aspect |
Lambda |
Kappa |
| Complexity |
Two codebases (batch + stream) |
Single codebase |
| Maintenance |
Higher (sync batch/stream logic) |
Lower |
| Reprocessing |
Native batch layer |
Replay from source |
| Use case |
ML training + real-time serving |
Pure event-driven |
When to choose Lambda:
- Need to train ML models on historical data
- Complex batch transformations not feasible in streaming
- Existing batch infrastructure
When to choose Kappa:
- Event-sourced architecture
- All processing can be expressed as stream operations
- Starting fresh without legacy systems
Data Warehouse vs Data Lakehouse
| Feature |
Warehouse (Snowflake/BigQuery) |
Lakehouse (Delta/Iceberg) |
| Best for |
BI, SQL analytics |
ML, unstructured data |
| Storage cost |
Higher (proprietary format) |
Lower (open formats) |
| Flexibility |
Schema-on-write |
Schema-on-read |
| Performance |
Excellent for SQL |
Good, improving |
| Ecosystem |
Mature BI tools |
Growing ML tooling |
Tech Stack
| Category |
Technologies |
| Languages |
Python, SQL, Scala |
| Orchestration |
Airflow, Prefect, Dagster |
| Transformation |
dbt, Spark, Flink |
| Streaming |
Kafka, Kinesis, Pub/Sub |
| Storage |
S3, GCS, Delta Lake, Iceberg |
| Warehouses |
Snowflake, BigQuery, Redshift, Databricks |
| Quality |
Great Expectations, dbt tests, Monte Carlo |
| Monitoring |
Prometheus, Grafana, Datadog |
Reference Documentation
1. Data Pipeline Architecture
See references/data_pipeline_architecture.md for:
- Lambda vs Kappa architecture patterns
- Batch processing with Spark and Airflow
- Stream processing with Kafka and Flink
- Exactly-once semantics implementation
- Error handling and dead letter queues
2. Data Modeling Patterns
See references/data_modeling_patterns.md for:
- Dimensional modeling (Star/Snowflake)
- Slowly Changing Dimensions (SCD Types 1-6)
- Data Vault modeling
- dbt best practices
- Partitioning and clustering
3. DataOps Best Practices
See references/dataops_best_practices.md for:
- Data testing frameworks
- Data contracts and schema validation
- CI/CD for data pipelines
- Observability and lineage
- Incident response
Troubleshooting
→ See references/troubleshooting.md for details
1---2name: senior-data-engineer3description: Data engineering skill for building scalable data pipelines, ETL/ELT systems, and data infrastructure. Expertise in Python, SQL, Spark, Airflow, dbt, Kafka, and modern data stack. Includes data modeling, pipeline orchestration, data quality, and DataOps. Use when designing data architectures, building data pipelines, optimizing data workflows, implementing data governance, or troubleshooting data issues.4---56# Senior Data Engineer78Production-grade data engineering skill for building scalable, reliable data systems.910## Table of Contents11121. [Trigger Phrases](#trigger-phrases)132. [Quick Start](#quick-start)143. [Workflows](#workflows)154. [Architecture Decision Framework](#architecture-decision-framework)165. [Tech Stack](#tech-stack)176. [Reference Documentation](#reference-documentation)187. [Troubleshooting](#troubleshooting)1920---2122## Trigger Phrases2324Activate this skill when you see:2526**Pipeline Design:**27- "Design a data pipeline for..."28- "Build an ETL/ELT process..."29- "How should I ingest data from..."30- "Set up data extraction from..."3132**Architecture:**33- "Should I use batch or streaming?"34- "Lambda vs Kappa architecture"35- "How to handle late-arriving data"36- "Design a data lakehouse"3738**Data Modeling:**39- "Create a dimensional model..."40- "Star schema vs snowflake"41- "Implement slowly changing dimensions"42- "Design a data vault"4344**Data Quality:**45- "Add data validation to..."46- "Set up data quality checks"47- "Monitor data freshness"48- "Implement data contracts"4950**Performance:**51- "Optimize this Spark job"52- "Query is running slow"53- "Reduce pipeline execution time"54- "Tune Airflow DAG"5556---5758## Quick Start5960### Core Tools6162```bash63# Generate pipeline orchestration config64python scripts/pipeline_orchestrator.py generate \65 --type airflow \66 --source postgres \67 --destination snowflake \68 --schedule "0 5 * * *"6970# Validate data quality71python scripts/data_quality_validator.py validate \72 --input data/sales.parquet \73 --schema schemas/sales.json \74 --checks freshness,completeness,uniqueness7576# Optimize ETL performance77python scripts/etl_performance_optimizer.py analyze \78 --query queries/daily_aggregation.sql \79 --engine spark \80 --recommend81```8283---8485## Workflows86→ See references/workflows.md for details8788## Architecture Decision Framework8990Use this framework to choose the right approach for your data pipeline.9192### Batch vs Streaming9394| Criteria | Batch | Streaming |95|----------|-------|-----------|96| **Latency requirement** | Hours to days | Seconds to minutes |97| **Data volume** | Large historical datasets | Continuous event streams |98| **Processing complexity** | Complex transformations, ML | Simple aggregations, filtering |99| **Cost sensitivity** | More cost-effective | Higher infrastructure cost |100| **Error handling** | Easier to reprocess | Requires careful design |101102**Decision Tree:**103```104Is real-time insight required?105├── Yes → Use streaming106│ └── Is exactly-once semantics needed?107│ ├── Yes → Kafka + Flink/Spark Structured Streaming108│ └── No → Kafka + consumer groups109└── No → Use batch110 └── Is data volume > 1TB daily?111 ├── Yes → Spark/Databricks112 └── No → dbt + warehouse compute113```114115### Lambda vs Kappa Architecture116117| Aspect | Lambda | Kappa |118|--------|--------|-------|119| **Complexity** | Two codebases (batch + stream) | Single codebase |120| **Maintenance** | Higher (sync batch/stream logic) | Lower |121| **Reprocessing** | Native batch layer | Replay from source |122| **Use case** | ML training + real-time serving | Pure event-driven |123124**When to choose Lambda:**125- Need to train ML models on historical data126- Complex batch transformations not feasible in streaming127- Existing batch infrastructure128129**When to choose Kappa:**130- Event-sourced architecture131- All processing can be expressed as stream operations132- Starting fresh without legacy systems133134### Data Warehouse vs Data Lakehouse135136| Feature | Warehouse (Snowflake/BigQuery) | Lakehouse (Delta/Iceberg) |137|---------|-------------------------------|---------------------------|138| **Best for** | BI, SQL analytics | ML, unstructured data |139| **Storage cost** | Higher (proprietary format) | Lower (open formats) |140| **Flexibility** | Schema-on-write | Schema-on-read |141| **Performance** | Excellent for SQL | Good, improving |142| **Ecosystem** | Mature BI tools | Growing ML tooling |143144---145146## Tech Stack147148| Category | Technologies |149|----------|--------------|150| **Languages** | Python, SQL, Scala |151| **Orchestration** | Airflow, Prefect, Dagster |152| **Transformation** | dbt, Spark, Flink |153| **Streaming** | Kafka, Kinesis, Pub/Sub |154| **Storage** | S3, GCS, Delta Lake, Iceberg |155| **Warehouses** | Snowflake, BigQuery, Redshift, Databricks |156| **Quality** | Great Expectations, dbt tests, Monte Carlo |157| **Monitoring** | Prometheus, Grafana, Datadog |158159---160161## Reference Documentation162163### 1. Data Pipeline Architecture164See `references/data_pipeline_architecture.md` for:165- Lambda vs Kappa architecture patterns166- Batch processing with Spark and Airflow167- Stream processing with Kafka and Flink168- Exactly-once semantics implementation169- Error handling and dead letter queues170171### 2. Data Modeling Patterns172See `references/data_modeling_patterns.md` for:173- Dimensional modeling (Star/Snowflake)174- Slowly Changing Dimensions (SCD Types 1-6)175- Data Vault modeling176- dbt best practices177- Partitioning and clustering178179### 3. DataOps Best Practices180See `references/dataops_best_practices.md` for:181- Data testing frameworks182- Data contracts and schema validation183- CI/CD for data pipelines184- Observability and lineage185- Incident response186187---188189## Troubleshooting190→ See references/troubleshooting.md for details