Computed Styles
bitovi/ai-enablement-prompts
Extract and compare computed CSS styles between a baseline URL and a dev/Storybook URL using Playwright MCP evaluate calls.
Author economical visual tests — full visual coverage in the fewest billable snapshots.
$ npx skills add igrlk/storybook-addon-test-codegen --skill economical-visual-tests -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install igrlk/storybook-addon-test-codegen economical-visual-tests --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/igrlk/storybook-addon-test-codegen.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/economical-visual-tests .claude/skills/economical-visual-tests && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "economical-visual-tests" agent skill from https://github.com/igrlk/storybook-addon-test-codegen/tree/main/.agents/skills/economical-visual-tests into .claude/skills/economical-visual-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "economical-visual-tests", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/igrlk/storybook-addon-test-codegen/tree/main/.agents/skills/economical-visual-testsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add igrlk/storybook-addon-test-codegen --skill economical-visual-tests -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install igrlk/storybook-addon-test-codegen economical-visual-tests --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/igrlk/storybook-addon-test-codegen.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/economical-visual-tests .agents/skills/economical-visual-tests && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "economical-visual-tests" agent skill from https://github.com/igrlk/storybook-addon-test-codegen/tree/main/.agents/skills/economical-visual-tests into .agents/skills/economical-visual-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "economical-visual-tests", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add igrlk/storybook-addon-test-codegen --skill economical-visual-tests -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install igrlk/storybook-addon-test-codegen economical-visual-tests --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/igrlk/storybook-addon-test-codegen.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/economical-visual-tests .cursor/skills/economical-visual-tests && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "economical-visual-tests" agent skill from https://github.com/igrlk/storybook-addon-test-codegen/tree/main/.agents/skills/economical-visual-tests into .cursor/skills/economical-visual-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "economical-visual-tests", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/igrlk/storybook-addon-test-codegen.git --path .agents/skills/economical-visual-tests--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add igrlk/storybook-addon-test-codegen --skill economical-visual-tests -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install igrlk/storybook-addon-test-codegen economical-visual-tests --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/igrlk/storybook-addon-test-codegen.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/economical-visual-tests .gemini/skills/economical-visual-tests && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "economical-visual-tests" agent skill from https://github.com/igrlk/storybook-addon-test-codegen/tree/main/.agents/skills/economical-visual-tests into .gemini/skills/economical-visual-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "economical-visual-tests", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install igrlk/storybook-addon-test-codegen economical-visual-testsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add igrlk/storybook-addon-test-codegen --skill economical-visual-tests -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/igrlk/storybook-addon-test-codegen.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/economical-visual-tests .github/skills/economical-visual-tests && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "economical-visual-tests" agent skill from https://github.com/igrlk/storybook-addon-test-codegen/tree/main/.agents/skills/economical-visual-tests into .github/skills/economical-visual-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "economical-visual-tests", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add igrlk/storybook-addon-test-codegen --skill economical-visual-tests -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install igrlk/storybook-addon-test-codegen economical-visual-tests --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/igrlk/storybook-addon-test-codegen.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/economical-visual-tests .opencode/skills/economical-visual-tests && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "economical-visual-tests" agent skill from https://github.com/igrlk/storybook-addon-test-codegen/tree/main/.agents/skills/economical-visual-tests into .opencode/skills/economical-visual-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "economical-visual-tests", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
economical-visual-testsAuthor economical visual tests — full visual coverage in the fewest billable snapshots.
Economical Visual Tests is an agent skill from igrlk/storybook-addon-test-codegen. Author economical visual tests — full visual coverage in the fewest billable snapshots. Applies to any per-snapshot visual tool (UI Verify, Chromatic, Percy, Playwright screenshots), which all bill and diff per rendered story/test. Use when a component's variants/states are exploding into one snapshot per combination, when the visual-testing bill or noise is driven by snapshot count, or when writing new stories/captures and you want the cheapest layout that still covers every variant. Covers gallery/matrix…
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Visual regression testing and Browser testing. It works with Playwright and Storybook. The repository describes itself as: Addon for Storybook that generates test code for your stories. The licence is MIT.
Read from SKILL.md and the folder at commit cdfbf4e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Economical Visual Tests loads about 1.1k tokens when it runs. Until then it costs about 150 tokens; SKILL.md has 395 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from igrlk/storybook-addon-test-codegen at commit cdfbf4e, republished under its MIT licence (© igrlk). 395 words, ~1,064 tokens.
.claude/skills/economical-visual-tests/SKILL.md (or your agent's skills folder).Every per-snapshot visual tool — UI Verify, Chromatic, Percy, Playwright screenshots — renders and bills per story. So the number of stories is the cost and the noise surface. The naive pattern (one story per variant × state × theme) multiplies both fast: a component with 5 sizes × 3 states × 2 themes is 30 snapshots the naive way. This skill collapses that to a handful while keeping full coverage.
The technique is tool-agnostic; the payoff (fewer billed shots, fewer places to flake) is the same everywhere.
Render the whole matrix together in a single story: a grid of every size/state side by side. One snapshot then covers the entire matrix.
// Button.stories.tsx — ONE story covers every size × variant
export const AllVariants = () => (
<div style={{ display: 'grid', gap: 16, gridTemplateColumns: 'repeat(3, max-content)' }}>
{(['sm', 'md', 'lg'] as const).flatMap((size) =>
(['primary', 'secondary', 'danger'] as const).map((variant) => (
<Button key={`${size}-${variant}`} size={size} variant={variant}>
{size}/{variant}
</Button>
)),
)}
</div>
);9 buttons, 1 snapshot instead of 9.
For a component that normally fetches, don't write a story per response state. Render each state from a fixed fixture — a table of props/mock-responses — in one story. Deterministic input in, deterministic pixels out, many states, few shots.
const CASES = [
{ label: 'empty', items: [] },
{ label: 'one', items: [fixtures.one] },
{ label: 'many', items: fixtures.many },
{ label: 'error', error: 'Failed to load' },
];
export const AllStates = () => (
<div style={{ display: 'grid', gap: 24 }}>
{CASES.map((c) => (
<section key={c.label}>
<h4>{c.label}</h4>
<List items={c.items} error={c.error} />
</section>
))}
</div>
);(If the component fetches internally rather than taking props, mock the request instead — see
storybook-visual-testing, "mock data." The point is the same: fixtures, not N stories.)
Consolidating into one snapshot is coarser granularity: a diff anywhere in the gallery flags the whole story, and you lose the per-variant baseline/accept. So this is a balance, not "merge everything":
When you refactor, state the delta so the value is legible:
This collapses 28 stories → 2 snapshots (the size×variant×theme matrix into one gallery, the four data states into one story). ~93% fewer billed shots, same coverage.
Loading, Empty, Error, Loaded as four stories) → one
data-driven story (move 2).© igrlk, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/economical-visual-tests of igrlk/storybook-addon-test-codegen.
Open the folder on GitHubat commit cdfbf4e
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in igrlk/storybook-addon-test-codegen, which our catalogue first saw on October 7, 2026.
Economical Visual Tests next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Economical Visual Tests this skilligrlk/storybook-addon-test-codegen | 154 | 1 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Computed Stylesbitovi/ai-enablement-prompts | 121 | — | ~2.4k | Automated safety check: Pass | MIT | |
| Sanity Visual Regressionsanity-io/sanity | 6.4k | — | ~3.4k | Automated safety check: Pass | MIT | |
| Smartui Skillsickn33/agentic-awesome-skills | 47k | 1 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Triaging Visual Review RunsPostHog/posthog | 40k | — | ~9.1k | Automated safety check: Pass | Custom licence | |
| Visual Testingpetrkindlmann/qa-skills | 168 | — | ~4.5k | Automated safety check: Pass | MIT |
bitovi/ai-enablement-prompts
Extract and compare computed CSS styles between a baseline URL and a dev/Storybook URL using Playwright MCP evaluate calls.
sanity-io/sanity
Add, review, and maintain Chromatic visual regression coverage in the Sanity monorepo via dev/storybook stories, the vitest browser-mode suite, and Playwright e2e snapshots.
sickn33/agentic-awesome-skills
Generates SmartUI visual regression test configurations for screenshot comparison on TestMu AI cloud.
PostHog/posthog
Inspects PostHog Visual Review (VR) runs that gate PR merges with screenshot regression checks.
petrkindlmann/qa-skills
Implement visual regression testing with Playwright screenshots, Chromatic, Percy, and Argos CI.
bitovi/ai-enablement-prompts
Compare a baseline URL against a dev or Storybook URL by taking Playwright screenshots at multiple breakpoints, running a pixel-level image diff, and reporting results to guide style and HTML…
igrlk/storybook-addon-test-codegen
Check the visual impact of an edit mid-task with uiverify check — render just the components you're touching on the UI Verify fleet and diff them against the real CI baseline, without opening a PR…
igrlk/storybook-addon-test-codegen
Triage a UI Verify build from your coding agent via the UI Verify MCP — bucket a build's changed stories into real regressions vs cosmetic reflow vs rendering noise, summarize the real regressions…
igrlk/storybook-addon-test-codegen
Make Storybook stories deterministic for UI Verify so captures stop coming back "changed" without a real change (flaky diffs).
igrlk/storybook-addon-test-codegen
Read before changing any component, page, or styles. An agent skill from igrlk/storybook-addon-test-codegen.
Works with
Categories
Author economical visual tests — full visual coverage in the fewest billable snapshots. Economical Visual Tests is an agent skill from igrlk/storybook-addon-test-codegen. Author economical visual tests — full visual coverage in the fewest billable snapshots.
Economical Visual Tests fits situations like: A components variants/states are exploding into one snapshot per combination; the visual-testing bill; noise is driven by snapshot count; writing new stories/captures and you want the cheapest layout that still covers every variant.
Run `npx skills add igrlk/storybook-addon-test-codegen --skill economical-visual-tests -a claude-code`. Or copy the skill folder (.agents/skills/economical-visual-tests in igrlk/storybook-addon-test-codegen) into .claude/skills/economical-visual-tests in your project. Claude Code loads it when a task matches its description.
Run `npx skills add igrlk/storybook-addon-test-codegen --skill economical-visual-tests -a codex`. Or copy the skill folder (.agents/skills/economical-visual-tests in igrlk/storybook-addon-test-codegen) into .agents/skills/economical-visual-tests in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add igrlk/storybook-addon-test-codegen --skill economical-visual-tests -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/economical-visual-tests, .gemini/skills/economical-visual-tests, .github/skills/economical-visual-tests and .opencode/skills/economical-visual-tests in your project.
SKILL.md names no scripts, command-line tools or credentials: Economical Visual Tests is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Economical Visual Tests is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Economical Visual Tests: Computed Styles (bitovi/ai-enablement-prompts, 121 stars), Sanity Visual Regression (sanity-io/sanity, 6.4k stars), Smartui Skill (sickn33/agentic-awesome-skills, 47k stars) and Triaging Visual Review Runs (PostHog/posthog, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
igrlk (a GitHub user) maintains it in igrlk/storybook-addon-test-codegen, which has 154 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on September 13, 2026.
Source: igrlk/storybook-addon-test-codegen on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.