doca-structured-tools-contract
DOCA structured-tools contract
Host checks. Commands here that inspect the user's DOCA host (listing or reading
/opt/mellanox/doca, release files such as/etc/mlnx-releaseor/etc/nvidia/bf-release,/dev/mst) or reach the BlueField (RShim, SSH, BMC) are for that host. Run them yourself only if the user confirms you are on it; otherwise answer from this skill, give the commands for the user to run, and treat values you can't see as unknown.
Where to start: Reach for this skill whenever a workflow says
“prefer the structured tool per doca-structured-tools-contract”.
Read ## The agent behavior contract
first, then the matching schema in ## Schemas. If the
host has the structured tool, prefer its output; if not, fall back to
the manual chain in the same section and always report which path
was taken.
Scope boundary. Writing library code is not a structured-tools question: name the library skill and stop. Checking a spec before commit IS in scope: apply the validate-before-commit schema.