Bubbletea crystal teatest golden
Skill dsisnero/crystal_forge/skills/bubbletea-crystal-teatest-golden
A set of skills to help with Crystal development
npx -y skills add dsisnero/crystal_forge --skill bubbletea-crystal-teatest-goldenAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Verify Crystal Bubble Tea output against existing `teatest`/`golden` fixtures. Use when Crystal is the side being checked against a known oracle and specs already rely on `lib/teatest` or `lib/golden`.
SKILL.md
1.3 KB, 238 tokens by cl100k_base, as published. Nobody here has run it
Crystal Teatest Golden
Use this skill when the Crystal repo already has golden fixtures and the job is to verify Crystal output, not define the oracle.
Scripts
scripts/run_crystal_teatest_verify.sh: default verification pathscripts/generate_crystal_golden.sh: raw capture fallbackscripts/generate_example_golden.sh: snapshot helper for simple examples
Default flow
- Prefer
scripts/run_crystal_teatest_verify.sh. - Run Crystal specs against existing goldens.
- Use raw capture only when the teatest harness is missing or broken.
- Treat Crystal-generated output as evidence, not as the source-of-truth oracle.
Typical command
./scripts/run_crystal_teatest_verify.sh \
--workdir <crystal_dir> \
--cmd 'crystal spec spec/examples/...'
Guardrails
- Keep Crystal cache local to the repo when possible.
- Prefer deterministic message injection over timing-heavy waits.
- If the golden oracle needs to be created or refreshed from Go, route to
bubbletea-go-teatest-goldenfirst.