data-pipelines

Build and debug ETL, ELT, and streaming data pipelines with Airflow, dbt, and Prefect.

18|1|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/kid-sid/codex-spellbook --skill data-pipelines-kid-sid
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-pipelines
Source: https://github.com/kid-sid/codex-spellbook/tree/main/skills/data-pipelines
Command: npx skills add https://github.com/kid-sid/codex-spellbook --skill data-pipelines-kid-sid

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the common pain points of building and maintaining production data pipelines, including non-idempotent runs that cause duplicate data, missing data quality checks that let bad data flow downstream, and inefficient orchestration that leads to failed workflows and missed SLAs.

Core Features & Use Cases

  • End-to-end orchestration guidance: Best practices for building Airflow DAGs and Prefect workflows with proper scheduling, retries, and task dependencies.
  • dbt transformation patterns: Ready-to-use templates for staging, incremental, and mart models, plus testing and source freshness configuration.
  • Production guardrails: Built-in idempotency patterns, data validation rules, and monitoring setups to prevent pipeline failures and data corruption. Use case example: If you need to build a daily revenue pipeline that extracts orders from a transactional database, transforms them with dbt, and loads aggregated results to a warehouse, this Skill provides the exact DAG structure, incremental model config, and data quality tests to implement it reliably.

Quick Start

Use the data-pipelines skill to build an idempotent daily Airflow DAG that extracts completed orders, transforms revenue values with dbt, and loads the results to a warehouse with data quality validation.

Frequently Asked Questions about data-pipelines

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build idempotent data pipelines in Airflow to prevent duplicate records?

Idempotent data pipelines ensure re-runs produce identical results without duplicating data. You can implement idempotency in Airflow using proper task retry configurations, deterministic DAG structures, and safe overwrite patterns during extraction and loading to prevent duplicate records.

What is the best way to configure dbt incremental models for large datasets?

Configuring dbt incremental models for large datasets involves using incremental load strategies to process only new or updated records. This approach uses specific materialization configurations and unique key mappings to merge or append data efficiently, reducing warehouse compute costs.

How do I add data quality checks to an ETL workflow using Great Expectations?

Adding data quality checks to an ETL workflow using Great Expectations involves defining validation rules and expectation suites for your datasets. Integrating these checks within orchestration tools like Airflow or Prefect stops bad data from flowing downstream by failing the pipeline on validation errors.

Can I use Prefect instead of Airflow for orchestrating ELT workflows and dbt models?

You can use Prefect instead of Airflow for orchestrating ELT workflows and dbt models. Prefect provides a flexible framework for scheduling and managing task dependencies, and this approach offers production-ready patterns for orchestrating transformations and ensuring reliable pipeline operations.

Why do my non-idempotent ETL jobs cause data corruption and how can I fix them?

Non-idempotent ETL jobs cause data corruption by appending duplicate or inconsistent records during pipeline re-runs. You can fix them by implementing idempotent job patterns, utilizing incremental loading strategies, and configuring proper task dependencies and retries in your orchestration tool.