airflow-dag-patterns
Build production Apache Airflow DAGs with best practices for operators, sensors, testing, and deployment.
Skill by Vishwajeetsrk
Chalk Labs
Need help deploying airflow-dag-patterns?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/vishwajeetsrk-airflow-dag-patterns
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/airflow-dag-patterns
What's inside
- Skill name
airflow-dag-patterns- Description
- Build production Apache Airflow DAGs with best practices for operators, sensors, testing, and deployment. Use when cr...
- License
- MIT
- Instructions
- 114 lines in SKILL.md · view on GitHub
Files (5)
- SKILL.md
- icon.svg
- manifest.json
- details.md · references/
- skill.json
SKILL.md (first lines)
# Airflow Dag Patterns
# 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 |
| --------------- | ----------------------------------- |
| **Idempotent** | Running twice produces same result |
| **Atomic** | Tasks succeed or fail completely |
| **Incremental** | Process only new/changed data |
| **Observable** | Logs, metrics, alerts at every step |
### 2. Task Dependencies
```python
# Linear
task1 >> task2 >> task3
# Fan-out
task1 >> [task2, task3, task4]
# Fan-in
[task1, task2, task3] >> task4
# Complex
task1 >> task2 >> task4
task1 >> task3 >> task4
```
## Quick Start
```python
# dags/example_dag.py
from datetime import datetime, timedelta
from airflow import DAG
from airflow.operators.python import PythonOperator
from airflow.operators.empty import EmptyOperator
default_args = {
'owner': 'data-team',
'depends_on_past': False,
'email_on_failure': True,
'email_on_retry': False,
'retries': 3,
'retry_delay': timedelta(minutes=5),
'retry_exponential_backoff': True,
'max_retry_delay': timedelta(hours=1),
}
with DAG(
dag_id='example_etl',
default_args=default_args,
description='Example ETL pipeline',
schedule='0 6 * * *', # Daily at 6 AM
start_date=datetime(2024, 1, 1),
catchup=False,
tags=['etl', 'example'],
max_active_runs=1,
) as dag:
start = EmptyOperator(task_id='start')
def extract_data(**context):
execution_date = context['ds']
# Extract logic here
return {'records': 1000}
extract = PythonOperator(
task_id='extract',
python_callable=extract_data,
)
end = EmptyOperator(task_id='end')
start >> extract >> end
```
## Detailed patterns and worked examples
Detailed pattern documentation lives in `references/details.md`. Read that file when the navigation tier above is insufficient.
## Best Practices
### Do's
- **Use TaskFlow API** - Cleaner code, automatic XCom
- **Set timeouts** - Prevent zombie tasks
- **Use `mode='reschedule'`** - For sensors, free up workers
- **Test DAGs** - Unit tests and integration tests
- **Idempotent tasks** - Safe to retry
### Don'ts
- **Don't use `depends_on_past=True`** - Creates bottlenecks
- **Don't hardcode dates** - Use `{{ ds }}` macros
- **Don't use global state** - Tasks should be stateless
- **Don't skip catchup blindly** - Understand implications
- **Don't put heavy logic in DAG file** - Import from modulesFrom Vishwajeetsrk/Myraa, MIT.
More from Vishwajeetsrk/Myraa
- 0.592score
api-designer
Vishwajeetsrk
Use when designing REST or GraphQL APIs, creating OpenAPI specifications, or planning API architecture.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
aso-audit
Vishwajeetsrk
When the user wants a full ASO health audit, review their App Store listing quality, or diagnose why their app isn't ...
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
ncdai-writing-component-docs
Vishwajeetsrk
Write and review component documentation (MDX) and registry descriptions.
SkillAFreshness: A★ 1Claude Code +9 - 0.586score
appinsights-instrumentation
Vishwajeetsrk
Instrument a webapp to send useful telemetry data to Azure App Insights
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
ab-test-setup
Vishwajeetsrk
Design, analyze, and document A/B tests for conversion, onboarding, pricing, lifecycle, and product experiments.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
album-art-director
Vishwajeetsrk
Creates visual concepts for album artwork and generates AI art prompts.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
agent-md-refactor
Vishwajeetsrk
Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles...
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
account-research
Vishwajeetsrk
Research a company or person and get actionable sales intel.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
acestep
Vishwajeetsrk
AI music generation with ACE-Step 1.5 — background music, vocal tracks, covers, stem extraction, audio repainting, an...
SkillAFreshness: A★ 1Claude Code +9 - 0.578score
agent-workforce
Vishwajeetsrk
MYRAA specialist for Multi-Agent Workforce.
SkillAFreshness: A★ 1Claude Code +9 - 0.578score
audio-intelligence
Vishwajeetsrk
MYRAA specialist for Audio Intelligence.
SkillAFreshness: A★ 1Claude Code +9 - 0.573score
myraa_desktop_screen_file_automation_skill
Vishwajeetsrk
Screen-aware computer automation, OCR, file downloads, saving, moving, ZIP extraction, and authorized messaging.
SkillAFreshness: A★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 2
- Open issues
- 0
- Last commit (this folder)
- Sep 8, 2026 (1 month ago)
- Last release
- Oct 18, 2026 (12 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Vishwajeetsrk/Myraa
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Vishwajeetsrk
- 0.592score
api-designer
Vishwajeetsrk
Use when designing REST or GraphQL APIs, creating OpenAPI specifications, or planning API architecture.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
aso-audit
Vishwajeetsrk
When the user wants a full ASO health audit, review their App Store listing quality, or diagnose why their app isn't ...
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
ncdai-writing-component-docs
Vishwajeetsrk
Write and review component documentation (MDX) and registry descriptions.
SkillAFreshness: A★ 1Claude Code +9 - 0.586score
appinsights-instrumentation
Vishwajeetsrk
Instrument a webapp to send useful telemetry data to Azure App Insights
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
acestep
Vishwajeetsrk
AI music generation with ACE-Step 1.5 — background music, vocal tracks, covers, stem extraction, audio repainting, an...
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
account-research
Vishwajeetsrk
Research a company or person and get actionable sales intel.
SkillAFreshness: A★ 1Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get airflow-dag-patterns running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
airflow-dag-patterns skill. Agent Mart. https://agentmart.dev/skills/vishwajeetsrk-airflow-dag-patterns (last updated 2026-10-24)