本文へスキップ
Kitbay
スキル

component-fixtures

MIT2026年11月11日 更新195,341GitHubスター

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.

スキルの内容

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.

できること

  • 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