
Managed Airflow DAG Authoring
Guides an agent to write and validate Apache Airflow DAGs for Google Cloud's Managed Airflow service
- Repository
- google/skills
- Stars
- 21,782
- Licence
- Apache-2.0
- Files
- 2 files
What it does
Airflow DAGs are Python files that schedule data pipelines. With this skill installed, the agent follows Google's guidance for writing DAGs for Managed Service for Apache Airflow (formerly Cloud Composer): it first checks the target environment's Airflow version and installed packages, applies best practices such as idempotent tasks, no heavy top-level code, and no hardcoded credentials, and then validates the file with linting, a local dev environment, and optionally a deployment to the cloud environment with import-error checks.
Great for
- Data engineers writing or extending Airflow pipelines on Google Cloud
- Teams migrating DAGs between Airflow 2 and Airflow 3
- Developers who want a repeatable checklist for validating DAGs before deployment
Skip it if
- General Python code unrelated to Airflow DAGs, since the skill is scoped to DAG authoring and its description says not to use it there
- Anyone who should not let an agent deploy to a production cloud environment without review, because the skill includes steps that upload files to a GCS bucket and run gcloud commands against live environments
Try asking
- “Write a new Airflow DAG that loads daily sales CSVs from GCS into BigQuery for our Composer environment”
- “Extend this DAG to add a retry-safe transform task and validate it before deploying”
- “Check whether this DAG is compatible with the Airflow 3 version of our managed environment”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 2 original files, the Apache-2.0 licence and an attribution note.
managed-airflow-dag-authoring.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip managed-airflow-dag-authoring.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip managed-airflow-dag-authoring.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Give the agent your environment name, region, and Airflow version up front so it can skip discovery steps you do not need.
- Only allow deployment steps when you have reviewed the DAG and are authorized to change the target environment; the skill itself says to deploy only with authorization.
- The skill tells the agent to read a separate attribution file and to tag gcloud commands with a usage-attribution string; expect these tags in terminal commands.
What's inside
- references/attribution.md
- SKILL.md
Redistributed unmodified from google/skills under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.