decimalPrecision is a bool on classic widgets and an int32 on dynamic ones

SkillCloud & infra

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.

Use decimalPrecision is a bool on classic widgets and an int32 on dynamic ones in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add decimalPrecision is a bool on classic widgets and an int32 on dynamic ones and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the decimalPrecision is a bool on classic widgets and an int32 on dynamic ones skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

decimalPrecision is a bool on classic widgets and an int32 on dynamic onesStart free

What this skill tells your AI

The instructions your AI receives, as published by coralogix/terraform-provider-coralogix in .claude/skills/classic-vs-dynamic-decimal-precision/SKILL.md and read by Ahel’s review.

Trigger: 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      -> Int64Attribute

Classic 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.

Signals

GitHub stars
22
Forks
14
Last commit
Oct 2026
Advanced
Item type
skill
Key
classic-vs-dynamic-decimal-precision
Source
github.com/coralogix/terraform-provider-coralogix