sanity-visual-coverage
Installation
SKILL.md
Visual regression coverage
The question this skill answers is "if this file's rendering changes, does a Chromatic snapshot catch it?". The answer is a static fact about the repo, so a script computes it. Do not answer it by reading the Chromatic check, and do not answer it from memory.
Run the check
pnpm visual-coverage --changed # files changed vs origin/main, including uncommitted
pnpm visual-coverage --changed --prs # also mark files that an open PR is about to cover
pnpm visual-coverage <path> [<path>...] # specific files
pnpm visual-coverage # whole tree, one row per area
pnpm visual-coverage --uncovered # whole tree plus every uncovered file
pnpm visual-coverage --format json ... # machine-readable, same modes
pnpm visual-coverage --help