A frozen prior schema must not share a schema helper
SkillCloud & infraUse when widening a shared coralogix_dashboard widget schema helper like LineChartSchema(). Checks whether dashboard_schema/v1..v3 also use it; prior schemas must stay frozen.
Use A frozen prior schema must not share a schema helper in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add A frozen prior schema must not share a schema helper and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the A frozen prior schema must not share a schema helper skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by coralogix/terraform-provider-coralogix in .claude/skills/frozen-prior-schema-must-not-share-helpers/SKILL.md and read by Ahel’s review.
Trigger: You are about to widen a schema helper such as LineChartSchema(). Before editing,
check who else calls it:
rg "LineChartSchema\(\)" internal/provider/dashboards/dashboard_schema
If a v1.go..v3.go calls it, your new attribute lands in that prior version too.
Fix: Give the prior version its own frozen copy and point it there. Name it for the version it serves, keep it in the same package, and say in a comment that it must not be redirected back:
// v3.go
"line_chart": dashboardwidgets.LineChartSchemaV3(), // frozen snapshot, not the shared helper
TestPriorSchemasStayFrozen in
internal/provider/dashboards/dashboard_schema/frozen_prior_schema_test.go fingerprints V1 to V3
and fails on any change, including one made through a shared helper. Run it after touching any
helper; a failure means you widened a prior schema, not that the fingerprint is stale.
Why: Prior schema versions exist only to decode state written by older provider releases. Widening one changes how that old state is interpreted. Most prior versions in this repo declare widgets inline for exactly this reason — a shared helper is the exception, and it is the one that bites. Duplication is correct here: a frozen snapshot is meant to drift from the current schema.
Signals
- GitHub stars
- 22
- Forks
- 14
- Last commit
- Oct 2026
Advanced
- Item type
- skill
- Key
frozen-prior-schema-must-not-share-helpers- Source
- github.com/coralogix/terraform-provider-coralogix
github.com/coralogix/terraform-provider-coralogix
Related picks
Skill · samber
The pick for Gogo-sdk-specialist
Skill · a5c-ai
The pick for Govercel-react-best-practices
Skill · vercel-labs
More in Cloud & infraweb-design-guidelines
Skill · vercel-labs
More in Cloud & infraturborepo
Skill · vercel
More in Cloud & inframicrosoft-foundry
Skill · microsoft
More in Cloud & infra