技能 编程开发 Airflow DAG 设计规范

Airflow DAG 设计规范

v20260310
airflow-dag-patterns
提供生产级 Apache Airflow DAG 的设计与部署规范,涵盖算子、传感器、测试、监控和发布流程,帮助构建可靠的数据管道与批处理工作流。
获取技能
463 次下载
概览

Apache Airflow DAG Patterns

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

Use this skill when

  • 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

Do not use this skill when

  • You only need a simple cron job or shell script
  • Airflow is not part of the tooling stack
  • The task is unrelated to workflow orchestration

Instructions

  1. Identify data sources, schedules, and dependencies.
  2. Design idempotent tasks with clear ownership and retries.
  3. Implement DAGs with observability and alerting hooks.
  4. Validate in staging and document operational runbooks.

Refer to resources/implementation-playbook.md for detailed patterns, checklists, and templates.

Safety

  • Avoid changing production DAG schedules without approval.
  • Test backfills and retries carefully to prevent data duplication.

Resources

  • resources/implementation-playbook.md for detailed patterns, checklists, and templates.
信息
Category 编程开发
Name airflow-dag-patterns
版本 v20260310
大小 5.29KB
更新时间 2026-03-11
语言