Skip to content
Back to skills

Airflow Orchestration

ASecurity

Build idempotent Airflow DAGs with logical date partitioning, bounded sensors, safe backfills, and clean dependency isolation

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 30, 2026
ai-agentsdebuggingdatabase

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add AdityaaaTiwari/ANVIL --skill airflow-orchestration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Airflow Orchestration?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Airflow Orchestration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adityaaatiwari-airflow-orchestration-anvil/badge)](https://www.skillsdirectory.com/skills/adityaaatiwari-airflow-orchestration-anvil)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: airflow-orchestration
description: Build idempotent Airflow DAGs with logical date partitioning, bounded sensors, safe backfills, and clean dependency isolation
---

<!-- Generated by `anvil plugin build` from catalog/. Edit the catalog, not this file. -->

# Airflow orchestration

Use when authoring or debugging Apache Airflow DAGs, operators, sensors, and scheduled ETL jobs.

## Scheduling and idempotency
- Parameterize reads and writes strictly by execution interval (`data_interval_start`, `data_interval_end`) rather than calling `datetime.now()` inside tasks, ensuring deterministic retries and historical backfills.
- Keep top-level DAG files lightweight: avoid database queries, network calls, or heavy library imports outside tasks so the Airflow scheduler parses files quickly without timeouts.
- Write outputs atomically (`DELETE` partition + `INSERT` or staging table swap) so partial task failures leave zero duplicate rows on retry.

## Concurrency and sensors
- Use `deferrable=True` (or `mode="reschedule"`) plus explicit `timeout` on Sensors instead of `poke` mode so waiting tasks do not tie up worker slots indefinitely.
- Configure `max_active_runs`, task `retries`, `retry_delay`, `execution_timeout`, and resource `pool` limits on memory/DB-heavy tasks.

## Verify
Run DAG import validation (`pytest` checking `DagBag().import_errors == {}`), dry-run task tests on isolated temp partitions, and test re-running the same logical date twice.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.