airflow-dag-patterns

Installation
Summary

Production-ready patterns for Apache Airflow DAGs, operators, sensors, testing, and deployment.

  • Covers DAG design principles (idempotent, atomic, incremental, observable) with task dependency patterns for linear, fan-out, fan-in, and complex workflows
  • Includes TaskFlow API decorators for cleaner code with automatic XCom passing, dynamic DAG generation from configs, and branching with conditional logic
  • Provides sensor patterns for S3 files, external task dependencies, and custom sensors; error handling with callbacks and trigger rules; and testing strategies with pytest fixtures
  • Best practices section covers idempotency, timeouts, worker slot management, and anti-patterns like hardcoded dates and stateful tasks
SKILL.md

Apache Airflow DAG Patterns

Production-ready patterns for Apache Airflow including DAG design, operators, sensors, testing, and deployment strategies.

When to Use This Skill

  • Creating data pipeline orchestration with Airflow
  • Designing DAG structures and dependencies
  • Implementing custom operators and sensors
  • Testing Airflow DAGs locally
  • Setting up Airflow in production
  • Debugging failed DAG runs

Core Concepts

1. DAG Design Principles

Principle Description
Related skills

More from wshobson/agents

Installs
6.2K
Repository
wshobson/agents
GitHub Stars
35.3K
First Seen
Jan 20, 2026