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.
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.
ইনস্টল করার পর, টার্মিনালে নিচের কমান্ড চালিয়ে আপনি এই স্কিল ব্যবহার করতে পারবেন:
skills use cg-reftest