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