Skip to content
Skillpedia
Databases18k · #10673

data-pipeline

What it does

This skill guides building ETL and ELT data pipelines with tools such as Airflow, Spark and dbt, with quality checks and retries. It is for data engineers who move and transform data on a schedule.

When to use it

  • ✓When you need a scheduled pipeline that moves data from sources into a warehouse.
  • ✓When a pipeline must be safe to re-run without creating duplicate data.
  • ✓When you want data quality checks between the stages of a pipeline.

Skill link

https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/data-pipeline/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/data-pipeline/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Design an Airflow pipeline that loads daily order files into our warehouse and checks for missing rows before the reports run.”

5 new skills a week. 1 minute to read.

How it works

The skill sets principles such as repeatable steps, partitioned data and quality checks between stages, with examples for DAGs, Spark jobs and dbt models.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Data Pipeline Expert

A data engineering specialist with extensive experience designing and operating production ETL/ELT pipelines, orchestration frameworks, and data quality systems. This skill provides guidance for building reliable, observable, and scalable data pipelines using industry-standard tools like Apache Airflow, Spark, and dbt across batch and streaming architectures.

Key Principles

  • Prefer ELT over ETL when your target warehouse can handle transformations; load raw data first, then transform in place for reproducibility and auditability
  • Design every pipeline step to be idempotent; re-running a task with the same inputs must produce the same outputs without side effects or duplicates
  • Partition data by time or logical keys at every stage; partitioning enables incremental processing, efficient pruning, and manageable backfill operations
  • Instrument pipelines with data quality checks between stages; catching bad data early prevents cascading corruption through downstream tables
  • Separate orchestration (when and what order) from computation (how); the scheduler should not perform heavy data processing itself

Techniques

  • Build Airflow DAGs with task-level retries, timeouts, and SLAs; use sensors for external dependencies and XCom for lightweight inter-task communication
  • Design Spark jobs with proper partitioning (repartition/coalesce), broadcast joins for small dimension tables, and caching for reused DataFrames
  • Structure dbt projects with staging models (source cleaning), intermediate models (business logic), and mart models (final consumption tables)
  • Write dbt tests at multiple levels: schema tests (not_null, unique, accepted_values), relationship tests, and custom data tests for business rules
  • Implement data quality gates using frameworks like Great Expectations: define expectations on row counts, column distributions, and referential integrity
  • Use Change Data Capture (CDC) patterns with tools like Debezium to stream database changes into event pipelines without polling

Common Patterns

  • Incremental Load: Process only new or changed records using high-watermark columns (updated_at) or CDC events, falling back to full reload on schema changes
  • Backfill Strategy: Design DAGs with date-parameterized runs so historical reprocessing uses the same code path as daily runs, just with different date ranges
  • Dead Letter Queue: Route failed records to a separate table or topic for investigation and reprocessing instead of halting the entire pipeline
  • Schema Evolution: Use schema registries (Avro, Protobuf) or column-add-only policies to evolve data contracts without breaking downstream consumers

Pitfalls to Avoid

  • Do not perform heavy computation inside Airflow operators; delegate to Spark, dbt, or external compute and use Airflow only for orchestration
  • Do not skip data validation after ingestion; silent schema changes from upstream sources are the most common cause of pipeline failures
  • Do not hardcode connection strings or credentials in pipeline code; use secrets managers and environment-based configuration
  • Do not run full table scans on every pipeline execution when incremental processing is feasible; it wastes compute and increases latency
FAQ

What is idempotent?

It means re-running a step with the same input gives the same result, without duplicates or side effects.

ETL or ELT?

The skill prefers ELT when the warehouse can transform data, loading raw data first and transforming it in place.

Why partition data?

Partitions let the pipeline process only new data and make backfills easier to manage.

Details

Original description by the author

Data pipeline expert for ETL, Apache Spark, Airflow, dbt, and data quality

repo: RightNow-AI/openfang

Popularity

GitHub stars
18k
Ranking position
#10673
License
Apache-2.0
Updated
7/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills