authoring-java-sdk-tasks
Skill by astronomer
Writes Airflow task logic in Java, Kotlin, or other JVM languages using the Airflow Java SDK. Aimed at developers who keep their DAGs in Python and want Java tasks.
Install authoring-java-sdk-tasks
Built from the published package, never by AI.
git clone --depth 1 https://github.com/astronomer/agents /tmp/agents && mkdir -p ~/.claude/skills && cp -r /tmp/agents/skills/authoring-java-sdk-tasks ~/.claude/skills/authoring-java-sdk-tasksRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install authoring-java-sdk-tasks in Claude Code
git clone --depth 1 https://github.com/astronomer/agents /tmp/agents && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agents/skills/authoring-java-sdk-tasks ~/.gemini/antigravity-cli/skills/authoring-java-sdk-tasksAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install authoring-java-sdk-tasks in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant in writing Airflow task logic in Java, Kotlin, or any JVM language with the Airflow Java SDK. The DAG stays in Python, and each Java task is paired with a Python stub that declares the task ID, queue, dependencies, and retries. Each task instance runs in a short-lived JVM subprocess.
The skill covers the Java-specific native API, including the @Builder.Dag, @Builder.Task, and @Builder.XCom annotations and the Task and BundleBuilder interfaces. It also explains reading connections, variables, and XComs through the Client, the mapping from JSON types to Java types, and logging from tasks. Building and shipping the bundle are covered by separate skills. It is intended for developers who want to implement Airflow tasks on the JVM.
Written from the project's SKILL.md and checked against it.
What it can do
- Annotation-based tasksWrites Java classes annotated with @Builder.Dag and @Builder.Task that the annotation processor wires at compile time.
- Interface-based tasksImplements the Task interface and registers tasks in a Dag through a BundleBuilder.
- XCom injectionUses @Builder.XCom to pass an upstream task's value into a Java method parameter.
- Connections and variablesReads Airflow connections and variables from Java through the Client object.
- XCom reads and writesReads another task's XCom with getXCom and pushes a return value with setXCom.
- JSON type mappingExplains how Python int, float, str, bool, list, and dict values map to Java types.
- Task loggingShows how to set up a System.Logger in a Java task and which logging artifacts reach Airflow logs.
- Worked example referencePoints to the runnable example under java-sdk/example/ in the SDK repository.
What you need
- Apache Airflow with the Java SDK
- A Java or other JVM language toolchain
- Gradle or Maven to build the bundle
- Python DAG files with matching task stubs
Try asking
- Write a Java annotation-based task that reads the sales_db connection.
- Add a Java task that takes an upstream XCom as a long parameter.
- Show me how to log from a Java Airflow task using System.Logger.
Good to know
- The Java SDK is in preview and artifact coordinates and APIs may change.
- Each Task class needs a public no-arg constructor.
- XCom parameter types must match the stored JSON type or the task fails.
- The annotation API needs the annotation processor on the build.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/authoring-java-sdk-tasks/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to authoring-java-sdk-tasks
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
authoring-java-sdk-tasks: common questions
Can I write Airflow tasks in Kotlin with this skill?
The skill says it covers Java, Kotlin, or any JVM language using the Airflow Java SDK. The examples shown are in Java.
Do I still write DAGs in Python?
Yes. The source says the DAG stays in Python, and Java tasks are paired with Python stubs that carry no logic.
Is the Airflow Java SDK ready for production?
The source labels the Java SDK as experimental and in preview, and says its artifact coordinates and APIs may change.
How do I install authoring-java-sdk-tasks?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is authoring-java-sdk-tasks free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is authoring-java-sdk-tasks safe to use?
It scores 75 of 100. Grades: maintenance A, licence A, quality B. 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 authoring-java-sdk-tasks?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
