airflow-dag-patterns
できること
このツールは、Apache Airflow向けに、ベストプラクティスに沿って自動化されたワークフロー(DAGと呼ばれます)を作る手助けをします。ワークフローが堅牢で、テストしやすく、本番環境で使える状態になるようにします。
使う場面
- ✓データを自動で処理する仕組みを作るとき。
- ✓順番に実行する必要がある一連の作業を整理したいとき。
- ✓決まった時刻に実行されるジョブを設定したいとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/airflow-dag-patterns/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“毎日の売上データを処理するAirflowのワークフローを作成し、何か問題が起きたら通知するようにしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIは、実績のあるパターンを使ってワークフローを構成します。タスク同士のつながり方、エラーの扱い方、実行状況の監視方法を定義します。作業を繰り返し実行しても安全に動くことを重視します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
- Identify data sources, schedules, and dependencies.
- Design idempotent tasks with clear ownership and retries.
- Implement DAGs with observability and alerting hooks.
- 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.mdfor detailed patterns, checklists, and templates.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
よくある質問
DAGとは何ですか?
DAGは「有向非巡回グラフ(Directed Acyclic Graph)」の略です。Airflowでは、ワークフローを定義する方法で、タスクと実行順序を示します。
なぜ「ベストプラクティス」を使うのですか?
ベストプラクティスに従うと、ワークフローの信頼性が高まり、理解や保守がしやすくなり、障害も起きにくくなります。特に、プロジェクトが大きくなったり複数人で関わったりする場合に効果的です。
このツールを使うべきでないのはどんなときですか?
たまに実行する単純なスクリプトだけが必要な場合や、Airflowを使っていない場合は、このツールは適していないかもしれません。
詳細
作者による元の説明
Build production Apache Airflow DAGs with best practices for operators, sensors, testing, and deployment. Use when creating data pipelines, orchestrating workflows, or scheduling batch jobs.
人気
- GitHubのスター
- 48k
- ランキング
- #3726
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。