Use this skill when the user asks to "add a command", "implement cx <something>", "new subcommand", "new CLI command", "add a new cx command", "create a command", "add subcommand", "implement a new command", "build a cx command", "wire up a new command", "extend the CLI", "add an API to cx", "new cx feature", "integrate a Coralogix API", or wants to add new functionality to the cx CLI. Use this even when the user describes a feature that implies a new command without saying "command" explicitly.
REST API layer conventions
camelCase serde attr
100%
100%
Vec default attr
100%
100%
Option for optional fields
100%
100%
BASE_PATH constant
100%
100%
CxClient borrow
100%
100%
Happy-path deser test
100%
100%
Empty-list deser test
100%
100%
Missing-optional deser test
100%
100%
HTTP only
100%
100%
Command module fan-out and rendering
pub mod api declaration
100%
100%
include_profile boolean
100%
100%
render_table for text
100%
100%
render_json for JSON
100%
100%
toon_encode for agents
100%
100%
Fan-out errors non-fatal
100%
100%
Status messages to stderr
100%
100%
No stdout pollution
100%
100%
Module registration
100%
100%
CLI wiring and test structure
Commands enum variant
100%
100%
Subcommand enum defined
100%
100%
Dispatch match arm
100%
100%
Unit test location
0%
0%
Integration test with wiremock
100%
100%
E2E test with assert_cmd
100%
100%
No e2e for mutating ops
0%
100%
discover_* fn for ID
100%
100%
OnceLock cache
100%
100%
e2e.rs module declaration
100%
100%
defdc4d
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.