Note: Bundled scripts ship as Markdown reference (.md) — copy the code out of the .md file to run it.
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.4metadata:5 source: https://skillmd.com/skills/neekware/senior-data-engineer6---78> **Note:** Bundled scripts ship as Markdown reference (`.md`) — copy the code out of the `.md` file to run it.910# Senior Data Engineer1112Production-grade data engineering skill for building scalable, reliable data systems.1314## Table of Contents15161. [Trigger Phrases](#trigger-phrases)172. [Quick Start](#quick-start)183. [Workflows](#workflows)19 - [Building a Batch ETL Pipeline](#workflow-1-building-a-batch-etl-pipeline)20 - [Implementing Real-Time Streaming](#workflow-2-implementing-real-time-streaming)21 - [Data Quality Framework Setup](#workflow-3-data-quality-framework-setup)224. [Architecture Decision Framework](#architecture-decision-framework)235. [Tech Stack](#tech-stack)246. [Reference Documentation](#reference-documentation)257. [Troubleshooting](#troubleshooting)2627---2829## Trigger Phrases3031Activate this skill when you see:3233**Pipeline Design:**3435- "Design a data pipeline for..."36- "Build an ETL/ELT process..."37- "How should I ingest data from..."38- "Set up data extraction from..."3940**Architecture:**4142- "Should I use batch or streaming?"43- "Lambda vs Kappa architecture"44- "How to handle late-arriving data"45- "Design a data lakehouse"4647**Data Modeling:**4849- "Create a dimensional model..."50- "Star schema vs snowflake"51- "Implement slowly changing dimensions"52- "Design a data vault"5354**Data Quality:**5556- "Add data validation to..."57- "Set up data quality checks"58- "Monitor data freshness"59- "Implement data contracts"6061**Performance:**6263- "Optimize this Spark job"64- "Query is running slow"65- "Reduce pipeline execution time"66- "Tune Airflow DAG"6768---6970## Quick Start7172### Core Tools7374```bash75# Generate pipeline orchestration config76python scripts/pipeline_orchestrator.py generate \77 --type airflow \78 --source postgres \79 --destination snowflake \80 --schedule "0 5 * * *"8182# Validate data quality83python scripts/data_quality_validator.py validate \84 --input data/sales.parquet \85 --schema schemas/sales.json \86 --checks freshness,completeness,uniqueness8788# Optimize ETL performance89python scripts/etl_performance_optimizer.py analyze \90 --query queries/daily_aggregation.sql \91 --engine spark \92 --recommend93```9495---9697## Workflows9899→ See references/workflows.md for details100101## Architecture Decision Framework102103Use this framework to choose the right approach for your data pipeline.104105### Batch vs Streaming106107| Criteria | Batch | Streaming |108| ------------------------- | --------------------------- | ------------------------------ |109| **Latency requirement** | Hours to days | Seconds to minutes |110| **Data volume** | Large historical datasets | Continuous event streams |111| **Processing complexity** | Complex transformations, ML | Simple aggregations, filtering |112| **Cost sensitivity** | More cost-effective | Higher infrastructure cost |113| **Error handling** | Easier to reprocess | Requires careful design |114115**Decision Tree:**116117```118Is real-time insight required?119├── Yes → Use streaming120│ └── Is exactly-once semantics needed?121│ ├── Yes → Kafka + Flink/Spark Structured Streaming122│ └── No → Kafka + consumer groups123└── No → Use batch124 └── Is data volume > 1TB daily?125 ├── Yes → Spark/Databricks126 └── No → dbt + warehouse compute127```128129### Lambda vs Kappa Architecture130131| Aspect | Lambda | Kappa |132| ---------------- | -------------------------------- | ------------------ |133| **Complexity** | Two codebases (batch + stream) | Single codebase |134| **Maintenance** | Higher (sync batch/stream logic) | Lower |135| **Reprocessing** | Native batch layer | Replay from source |136| **Use case** | ML training + real-time serving | Pure event-driven |137138**When to choose Lambda:**139140- Need to train ML models on historical data141- Complex batch transformations not feasible in streaming142- Existing batch infrastructure143144**When to choose Kappa:**145146- Event-sourced architecture147- All processing can be expressed as stream operations148- Starting fresh without legacy systems149150### Data Warehouse vs Data Lakehouse151152| Feature | Warehouse (Snowflake/BigQuery) | Lakehouse (Delta/Iceberg) |153| ---------------- | ------------------------------ | ------------------------- |154| **Best for** | BI, SQL analytics | ML, unstructured data |155| **Storage cost** | Higher (proprietary format) | Lower (open formats) |156| **Flexibility** | Schema-on-write | Schema-on-read |157| **Performance** | Excellent for SQL | Good, improving |158| **Ecosystem** | Mature BI tools | Growing ML tooling |159160---161162## Tech Stack163164| Category | Technologies |165| ------------------ | ------------------------------------------ |166| **Languages** | Python, SQL, Scala |167| **Orchestration** | Airflow, Prefect, Dagster |168| **Transformation** | dbt, Spark, Flink |169| **Streaming** | Kafka, Kinesis, Pub/Sub |170| **Storage** | S3, GCS, Delta Lake, Iceberg |171| **Warehouses** | Snowflake, BigQuery, Redshift, Databricks |172| **Quality** | Great Expectations, dbt tests, Monte Carlo |173| **Monitoring** | Prometheus, Grafana, Datadog |174175---176177## Reference Documentation178179### 1. Data Pipeline Architecture180181See `references/data_pipeline_architecture.md` for:182183- Lambda vs Kappa architecture patterns184- Batch processing with Spark and Airflow185- Stream processing with Kafka and Flink186- Exactly-once semantics implementation187- Error handling and dead letter queues188189### 2. Data Modeling Patterns190191See `references/data_modeling_patterns.md` for:192193- Dimensional modeling (Star/Snowflake)194- Slowly Changing Dimensions (SCD Types 1-6)195- Data Vault modeling196- dbt best practices197- Partitioning and clustering198199### 3. DataOps Best Practices200201See `references/dataops_best_practices.md` for:202203- Data testing frameworks204- Data contracts and schema validation205- CI/CD for data pipelines206- Observability and lineage207- Incident response208209---210211## Troubleshooting212213→ See references/troubleshooting.md for details