Skip to content
Back to skills

Orchestration

ASecurity

Provides Airflow DAG templates and idempotent task patterns for pipeline orchestration; use when designing DAGs, debugging pipeline failures, or configuring retries.

  • 19 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 19, 2026
ai-agentspythondebugging

Security analysis

A100/100

Scanned October 19, 2026

npx -y skills add sawrus/agent-guides --skill orchestration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Orchestration?

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

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

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: orchestration
description: "Provides Airflow DAG templates and idempotent task patterns for pipeline orchestration; use when designing DAGs, debugging pipeline failures, or configuring retries."
---

# Skill: Pipeline Orchestration (Airflow)

## When to load

When designing DAGs, debugging pipeline failures, or configuring retries.

## DAG Template

```python
with DAG(
    dag_id="orders_pipeline",
    default_args={
        "owner": "data-platform",
        "retries": 3,
        "retry_delay": timedelta(minutes=5),
        "retry_exponential_backoff": True,
        "email_on_failure": True,
    },
    schedule="0 4 * * *",
    catchup=False,          # ← Never True; causes backfill avalanche
    max_active_runs=1,      # Prevent concurrent runs
) as dag:
    ...
```

## Idempotent Task Pattern

```python
def load_orders(execution_date: str, **context):
    """Safe to retry: DELETE + INSERT on target partition."""
    partition = execution_date[:10]
    with warehouse.connect() as conn:
        conn.execute(f"DELETE FROM stg_orders WHERE order_date = '{partition}'")
        conn.execute(f"INSERT INTO stg_orders SELECT * FROM raw_orders WHERE DATE(created_at) = '{partition}'")
```

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.

Comments

Loading comments…

Newsletter

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