协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
authoring-task-sdk【开发与工程】Write, migrate, debug, and review Airflow 3 Dag authoring code using airflow.sdk and Task SDK public interfaces.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about author-facing Airflow 3 Dag code: creating Dags, migrating Airflow 2 imports, reviewing TaskFlow or standard provider operators, diagnosing Dag discovery/import issues, and validating that a Dag file is parseable and discoverable.
references/api-reference.md for verified imports, signatures, public-interface boundaries, and standard provider operator signatures.references/workflows.md for task-oriented recipes: new Dag, import migration, dependencies, task groups, dynamic task mapping, assets, timetables, Params, XCom/context, TaskFlow, and standard operators/sensors.references/troubleshooting.md for parse/import failures, discovery heuristics, schedule/Param/template mistakes, metadata DB access restrictions, async/deferrable confusion, and optional Graphviz issues.scripts/validate_dag_file.py for a bundled safe parse/import helper that validates one Dag file without depending on the original repository checkout.This sub-skill covers author-facing Python APIs used in Dag files:
airflow.sdk.DAG or @dag, including schedule, start_date, catchup, params, tags, task_group, fail_fast, allowed_run_types, deadline, disable_bundle_versioning, and rerun_with_latest_version.@task, @task.branch, provider decorators exposed under @task.<provider>), @task_group, dependency helpers, dynamic task mapping, and XComArg wiring.Asset, AssetAlias, inlet/outlet events, asset expressions, and mixed asset/time schedules.Prefer validating changed Dag files with the bundled helper before recommending broader operational commands:
python skills/apache-airflow/sub-skills/authoring-task-sdk/scripts/validate_dag_file.py path/to/dag_file.py --list-dags
python skills/apache-airflow/sub-skills/authoring-task-sdk/scripts/validate_dag_file.py path/to/dag_file.py --expect-dag-id example_dag
Use --repo-root only when the user explicitly wants the helper to import packages from a current checkout. Do not bake local checkout paths into Dag code or skill documentation.