dag-factory

Installation
SKILL.md

dag-factory

Declarative Airflow DAGs from YAML. Detect the repo's dialect before writing YAML. Official Astronomer skill targets PyPI dag-factory v1+ (list-format tasks). Many production repos still use a vendored plugin and map-format tasks keyed by task_id. Mixing the two breaks parse.

1. Detect dialect

rg -n "load_yaml_dags|from dagfactory|from plugins.dagfactory" --glob '*.py' dags plugins | head
rg -n "^  tasks:" -g '*.yaml' -g '*.yml' -A 6 | head -40
Signal Dialect
from plugins.dagfactory import load_yaml_dags (or similar in-repo plugin) map - tasks.<task_id>.operator
from dagfactory import load_yaml_dags + dag-factory>=1 in deps list - tasks: [{task_id, operator}]
tasks: then a nested key that is a task id, not - task_id: map
tasks: then - task_id: list

Match neighboring YAML in the same folder. Do not "modernize" map-format files to list-format unless the user asks and the loader is PyPI v1+.

Installs
1
Repository
vanducng/skills
GitHub Stars
8
First Seen
Oct 22, 2026
Security Audits