Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

gcp-managed-airflow-dag-authoring

Skill by GoogleCloudPlatform

Guides authoring and validation of Apache Airflow DAGs for Managed Service for Apache Airflow (formerly Cloud Composer). It covers environment discovery, Airflow 2 vs 3 compatibility, best practices, and local and remote checks.

  • Score 72
  • 255 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install gcp-managed-airflow-dag-authoring

Built from the published package, never by AI.

git clone --depth 1 https://github.com/GoogleCloudPlatform/data-agent-kit-plugin /tmp/data-agent-kit-plugin && mkdir -p ~/.claude/skills && cp -r /tmp/data-agent-kit-plugin/skills/gcp-managed-airflow-dag-authoring ~/.claude/skills/gcp-managed-airflow-dag-authoring

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install gcp-managed-airflow-dag-authoring in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill guides an AI assistant through writing and validating Apache Airflow DAGs for Managed Service for Apache Airflow, formerly Cloud Composer. It works in phases. First it discovers the target environment, using gcloud to read the image version, installed PyPI packages, and the DAGs GCS bucket when access is available, or relies on user-provided details when working offline. It then applies authoring best practices such as idempotent tasks, no top-level code execution, catchup=False, and using Variables and Connections instead of hardcoded values.

Validation is required before the task is considered done. Locally, the skill runs ruff or pylint and, if composer-dev is set up, checks for import errors. If the user has authorized deployment, it uploads the DAG to the environment's GCS bucket, checks import errors and DAG listings through the gcloud CLI, and reviews Cloud Logging for scheduler errors. The skill is aimed at developers creating or extending Airflow DAGs on Google Cloud.

Written from the project's SKILL.md and checked against it.

What it can do

  • Environment context discoveryReads the Airflow image version, installed packages, and DAGs bucket with gcloud.
  • Airflow 2 vs 3 compatibilityPoints to a related migrations skill to adjust DAG code for the target Airflow version.
  • Authoring best practicesCovers idempotent tasks, no top-level code, catchup=False, and using Variables and Connections.
  • Static analysisRuns ruff or pylint on the DAG file, with Airflow 3 rules when available.
  • Local validation with composer-devCopies the DAG to the local dev environment and lists import errors.
  • Deploy to GCSUploads the DAG to the target environment's bucket with gcloud storage cp.
  • Remote import error checksRuns Airflow CLI commands through gcloud to list import errors and confirm the DAG appears.
  • Cloud Logging reviewProvides a log query to find scheduler parsing errors for the DAG file.

What you need

  • gcloud CLI with access to the target Managed Airflow environment
  • composer-dev CLI for local validation (optional)
  • Local Python environment with airflow (optional)
  • ruff or pylint for static analysis

Try asking

  • Write an Airflow DAG for a daily load job in my Cloud Composer environment
  • Check this DAG for top-level code and missing catchup=False
  • Validate my DAG with ruff and check it for import errors after deploying

Good to know

  • Target environment steps run only if GCP access is available and deployment is authorized.
  • Offline use depends on details the user provides.
  • The scheduler may need 1-2 minutes to parse a newly uploaded DAG.
  • Airflow 3 rule checks run only if rulesets are available.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/gcp-managed-airflow-dag-authoring/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB

Alternatives to gcp-managed-airflow-dag-authoring

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

gcp-managed-airflow-dag-authoring: common questions

Does this skill deploy DAGs to Google Cloud automatically?

It uploads a DAG to the target environment's GCS bucket only when the user has GCP access and is authorized to deploy. Otherwise, the skill works with local files only.

Which Airflow versions does it support?

The skill covers both Airflow 2 and Airflow 3 and refers to a related migrations skill to adjust code for the target version.

How does it check that a DAG works?

It runs linting locally, checks for import errors with composer-dev or gcloud, confirms the DAG is listed, and reviews Cloud Logging for scheduler errors.

How do I install gcp-managed-airflow-dag-authoring?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is gcp-managed-airflow-dag-authoring free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is gcp-managed-airflow-dag-authoring safe to use?

It scores 72 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to gcp-managed-airflow-dag-authoring?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

gcp-managed-airflow-dag-authoring Install

Add to stack

Loading.