Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
apache-airflow【部署与运维】Route Apache Airflow repo tasks across Dag authoring, operations, providers, deployment, and contribution workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a task names Apache Airflow, the apache-airflow Python package, the Airflow monorepo, Airflow Dags, Task SDK, airflow/airflowctl, providers, official Docker images, Helm chart, Breeze, or Airflow contribution rules.
This skill is a router. Read the nearest sub-skill for workflow depth and use repo-level references only for shared context.
references/repo-provenance.md before relying on this skill for a checkout; refresh the skill if the commit, dirty state, or public package versions no longer match.references/troubleshooting.md for cross-cutting installation, import, routing, and validation failures.scripts/check_airflow_skill_environment.py for a quick installed-package and helper-script check when a Python environment is available.sub-skills/authoring-task-sdk/ — write, migrate, validate, or debug Airflow 3 Dag authoring code using airflow.sdk, Task SDK, TaskFlow, dynamic task mapping, assets, timetables, Params, XCom/context, and standard provider operators/sensors.sub-skills/operations-cli-api/ — install or run Airflow, inspect configuration, use airflow or airflowctl, choose Stable REST API vs CLI, operate core components, test/backfill Dags from the command line, and troubleshoot metadata DB/API/server state.sub-skills/providers-extensions/ — use provider packages, standard operators/sensors/hooks, custom operators/hooks/sensors, plugins/listeners/timetables/notifiers/extra links, provider metadata, and provider package conventions.sub-skills/deployment-helm-docker/ — plan or debug deployments with the official Helm chart and Docker images, including chart values, custom images, Dag delivery, logs, secrets/config, migrations, and autoscaling.sub-skills/contribution-tooling/ — change the Airflow repository safely with Breeze, uv, prek, selective checks, docs/news/changelog rules, generated-file constraints, PR conventions, and component-specific tests.authoring-task-sdk even if the symptom appears through airflow dags test; return to operations-cli-api only for command/config execution details.providers-extensions for package/extras/provider metadata and authoring-task-sdk for Dag structure.deployment-helm-docker for image/Dag delivery and operations-cli-api for component/database diagnosis.contribution-tooling first, then route to the domain sub-skill for product behavior.apache-airflow, apache-airflow-core, apache-airflow-task-sdk, apache-airflow-ctl, and apache-airflow-providers-standard.airflow, airflow.sdk, airflowctl, and airflow.providers.standard.[all] extras unless the user explicitly needs broad provider coverage.airflow.sdk; avoid internal metadata DB access from task code.scripts/check_airflow_skill_environment.py checks installed distribution metadata/imports and confirms bundled helper scripts are present.DAG, dag_id, dag, airflow dags list, and get_dag exactly.