CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

missing-enum-stays-null

Use when a missing enum reads as its first value, or a field with x-coralogix-presence flattens to a business value. Keep that reading on the field default.

64

Quality

81%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

A missing enum stays null

Trigger: Flatten writes the first enum value for a nil pointer, or a field with x-coralogix-presence reads back as a business value.

Fix: Leave the generator reading a missing enum as null. Put the resource's reading on the field line as a string default. Do not apply that reading when the field has presence.

Why: Presence means the value was not set. A first-value fallback applies to every business-first enum, including those.

Repository

coralogix/terraform-provider-coralogix

Path

.claude/skills/missing-enum-stays-null/SKILL.md

Last updated
First committed

Is this your skill?

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.