What problem does it solve?
Adding visual regression coverage to the Kilo VS Code extension webview UI requires knowing the exact Storybook story structure, mock context providers, snapshot naming conventions, and CI baseline workflow, which are easy to get wrong without guidance.
Core Features & Use Cases
- Story authoring guidance: Provides the exact SolidJS story template with StoryProviders, mock session data, and context overrides for components like ChatView, PromptInput, and AssistantMessage.
- Snapshot and viewport conventions: Explains how meta titles and export names map to snapshot paths, and how the
-200 suffix triggers narrow 200px viewport rendering.
- CI baseline workflow: Documents how Linux CI auto-generates and commits baseline PNGs via Git LFS, so no local screenshot generation is needed.
- Use Case: When adding a new settings panel component to the webview UI, use this Skill to write a correctly structured story with mock providers, push the PR, and let CI generate the baseline screenshots.
Quick Start
Ask the AI to add a visual regression test story for a specific component in packages/kilo-vscode/webview-ui, and it will produce the story file following the required conventions.