Use when wiring decimalPrecision on a coralogix_dashboard widget. It is a bool on classic widgets and an int32 on dynamic ones, so copying either side's code silently produces the wrong type.
77
96%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
decimalPrecision is a bool on classic widgets and an int32 on dynamic onesTrigger: adding or reviewing decimal_precision on a coralogix_dashboard widget, or copying
the block from one widget family to the other.
Fix: read the SDK field's Go type first.
DecimalPrecision *bool // classic: a switch turning value abbreviation off -> BoolAttribute
DecimalPrecision *int32 // dynamic: a count of decimal places, 0-15 -> Int64AttributeClassic widgets pair it with a separate decimal field; dynamic ones have no decimal. Say which
meaning applies in the MarkdownDescription, since the attribute name is identical.
Why: one JSON name carries two meanings. Copying a whole schema block across families gives a schema that compiles and type-checks, then rejects or misreads every value.
d49bc4c
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.