Use when recording or reviewing a handwritten Terraform resource's protocol golden baseline before generator migration. Check schema, writes, reads, and omitted fields.
89%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Trigger: A resource needs protocol goldens before it switches to generated code.
Fix: Check the full schema and each operation before recording goldens:
Record current behavior from the handwritten resource on the target base commit. Keep the baseline change limited to tests, fixtures, and notes. Link each observed behavior to a golden. Do not silently fix provider behavior in the baseline PR.
empty or unknown, in the request and read state. For each optional managed field, cover omission on both Create and Update. If omitted Create fails, first create a valid resource, then remove the field on Update and record the next refresh and plan. Give each computed field a non-null service reply in both the resource and paired data source. For collections, record omission, explicit empty, nonempty, and clearing on Update separately. Trace every schema variant through create and update. Record read-only or deprecated variants through import, and record what create and update do with them.Diagnostic order: Sort recorded validation diagnostics before comparing them. Framework schema maps can return the same errors in a different order. Keep every severity, attribute path, message, and duplicate.
Why: A missing case can make a migration appear safe when it changes released behavior.
The migration review rubric applies when the generated resource replaces this baseline.
coralogix/terraform-provider-coralogix
7db6f79
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.