Manage Apple Reminders via the `remindctl` CLI on macOS (list, add, edit, complete, delete)....
npx skills add 404kidwiz/claude-supercode-skills --skill "data-engineer"
Install specific skill from multi-skill repository
# Description
Use when user needs scalable data pipeline development, ETL/ELT implementation, or data infrastructure design.
# SKILL.md
name: data-engineer
description: Use when user needs scalable data pipeline development, ETL/ELT implementation, or data infrastructure design.
Data Engineer
Purpose
Provides expert data engineering capabilities for building scalable data pipelines, ETL/ELT workflows, data lakes, and data warehouses. Specializes in distributed data processing, stream processing, data quality, and modern data stack technologies (Airflow, dbt, Spark, Kafka) with focus on reliability and cost optimization.
When to Use
- Designing end-to-end data pipelines from source to consumption layer
- Implementing ETL/ELT workflows with error handling and data quality checks
- Building data lakes or data warehouses with optimal storage and querying
- Setting up real-time stream processing (Kafka, Flink, Kinesis)
- Optimizing data infrastructure costs (storage tiering, compute efficiency)
- Implementing data governance and compliance (GDPR, data lineage)
- Migrating legacy data systems to modern data platforms
Quick Start
Invoke this skill when:
- Designing end-to-end data pipelines from source to consumption layer
- Implementing ETL/ELT workflows with error handling and data quality checks
- Building data lakes or data warehouses with optimal storage and querying
- Setting up real-time stream processing (Kafka, Flink, Kinesis)
- Optimizing data infrastructure costs (storage tiering, compute efficiency)
- Implementing data governance and compliance (GDPR, data lineage)
Do NOT invoke when:
- Only SQL query optimization needed (use database-optimizer instead)
- Machine learning model development (use ml-engineer or data-scientist)
- Simple data analysis or visualization (use data-analyst)
- Database administration tasks (use database-administrator)
- API integration without data transformation (use backend-developer)
Decision Framework
Pipeline Architecture Selection
ββ Batch Processing?
β ββ Daily/hourly schedules β Airflow + dbt
β β Pros: Mature ecosystem, SQL-based transforms
β β Cost: Low-medium
β β
β ββ Large-scale (TB+) β Spark (EMR/Databricks)
β β Pros: Distributed processing, handles scale
β β Cost: Medium-high (compute-intensive)
β β
β ββ Simple transforms β dbt Cloud or Fivetran
β Pros: Managed, low maintenance
β Cost: Medium (SaaS pricing)
β
ββ Stream Processing?
β ββ Event streaming β Kafka + Flink
β β Pros: Low latency, exactly-once semantics
β β Cost: High (always-on infrastructure)
β β
β ββ AWS native β Kinesis + Lambda
β β Pros: Serverless, auto-scaling
β β Cost: Variable (pay per use)
β β
β ββ Simple CDC β Debezium + Kafka Connect
β Pros: Database change capture
β Cost: Medium
β
ββ Hybrid (Batch + Stream)?
ββ Lambda Architecture or Kappa Architecture
Lambda: Separate batch/speed layers
Kappa: Single stream-first approach
Data Storage Selection
| Use Case | Technology | Pros | Cons |
|---|---|---|---|
| Structured analytics | Snowflake/BigQuery | SQL, fast queries | Cost at scale |
| Semi-structured | Delta Lake/Iceberg | ACID, schema evolution | Complexity |
| Raw storage | S3/GCS | Cheap, durable | No query engine |
| Real-time | Redis/DynamoDB | Low latency | Limited analytics |
| Time-series | TimescaleDB/InfluxDB | Optimized for time data | Specific use case |
ETL vs ELT Decision
| Factor | ETL (Transform First) | ELT (Load First) |
|---|---|---|
| Data volume | Small-medium | Large (TB+) |
| Transformation | Complex, pre-load | SQL-based, in-warehouse |
| Latency | Higher | Lower |
| Cost | Compute before load | Warehouse compute |
| Best for | Legacy systems | Modern cloud DW |
Core Patterns
Pattern 1: Idempotent Partition Overwrite
Use case: Safely re-run batch jobs without creating duplicates.
# PySpark example: Overwrite partition based on execution date
def write_daily_partition(df, target_table, execution_date):
(df
.write
.mode("overwrite")
.partitionBy("process_date")
.option("partitionOverwriteMode", "dynamic")
.format("parquet")
.saveAsTable(target_table))
Pattern 2: Slowly Changing Dimension Type 2 (SCD2)
Use case: Track history of changes without losing past states.
-- dbt implementation of SCD2
{{ config(materialized='incremental', unique_key='user_id') }}
SELECT
user_id, address, email, status, updated_at,
LEAD(updated_at, 1, '9999-12-31') OVER (
PARTITION BY user_id ORDER BY updated_at
) as valid_to
FROM {{ source('raw', 'users') }}
Pattern 3: Dead Letter Queue (DLQ) for Streaming
Use case: Handle malformed messages without stopping the pipeline.
Pattern 4: Data Quality Circuit Breaker
Use case: Stop pipeline execution if data quality drops below threshold.
Quality Checklist
Data Pipeline
- [ ] Idempotent (safe to retry)
- [ ] Schema validation enforced
- [ ] Error handling with retries
- [ ] Data quality checks automated
- [ ] Monitoring and alerting configured
- [ ] Lineage documented
Performance
- [ ] Pipeline completes within SLA (e.g., <1 hour)
- [ ] Incremental loading where applicable
- [ ] Partitioning strategy optimized
- [ ] Query performance <30 seconds (P95)
Cost Optimization
- [ ] Storage tiering implemented (hot/warm/cold)
- [ ] Compute auto-scaling configured
- [ ] Query cost monitoring active
- [ ] Compression enabled (Parquet/ORC)
Additional Resources
- Detailed Technical Reference: See REFERENCE.md
- Code Examples & Patterns: See EXAMPLES.md
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.