Install any skill in seconds. Free to start, no credit card required.
Get Started Free →nvidia/doca-programming-guide
Use this skill when the user is writing their first DOCA app or asking a library-agnostic programming question — picking a shipped sample to copy and modify, wiring the canonical pkg-config doca-{library} + meson build (or FFI from Rust / Go / Python against the public C ABI), walking the cfg-create → init → start → use → stop → destroy lifecycle, validating a spec before commit, or decoding a DOCA_ERROR_* return with doca_error_get_descr(). Trigger even when the user does not say "DOCA programm
Passed 15 of 22 test cases with the skill, and 12 of 22 without it.
and 3 more in the full report
4 fixed11 passed either way6 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 4 test cases the skill fixed. Same model, same prompt, with and without the skill.
I am setting up a fresh BlueField DPU host and DOCA is not yet installed. How do I configure hugepages and run the official DOCA NGC container on my host? Please provide the shell commands.
| Checked | Without skill | With skill |
|---|---|---|
| Directs the user to the doca-setup skill for host environment preparation. | Missed | Passed |
| Refrains from presenting DOCA object lifecycle programming workflows. | Passed | Passed |
The instructions your model reads when the skill loads.
Where to start: Read ## Audience to confirm the user
is consuming DOCA, not contributing to it. Then jump to the H2
that matches the verb (## modify for first-app derivation,
## build for the canonical build pattern, ## test for the test
loop, ## debug for the program-class debug ladder).
These are the CLASSES of program-class questions the skill is built to answer, each with one worked example. Library-specific overlays (Flow / DMS / Caps / …) live in the matching library skill; this skill answers the library-agnostic shape.
TASKS.md ## modify plus the canonical build
pattern in TASKS.md ## build.doca_rdma_*?"
Answered by the pkg-config doca-<library> pattern in
TASKS.md ## build (C/C++ Track 1) and the
FFI/bindings pattern in Track 2.doca_flow_pipe_* calls in my
program?" Answered by the cfg-create / init / start / use / stop /
destroy template in CAPABILITIES.md ## Capabilities and modes.DOCA_ERROR_* came back — what does it mean and what do I do?"
— worked example: "My code got DOCA_ERROR_BAD_STATE." Answered
by the cross-library doca_error_get_descr() rule in
CAPABILITIES.md ## Error taxonomy
TASKS.md ## debug.CAPABILITIES.md ## Safety policy
and the layered program-class debug ladder intest cases passed, vs 12 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.