airflow-java-sdk
Skill by apache
Guides contributors to the Apache Airflow Java SDK (AIP-108). It covers the JVM-side library in java-sdk/ and the Python JavaCoordinator that launches JVM tasks.
Install airflow-java-sdk
Built from the published package, never by AI.
git clone --depth 1 https://github.com/apache/airflow /tmp/airflow && mkdir -p ~/.claude/skills && cp -r /tmp/airflow/.agents/skills/airflow-java-sdk ~/.claude/skills/airflow-java-sdkRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/apache/airflow /tmp/airflow && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/airflow/.agents/skills/airflow-java-sdk ~/.gemini/antigravity-cli/skills/airflow-java-sdkAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a contributor guide for the Airflow Java SDK, part of AIP-108. The Java SDK lets Airflow tasks run JVM code written in Java, Kotlin, or other JVM languages. The skill covers two places: the Kotlin library in java-sdk/, and the Python coordinator in task-sdk/src/airflow/sdk/coordinators/java/, which spawns the JVM subprocess.
The skill explains the public org.apache.airflow.sdk package versus the internal execution package, and how bundles are scanned for Main-Class and Airflow-Supervisor-Schema-Version manifest attributes. It lists the Gradle and Breeze commands used for tests, and describes how to update the coordinator and upgrade the Supervisor Schema client. It is aimed at developers who are working on the Java SDK or preparing a pull request.
Written from the project's SKILL.md and checked against it.
What it can do
- Package boundary checksEnforces that user code imports only from org.apache.airflow.sdk, not the execution package.
- Bundle discovery explanationDescribes how the coordinator finds Main-Class and schema version in bundle JARs.
- Test command guidanceLists Gradle commands via ./gradlew and Breeze commands for the Python coordinator.
- Coordinator update guidanceExplains that subclasses implement _build_execute_task_command, which returns argv and schema version.
- Schema client upgrade stepsOutlines regenerating models with generateJsonSchema2Pojo and updating execution/Client.kt.
- Key file mapLists the main Java SDK and coordinator files and their purposes.
What you need
- Breeze for running Python coordinator tests
- Gradle wrapper (./gradlew) inside java-sdk/
- uv for running the end-to-end test suite
Try asking
- Check whether my new import breaks the Java SDK public API boundary
- Explain how JavaCoordinator finds Main-Class in a bundle
- Which Gradle and Breeze commands should I run before opening a PR?
Good to know
- The org.apache.airflow.sdk.execution package is internal and may change without notice.
- Coordinator tests must run through Breeze, not pytest directly on the host.
- Gradle must be run with ./gradlew, not apt's gradle.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/airflow-java-sdk/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to airflow-java-sdk
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
airflow-java-sdk: common questions
What does the Airflow Java SDK let tasks do?
It lets Airflow tasks execute JVM code, including Java, Kotlin, or any other JVM language. The Python JavaCoordinator launches the JVM subprocess to run them.
How does the coordinator start a Java task?
It runs java with a classpath and the Main-Class from the bundle JARs, passing --comm and --logs arguments. The Main-Class must have a public static void main method.
Which tests should I run for Java SDK changes?
Run Gradle commands with ./gradlew from inside java-sdk/ and use Breeze for the Python coordinator tests. Do not run pytest directly on the host.
How do I install airflow-java-sdk?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is airflow-java-sdk free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is airflow-java-sdk safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, quality A. 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 airflow-java-sdk?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
