Zum Inhalt springen
Kitbay
Skill

component-fixtures

MITAktualisiert am 11. Nov. 2026195.341GitHub-Sterne

A maintainer skill in the Visual Studio Code repository for writing component fixtures, which render a single workbench interface component in dark and light themes so the component explorer can take screenshots for visual testing.

Was der Skill vermittelt

A maintainer skill in the Visual Studio Code repository for writing component fixtures, which render a single workbench interface component in dark and light themes so the component explorer can take screenshots for visual testing. The agent starts the explorer server, lists fixtures and takes screenshots through the explorer's MCP tools, and writes fixture files with the shared helpers for themes, services and text models. Its rules ask for fixed data, bounded waits instead of sleeps, scoped CSS, disposal of every widget and no moving widgets between parents, and prefer small changes to the real component over patching it inside the fixture. Fixtures are checked with the explorer's tools rather than with separate tests.

Funktionen

  • Write themed fixtures for VS Code UI components
  • Capture fixture screenshots through the component explorer
  • Wait for real readiness instead of fixed sleeps
  • Adapt components so they can be rendered alone