From vanguard-frontier-agentic
Reviews Storybook visual-testing setup -- test-runner wiring, Chromatic integration, and a11y addon's axe-core gating -- to ensure deterministic pixel-diff and accessibility coverage before merge.
How this skill is triggered — by the user, by Claude, or both
Slash command
/vanguard-frontier-agentic:visual-regression-storybook-reviewThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Storybook can run three different kinds of automated checks -- the generic `test-runner`, hosted Chromatic visual/interaction diffing, and the `a11y` addon's axe-core accessibility checks -- and teams frequently conflate them or wire only one when they need two. This skill reviews which checks are actually wired, whether they gate merge or are advisory-only, and whether visually-critical compon...
Storybook can run three different kinds of automated checks -- the generic test-runner, hosted Chromatic visual/interaction diffing, and the a11y addon's axe-core accessibility checks -- and teams frequently conflate them or wire only one when they need two. This skill reviews which checks are actually wired, whether they gate merge or are advisory-only, and whether visually-critical components and all theme variants are in scope, grounded in current, version-specific Storybook API behavior rather than remembered config shapes that may be stale across majors.
Use this skill when the user asks to:
test-runner, Chromatic, or a11y addon setup,Storybook's addon config shape (preVisit/postVisit hooks, parameters.a11y.*, chromatic.config.json fields) has changed across Storybook 8/9/10 and is documented, not folklore -- never assert a hook signature, parameter name, or default value from memory.
ToolSearch with query "context7" (or "select:mcp__Context7__resolve-library-id,mcp__Context7__query-docs") to load the Context7 tools if not already loaded in this session.mcp__Context7__resolve-library-id with library name Storybook to obtain the current Context7-compatible ID (/storybookjs/storybook); prefer the resolved ID over guessing.mcp__Context7__query-docs for the specific claim in question -- e.g. "test-runner preVisit postVisit hooks configuration", "a11y addon parameters.a11y.test values", "Chromatic config.json fields and CI wiring" -- before stating it as fact. Do this per review, not once from a prior session's memory.official_docs for primary normative statements (exact parameter names, exact config shape); use Context7 to ground and cross-check the claim before writing it into a finding.official_docs URLs and mark the claim documentation-based (Context7 unavailable) rather than presenting it as freshly verified.test-runner (generic CI test harness, runs locally or in CI via Playwright-driven preVisit/postVisit hooks), Chromatic (hosted visual + interaction diffing with a reviewer UI and git-provider sync), and the a11y addon (axe-core checks configured through parameters.a11y.*) -- do not treat them as interchangeable or assume one subsumes the others.parameters.a11y.test is set to 'error' (fails the build on violations) rather than left unset or at 'todo' (warns only) before crediting a project with enforced accessibility gating; 'off' disables the check entirely except for manual panel review.prefers-reduced-motion variants in the checked set, not just the default light theme -- a diff/a11y suite that only ever renders the default theme systematically misses regressions in every other supported mode.preVisit/postVisit hook signatures, injectAxe/configureAxe/checkA11y from axe-playwright, or parameters.a11y.context/config/options) against the installed Storybook major version before recommending a .storybook/test-runner.ts or preview.ts diff, since these shapes have changed across Storybook 8/9/10.wcag-22-accessibility-audit when the question is about accessibility compliance strategy broader than what the a11y addon checks.Load these only when needed:
test-runner's preVisit/postVisit hooks, CI invocation, or Chromatic project setup and the distinction between the two.a11y addon's parameters.a11y.test gating behavior, axe-core rule configuration, or diagnosing why violations aren't failing CI.Return, at minimum:
npx claudepluginhub raishin/vanguard-frontier-agentic --plugin vanguard-frontier-agenticGenerates complete visual regression testing setup with Storybook stories, configuration files, and CI/CD workflows for Chromatic, Percy, or BackstopJS.
Storybook 9+ setup, CSF3 story authoring, args/controls, decorators, play-function testing, a11y axe-core integration, autodocs, design tokens, Figma linking, Chromatic deployment, CI caching, and on-demand build performance.
Writes component stories with CSF3 factories, play() interaction tests, Vitest integration, and Chromatic TurboSnap visual regression. Covers ESM-only setup, module automocking, and a11y testing.