doca-argp
SKILLTrigger on implicit phrasings: "add a custom flag to a DOCA sample", "should I use getopt here", "BAD_STATE registering a new param", "my JSON config key is rejected".
What it does
Trigger on implicit phrasings: "add a custom flag to a DOCA sample", "should I use getopt here", "BAD_STATE registering a new param", "my JSON config key is rejected", or "my sample's --json is ignored". Refuse and route elsewhere for variadic-flag / subcommand / shell-completion features, DOCA Core context, or DOCA Log internals.
How to set it up
Use this skill for hands-on DOCA Arg Parser CLI work on a shipped sample or new DOCA-using app — adding / removing / renaming flags; wiring → register params → → in order; picking a parameter type from the full public enum (,,,,, — six values, not three); preserving the built-in DOCA flags ( /, NOT ); is per-program; or debugging / / / from.
doca_argp_initdoca_argp_startdoca_argp_destroyDOCA_ARGP_TYPE_STRING_INT_BOOLEAN_DEVICE_DEVICE_REP_DOUBLE-h-v-l--sdk-log-level--log-filter-j--json--json-config--deviceDOCA_ERROR_BAD_STATEINVALID_VALUENOT_SUPPORTEDIO_FAILEDdoca_argp_*