Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

vrt-authoring

Skill by adobe

vrt-authoring is an Adobe agent skill for writing Storybook visual regression stories for gen2 components. It covers .vrt.ts files, Chromatic coverage, forced-colors, pseudo-states, global styles and custom properties.

  • Score 76
  • 1.6k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install vrt-authoring

Built from the published package, never by AI.

git clone --depth 1 https://github.com/adobe/spectrum-web-components /tmp/spectrum-web-components && mkdir -p ~/.claude/skills && cp -r /tmp/spectrum-web-components/.ai/skills/vrt-authoring ~/.claude/skills/vrt-authoring

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install vrt-authoring in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

vrt-authoring is an agent skill from Adobe that works as a quick reference for authoring Storybook visual regression (VRT) stories for gen2 components. It covers adding or reviewing .vrt.ts files, Chromatic VRT coverage, forced-colors coverage, pseudo-state snapshots, global stylesheet coverage and custom-property coverage. The skill states that the longer guide in CONTRIBUTOR-DOCS is authoritative when the two disagree.

The skill sets rules for where VRT stories live, which shared helpers to use, and how to group permutations into labeled rows. It explains how to force hover, focus-visible and active states with data attributes from a story's play function, and how to check custom properties against custom-elements.json. It is written for contributors working on gen2 swc components and patterns in the Adobe repository.

Written from the project's SKILL.md and checked against it.

What it can do

  • Place VRT storiesShows where .vrt.ts files go under component and pattern test folders.
  • Group permutationsSplits a flat permutation list into labeled rows by a key such as variant.
  • Force pseudo-statesApplies data-forced-hover, focus-visible and active attributes from a play function.
  • Cover forced colorsAdds a dedicated story using forcedColorsVrtParameters for forced-colors mode.
  • Cover global stylesChecks plain class coverage against generated global stylesheets such as global-<component>.css.
  • Cover custom propertiesRenders reference and override rows checked against custom-elements.json.

Try asking

  • Write a .vrt.ts file for my gen2 button component with all variants.
  • Group my badge permutations into rows by variant for the Chromatic diff.
  • Add forced hover and focus-visible states to my card's VRT story.

Good to know

  • This skill is a quick reference; the VRT testing guide in CONTRIBUTOR-DOCS is authoritative.
  • Forced states cannot be triggered in a static Chromatic capture, so they are applied through attributes.
  • Positioned overlay components need extra care, such as keeping triggers in the initial viewport.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .ai/skills/vrt-authoring/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to vrt-authoring

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

vrt-authoring: common questions

What is a .vrt.ts file?

In this skill, a .vrt.ts file holds dense visual regression coverage for a component. Docs stories are kept for examples, while .vrt.ts stories cover permutations, states and anatomy.

How are forced pseudo-states applied?

The skill uses a forcePseudoStates helper that sets data-forced-<state> attributes, not classes, because a class can trip default-style guards. A custom function is used for slotted light-DOM children.

How does custom property coverage stay in sync with the docs?

The skill says to compare coverage against .storybook/custom-elements.json so documented custom properties cannot drift from VRT coverage.

How do I install vrt-authoring?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is vrt-authoring free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is vrt-authoring safe to use?

It scores 76 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to vrt-authoring?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

vrt-authoring Install

Add to stack

Loading.