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

testing-dags

Skill by astronomer

Runs iterative test, debug and fix cycles for Airflow DAGs using the af CLI. It is for multi-step requests where a DAG should be tested and repaired until it succeeds.

  • Score 78
  • 465 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install testing-dags

Built from the published package, never by AI.

git clone --depth 1 https://github.com/astronomer/agents /tmp/agents && mkdir -p ~/.claude/skills && cp -r /tmp/agents/skills/testing-dags ~/.claude/skills/testing-dags

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

Step-by-step: install testing-dags 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 testing Airflow DAGs with af commands. The assistant triggers a DAG and waits for the run to finish. If the run fails, it pulls the run diagnosis and task logs, identifies the root cause, applies a fix, and retests until the DAG succeeds. The skill also covers quick checks with the Astro CLI, such as astro dev parse and astro dev pytest.

The skill is meant for multi-step requests such as "test this dag and fix it if it fails" or "run the pipeline and troubleshoot issues". The source says simple test requests are handled directly by the airflow entrypoint skill. It is intended for users working on Airflow DAGs who want an iterative test-debug-fix loop.

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

What it can do

  • af runs trigger-waitTriggers a DAG run and waits for it to complete, with an optional timeout.
  • af runs diagnoseReturns run metadata, task instance states, failed task summary and state counts.
  • af tasks logsGets task logs for a run, optionally for a specific retry attempt.
  • af dags errorsShows parse errors such as syntax issues or missing dependencies that stop a DAG loading.
  • af config connections and variablesLists Airflow connections and variables to check configuration during fixes.
  • astro dev parse and pytestQuick validation of DAG parsing and pytest tests when the Astro CLI is available.

What you need

  • af CLI on PATH, or access to astro otto
  • Install option: uv tool install astro-airflow-mcp
  • A running Airflow instance for end-to-end testing
  • Astro CLI for quick validation commands (optional)

Try asking

  • Test my_dag and fix it if it fails.
  • Run the pipeline and troubleshoot any issues.
  • Diagnose the failed run for my_dag and show the task logs.

Good to know

  • For simple test requests, the airflow entrypoint skill handles the task directly.
  • Quick validation commands need the Astro CLI.
  • End-to-end testing requires a live Airflow instance.

Security check

A

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

Checked automatically: skills/testing-dags/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to testing-dags

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

testing-dags: common questions

When should I use the testing-dags skill instead of a simple test request?

The source says this skill is for iterative test-debug-fix cycles and multi-step testing requests. Simple requests like "test dag" or "run dag" are handled directly by the airflow entrypoint skill.

Does the skill run the DAG before checking anything else?

Yes. The source says the first action should be to trigger the DAG with af runs trigger-wait, and debugging only starts if the run fails.

What happens if the DAG run times out?

The source says the DAG is still running. The user can check the current status with af runs get, choose to keep waiting, or increase the timeout and try again.

How do I install testing-dags?

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

Is testing-dags free?

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

Is testing-dags safe to use?

It scores 78 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 testing-dags?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

testing-dags Install

Add to stack

Loading.