CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

protocol-baseline-record-on-master

Use when adding a protocol-baseline golden harness for a resource switch to generated code. Record goldens on master's handwritten resource first so the switch commit's golden diff shows real behavior changes.

71

Quality

89%

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

Record protocol baselines on master first

Trigger: switching a resource to generated code and adding testdata/<resource>_baseline/ goldens.

Fix: On origin/master, add only the baseline test, fake, and harness wiring. Run UPDATE_GOLDEN=1 go test ./internal/provider -run Test<Resource>Baseline, and commit that first. Rebase the generate/switch commits on top so the golden diff is the user-visible protocol change.

Why: Goldens recorded after the switch describe the new code and cannot show what changed. Reviewers reproduce this by copying the baseline tests onto master and watching scenarios fail.

Repository

coralogix/terraform-provider-coralogix

Path

.claude/skills/protocol-baseline-record-on-master/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.