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-engineer
3description: "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 D..."
4version: 1.0.0
5author:
6 name: "Alireza Rezvani"
7 github: alirezarezvani
8tags: [senior, data, engineer]
9category: engineering
10platforms: [macos, linux, windows]
11license: MIT
12metadata:
13 hermes:
14 related_skills: [senior, data, engineer]
15 source: https://skillmd.com/skills/nous-hermeshub/senior-data-engineer
16 upstream: "claude-skills"
17 original_author: "Alireza Rezvani"
18---
19
20# Senior Data Engineer
21
22Production-grade data engineering skill for building scalable, reliable data systems.
23
24## Table of Contents
25
261. [Trigger Phrases](#trigger-phrases)
272. [Quick Start](#quick-start)
283. [Workflows](#workflows)
294. [Architecture Decision Framework](#architecture-decision-framework)
305. [Tech Stack](#tech-stack)
316. [Reference Documentation](#reference-documentation)
327. [Troubleshooting](#troubleshooting)
33
34---
35
36## Trigger Phrases
37
38Activate this skill when you see:
39
40**Pipeline Design:**
41- "Design a data pipeline for..."
42- "Build an ETL/ELT process..."
43- "How should I ingest data from..."
44- "Set up data extraction from..."
45
46**Architecture:**
47- "Should I use batch or streaming?"
48- "Lambda vs Kappa architecture"
49- "How to handle late-arriving data"
50- "Design a data lakehouse"
51
52**Data Modeling:**
53- "Create a dimensional model..."
54- "Star schema vs snowflake"
55- "Implement slowly changing dimensions"
56- "Design a data vault"
57
58**Data Quality:**
59- "Add data validation to..."
60- "Set up data quality checks"
61- "Monitor data freshness"
62- "Implement data contracts"
63
64**Performance:**
65- "Optimize this Spark job"
66- "Query is running slow"
67- "Reduce pipeline execution time"
68- "Tune Airflow DAG"
69
70---
71
72## Quick Start
73
74### Core Tools
75
76```bash
77# Generate pipeline orchestration config
78python scripts/pipeline_orchestrator.py generate \
79 --type airflow \
80 --source postgres \
81 --destination snowflake \
82 --schedule "0 5 * * *"
83
84# Validate data quality
85python scripts/data_quality_validator.py validate \
86 --input data/sales.parquet \
87 --schema schemas/sales.json \
88 --checks freshness,completeness,uniqueness
89
90# Optimize ETL performance
91python scripts/etl_performance_optimizer.py analyze \
92 --query queries/daily_aggregation.sql \
93 --engine spark \
94 --recommend
95```
96
97---
98
99## Workflows
100→ See references/workflows.md for details
101
102## Architecture Decision Framework
103
104Use this framework to choose the right approach for your data pipeline.
105
106### Batch vs Streaming
107
108| Criteria | Batch | Streaming |
109|----------|-------|-----------|
110| **Latency requirement** | Hours to days | Seconds to minutes |
111| **Data volume** | Large historical datasets | Continuous event streams |
112| **Processing complexity** | Complex transformations, ML | Simple aggregations, filtering |
113| **Cost sensitivity** | More cost-effective | Higher infrastructure cost |
114| **Error handling** | Easier to reprocess | Requires careful design |
115
116**Decision Tree:**
117```
118Is real-time insight required?
119├── Yes → Use streaming
120│ └── Is exactly-once semantics needed?
121│ ├── Yes → Kafka + Flink/Spark Structured Streaming
122│ └── No → Kafka + consumer groups
123└── No → Use batch
124 └── Is data volume > 1TB daily?
125 ├── Yes → Spark/Databricks
126 └── No → dbt + warehouse compute
127```
128
129### Lambda vs Kappa Architecture
130
131| 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 |
137
138**When to choose Lambda:**
139- Need to train ML models on historical data
140- Complex batch transformations not feasible in streaming
141- Existing batch infrastructure
142
143**When to choose Kappa:**
144- Event-sourced architecture
145- All processing can be expressed as stream operations
146- Starting fresh without legacy systems
147
148### Data Warehouse vs Data Lakehouse
149
150| Feature | Warehouse (Snowflake/BigQuery) | Lakehouse (Delta/Iceberg) |
151|---------|-------------------------------|---------------------------|
152| **Best for** | BI, SQL analytics | ML, unstructured data |
153| **Storage cost** | Higher (proprietary format) | Lower (open formats) |
154| **Flexibility** | Schema-on-write | Schema-on-read |
155| **Performance** | Excellent for SQL | Good, improving |
156| **Ecosystem** | Mature BI tools | Growing ML tooling |
157
158---
159
160## Tech Stack
161
162| Category | Technologies |
163|----------|--------------|
164| **Languages** | Python, SQL, Scala |
165| **Orchestration** | Airflow, Prefect, Dagster |
166| **Transformation** | dbt, Spark, Flink |
167| **Streaming** | Kafka, Kinesis, Pub/Sub |
168| **Storage** | S3, GCS, Delta Lake, Iceberg |
169| **Warehouses** | Snowflake, BigQuery, Redshift, Databricks |
170| **Quality** | Great Expectations, dbt tests, Monte Carlo |
171| **Monitoring** | Prometheus, Grafana, Datadog |
172
173---
174
175## Reference Documentation
176
177### 1. Data Pipeline Architecture
178See `references/data_pipeline_architecture.md` for:
179- Lambda vs Kappa architecture patterns
180- Batch processing with Spark and Airflow
181- Stream processing with Kafka and Flink
182- Exactly-once semantics implementation
183- Error handling and dead letter queues
184
185### 2. Data Modeling Patterns
186See `references/data_modeling_patterns.md` for:
187- Dimensional modeling (Star/Snowflake)
188- Slowly Changing Dimensions (SCD Types 1-6)
189- Data Vault modeling
190- dbt best practices
191- Partitioning and clustering
192
193### 3. DataOps Best Practices
194See `references/dataops_best_practices.md` for:
195- Data testing frameworks
196- Data contracts and schema validation
197- CI/CD for data pipelines
198- Observability and lineage
199- Incident response
200
201---
202
203## Troubleshooting
204→ See references/troubleshooting.md for details