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

build-test-cudf

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

Use this skill to build and test code changes inside a cudf devcontainer.

Trending

Quiet since October.thin dataabout the whole repository

Jan 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 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 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

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When rebuilding a package, ensure its dependencies are already built.

    line 19
  2. Distinctive:

    If there are build errors, cleaning before building will usually resolve problems.

    line 78
  3. Very specific:

    Make sure to run clean-cudf after running this for a fresh subsequent build.

    line 84
  4. Very specific:

    Make sure that libcudf has been built before running any of these.

    line 88

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Check if we are in devcontainer

Detect cudf devcontainer usage by checking if the username is coder. If not, ignore everything else in this file and skip.

Building cudf

cudf packages must be built in this order as needed (each depends on the previous):

  1. C++ library (libcudf)
  2. Python wheel wrapper for the C++ library
  3. Cython bindings (compiles .pyx files)
  4. high-level Python packages

When rebuilding a package, ensure its dependencies are already built. Since we are in cudf devcontainer, DO NOT run the build.sh script or install any packages yourself. Instead, always use the build-*, test-*, rapids-*, clean-* scripts located at /usr/bin.

Building libcudf

Whenever building libcudf from scratch (CMake has not been run before), run:

build-cudf-cpp -j0

For incremental builds, you can also just navigate to cpp/build/latest and run:

ninja

CMake options

Both build-cudf-cpp and configure-cudf-cpp accept CMake -D options directly as arguments. See cpp/CMakeLists.txt for a full list of available CMake options

# Default option
build-cudf-cpp -j0 -DBUILD_BENCHMARKS=ON
# Multiple options can be combined
build-cudf-cpp -j0 -DBUILD_BENCHMARKS=ON -DBUILD_TESTS=OFF

Similarly, configure without building:

configure-cudf-cpp -DBUILD_BENCHMARKS=ON

Building python wheel wrapper

build-libcudf-python

Cython bindings (pylibcudf)

build-pylibcudf-python

High-level Python packages

build-cudf-python        # cudf-python
build-cudf-polars-python # cudf-polars

Clean up

Similar to build instructions, we can use clean-cudf-xxx scripts also located at /usr/bin. Use clean-cudf to clean everything.

Build error handling

If there are build errors, cleaning before building will usually resolve problems. If we run into a fatal CMake error while building libcudf indicating packages/version mismatch, update the environment using the following script. If the error persists, use --force flag with the script

rapids-make-${PYTHON_PACKAGE_MANAGER}-env

Make sure to run clean-cudf after running this for a fresh subsequent build.

Running Google tests

Make sure that libcudf has been built before running any of these. Discover all Google test name binaries at cpp/build/latest/gtests and run relevant Google tests using test-cudf-xxx script located at /usr/bin.

test-cudf-cpp -j10             # all tests 10 parallel jobs
test-cudf-cpp -R <NAME>_TEST   # specific test suite
cd cpp/build/latest/gtests && <NAME>_TEST --gtest_filter="<pattern>" # Run tests matching the <pattern> from the <NAME>_TEST

Running Pytests

These instructions are applicable for running tests for pylibcudf and high-level python packages. Make sure that the package has been built before running its pytests. Pylibcudf tests can be discovered at: python/pylibcudf/tests and subfolders. Run them using:

pytest python/pylibcudf/tests/<subfolder>/test_<name>.py # specific pylibcudf test suite

cudf-python pytests can be discovered at: python/cudf/cudf/tests and subfolders. Run them using:

test-cudf-python # run all cudf-python Pytests
pytest python/cudf/cudf/tests/<subfolder>/test_<name>.py # specific cudf-python test suite

Similarly, cudf-polars pytests can be discovered at: python/cudf_polars/tests and subfolders. Run them using:

test-cudf-polars-python

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.