Bubbletea go teatest golden
Skill dsisnero/crystal_forge/skills/bubbletea-go-teatest-golden
A set of skills to help with Crystal development
npx -y skills add dsisnero/crystal_forge --skill bubbletea-go-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
Generate or refresh Go Bubble Tea golden fixtures when Go is the source of truth and tests use Charm `teatest` or `golden`.
SKILL.md
1.2 KB, 245 tokens by cl100k_base, as published. Nobody here has run it
Go Teatest Golden
Use this skill when Go owns the canonical terminal output and you need fresh
*.golden artifacts for downstream Crystal parity checks.
Scripts
scripts/bootstrap_go_module.sh: install module dependencies locallyscripts/run_go_teatest_golden.sh: default golden update pathscripts/generate_go_golden.sh: raw capture fallback
Default flow
- Bootstrap the Go workdir if needed.
- Run the Go teatest update command to regenerate goldens.
- Sync those goldens into the Crystal repo before Crystal verification.
- Use raw capture only when no teatest harness exists.
Typical commands
./scripts/bootstrap_go_module.sh --workdir <go_dir>
./scripts/run_go_teatest_golden.sh --workdir <go_dir> --cmd 'go test ./...'
Guardrails
- Keep
GOCACHEandGOMODCACHElocal to the workdir when possible. - Do not treat Crystal output as an oracle when Go fixtures are available.
- If the task is only Crystal-side verification, route to
bubbletea-crystal-teatest-golden.