Contribution tooling

From VectorSpaceLab/AREX-Skill · View interactive version

Contribution tooling is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Contribute safely to the Apache Airflow monorepo with repo-specific tooling, validation, documentation, and PR conventions.

How to use this skill

Skill file

<!-- SPDX-License-Identifier: Apache-2.0 -->

Contribution Tooling

Use this sub-skill when changing the Airflow repository itself: Python code, Task SDK, airflowctl, providers, docs, UI, Helm chart, CI/dev tooling, database migrations, generated files, or PR preparation.

Start Here

  1. Read references/repo-map.md to identify the owning distribution, nested rules, and likely tests.
  2. Read references/development-workflows.md before running commands; it contains the Airflow-specific Breeze, uv, and prek rules.
  3. Read references/change-patterns.md for docs, newsfragment, changelog, generated-file, API, migration, provider, chart, and PR conventions.
  4. Use references/troubleshooting.md when setup, Docker, Breeze, docs, generated files, or mypy caches fail.
  5. Optionally run scripts/select_test_command.py with changed paths to get a quick first-pass command list, then refine with the real Airflow selective checks before final PR readiness.

Non-Negotiable Rules

Quick Validation Flow

# First-pass recommendations from changed paths.
uv run skills/apache-airflow/sub-skills/contribution-tooling/scripts/select_test_command.py <changed-file> [...]

# Authoritative CI-oriented selector once a commit/ref exists.
breeze selective-checks --commit-ref <commit_with_squashed_changes>

# Fast static checks before PR handoff.
prek run --from-ref <target_branch> --stage pre-commit

When To Route Elsewhere

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.