areas/software/data-engineering/skills/orchestration/SKILL.md
# 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 avalanch
npx skillsauth add sawrus/agent-guides areas/software/data-engineering/skills/orchestrationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When designing DAGs, debugging pipeline failures, or configuring retries.
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:
...
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}'")
testing
QA Expert for writing E2E tests, test scenarios, test plans, and ensuring test coverage quality.
development
Expert UI/UX design intelligence for creating distinctive, high-craft, and mobile-first interfaces. Focuses on premium aesthetics, touch-first ergonomics, and Flutter performance.
development
Code Review Expert for static analysis, security auditing, architecture review, and ensuring code quality standards.
development
Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep watching open PRs so fresh review feedback is surfaced promptly. Use when the user asks Codex to monitor a PR, watch CI, handle review comments, or keep an eye on failures and feedback on an open PR.