airflow-dag-patterns – skill DevOps & Hạ tầng cho agent AI
Xây dựng Apache Airflow DAG sẵn sàng production theo best practices cho operator, sensor, kiểm thử và triển khai. Dùng khi tạo pipeline dữ liệu, điều phối workflow hoặc lên lịch batch job.
Cài skill airflow-dag-patterns bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/airflow-dag-patterns-e999d.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /airflow-dag-patterns – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/airflow-dag-patterns-e999d.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $airflow-dag-patterns – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/airflow-dag-patterns-e999d.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /airflow-dag-patterns – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/airflow-dag-patterns-e999d.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /airflow-dag-patterns – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
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
1. Identify data sources, schedules, and dependencies.
2. Design idempotent tasks with clear ownership and retries.
3. Implement DAGs with observability and alerting hooks.
4. 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.
Skill liên quan
- cost-optimization – Tối ưu chi phí cloud trên AWS, Azure, GCP và OCI qua rightsizing tài nguyên, chiến lược…
- box – Box quản lý file đám mây, chia sẻ, tìm kiếm và metadata.
- amazon-alexa – Tích hợp đầy đủ với Amazon Alexa để tạo skill giọng nói thông minh, biến Alexa thành trợ…
- cloudflare-temporary-deploy – Triển khai Worker trực tiếp, không cần tài khoản, qua wrangler --temporary.
- deployment-pipeline-design – Thiết kế pipeline CI/CD nhiều giai đoạn với cổng phê duyệt, kiểm tra bảo mật và điều…
- distributed-tracing – Triển khai distributed tracing với Jaeger và Tempo để theo dõi request qua các…
- competitor-news-monitor – Theo dõi các công ty được chỉ định để nắm tin tức quan trọng; tổng hợp bản tin có trích…
- hunt-cloud-misconfig – Săn tìm cấu hình sai trên cloud và hạ tầng. AWS: S3 bucket công khai (s3:GetObject ẩn…