agentleFS
NVIDIAKnown publisherNVIDIA/cudf/.agents/skills/build-test-cudf-java/SKILL.md

build-test-cudf-java

Skill9.8k starsChanged 3 months agoApache-2.0View on GitHub

Build and test cudf Java bindings (cudf-java) inside a cudf devcontainer. Use when the user asks to build, compile, or test Java code in the cudf repository.

  • Installs packages

Trending

More talk lately.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 2 mentionsOct 2026: 7 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the NVIDIA/cudf repository that our weekly crawl found: only 9 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about NVIDIA/cudf

The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 9

Talked about on GitHub (9 times).

On GitHub · 9

4 more on GitHub

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ensure JDK (17+) and Maven are installed:

    line 12
  2. Distinctive:

    If either is missing, detect the OS and install using the appropriate package manager.

    line 18
  3. Very specific:

    Run all Maven commands below from the java/ directory.

    line 27
  4. Distinctive:

    Prefer the installed nightly package when the changes are limited to Java or JNI and the user has not requested a libcudf source rebuild:

    line 31
  5. Distinctive:

    Use a local libcudf source build when the changes affect libcudf, require unreleased libcudf headers or symbols, no compatible nightly …

    line 35
  6. Very specific:

    Use the named main-tests execution for specific ordinary tests so -Dtest does not affect the separately configured executions.

    line 73

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Build and Test cudf-java

Prerequisites

JDK and Maven

Ensure JDK (17+) and Maven are installed:

java -version && mvn --version

If either is missing, detect the OS and install using the appropriate package manager. Hints:

  • Debian/Ubuntu (apt): sudo apt-get update -qq && sudo apt-get install -y -qq default-jdk maven
  • Fedora/RHEL (dnf): sudo dnf install -y java-17-openjdk-devel maven
  • Arch (pacman): sudo pacman -S --noconfirm jdk17-openjdk maven
  • macOS (brew): brew install openjdk@17 maven

Detect the OS by checking which package manager is available (e.g. command -v apt-get, command -v dnf, etc.) and use the matching command.

Run all Maven commands below from the java/ directory.

Choose a libcudf provider

Prefer the installed nightly package when the changes are limited to Java or JNI and the user has not requested a libcudf source rebuild:

  • Build JNI against an installed nightly libcudf, then continue at Running Java tests.

Use a local libcudf source build when the changes affect libcudf, require unreleased libcudf headers or symbols, no compatible nightly exists, or the user explicitly requests a source build:

  • Build JNI against a local libcudf build, then continue at Running Java tests.

Running Java tests

Always run mvn install $MVN_COMMON_OPTS -DskipTests first before running tests. The mvn test goal re-triggers the cmake/native build step. If target/cmake-build already contains fully built artifacts from a prior mvn install, this is an incremental no-op. But if the cmake-build directory was cleaned or is missing, mvn test may hit a race condition where the linker tries to link libcudfjni.so before libarrow.a is fully built, causing a cannot find libarrow.a error. If this happens, re-run mvn install $MVN_COMMON_OPTS -DskipTests to rebuild the native code cleanly, then retry mvn test.

All tests

mvn test $MVN_COMMON_OPTS

The POM routes tests that need special assertion or fork behavior to dedicated Surefire executions.

Discovering tests

Java test sources are at src/test/java/ai/rapids/cudf/. Use find or glob to discover test classes:

find src/test/java -name "*Test.java" | head -20

Specific test class

mvn surefire:test@main-tests $MVN_COMMON_OPTS \
  -Dtest="<ClassName>"

Specific test method

mvn surefire:test@main-tests $MVN_COMMON_OPTS \
  -Dtest="<ClassName>#<testName>"

Use the named main-tests execution for specific ordinary tests so -Dtest does not affect the separately configured executions.

Tests with special configuration

Invoke tests that require special configuration through their dedicated executions:

mvn surefire:test@non-empty-null-test $MVN_COMMON_OPTS
mvn surefire:test@fatal-cuda-test $MVN_COMMON_OPTS
mvn surefire:test@native-deps-loader-test $MVN_COMMON_OPTS

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.