home/categories/education/gridaco-grida-agents-skills-cg-reftest-skill-md
educationdocumentation

cg-reftest

Guides design and review of computer-graphics rendering tests for the cg crate. Covers the distinction between reftests (independent oracle), golden/snapshot regression tests (previously accepted output), and observation-based probe tests (pixel/color assertions without vision). Use when adding, reviewing, or debugging visual comparison tests, pixel diffs, golden image generators, SVG reftest suites, or designing fixtures that can be verified programmatically by probing pixel values. Relevant paths: crates/grida-canvas/tests/, crates/grida-canvas/goldens/, crates/grida-canvas/examples/golden_*, crates/grida-dev/src/reftest/, fixtures/test-svg/, docs/wg/feat-svg/testing.md.

gridaco
maintainer
gridaco
Atualizado 3/23/2026
Estrelas
2443
Forks
131
quick start

Installation and usage

Guides design and review of computer-graphics rendering tests for the cg crate. Covers the distinction between reftests (independent oracle), golden/snapshot regression tests (previously accepted output), and observation-based probe tests (pixel/color assertions without vision). Use when adding, reviewing, or debugging visual comparison tests, pixel diffs, golden image generators, SVG reftest suites, or designing fixtures that can be verified programmatically by probing pixel values. Relevant paths: crates/grida-canvas/tests/, crates/grida-canvas/goldens/, crates/grida-canvas/examples/golden_*, crates/grida-dev/src/reftest/, fixtures/test-svg/, docs/wg/feat-svg/testing.md.

Instalação
$ install --globalskills.sh
Uso

Depois de instalar, você pode usar esta skill executando o seguinte comando no terminal:

skills use cg-reftest