New Golden

Use when deciding what to cover with a unit test vs a golden test, when writing a NEW golden test or fixture, or after a bug escaped to production/a real repo and you are asking why the tests missed it. Fires on: "write a golden test", "нужен golden на это", "add a fixture", "what should this test assert", "почему тесты это не поймали", "unit or golden?". Produces the split, a fixture that can actually fail, and structure-not-text assertions. To *run* existing goldens, use `run-goldens` instead.

fedoroff-vlad Updated

File contents

fedoroff-vlad/agent-skills/tree/main/skills/new-golden commit c857e86f5a

Frequently asked questions

npx skillmds@latest add fedoroff-vlad/new-golden