Css component testing

From rogie/figui3 · View interactive version

Css component testing is an AI agent skill from the GitHub repository rogie/figui3. Guides CSS and layout tests for FigUI3 components. Use when validating component CSS, nested selectors, tokens, interaction states, computed styles, layout boxes, or visual regressions.

How to use this skill

Skill file

CSS Component Testing

Test public CSS behavior in a browser. Prefer computed styles and bounding boxes for stable assertions; use screenshots only for targeted visual regressions.

What To Test

Test Pattern

  1. Mount the smallest fixture that exposes the CSS behavior.
  2. Wait for custom elements and fonts/layout to settle.
  3. Read getComputedStyle, getBoundingClientRect, or public attributes/classes.
  4. Assert behavior, not implementation details, unless debugging a specific regression.

Avoid

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.