What problem does it solve?
Icon work in a VS Code extension spans multiple surfaces—command contributions, activity bar containers, webview UI, and packaged brand assets—each with different geometry, theming, and registration rules. This Skill prevents mismatched canvases, clipped strokes, wrong registries, and accessibility gaps when creating or reviewing icons.
Core Features & Use Cases
- Surface Selection Guidance: Maps each icon task to the correct system—Codicons for commands, 24x24 assets for view containers, the
Icon/IconButton registry for webviews, or WOFF2 product-icon fonts.
- Geometry and Color Rules: Enforces viewBox matching with sibling icons, stroke scaling,
currentColor usage, and static SVG geometry without gradients, filters, or embedded fonts.
- Registration and Review Workflow: Directs where to add entries (
packages/kilo-ui vs packages/ui), how to expose them via stories, and how to verify rendering at 1x/2x across light, dark, and high-contrast themes.
- Use Case: When adding a new toolbar button icon to the Kilo webview, the Skill guides you to search existing registry siblings, match their viewBox and stroke weight, register the path with
currentColor, and verify it in a Storybook story across themes.
Quick Start
Ask the agent to create a new webview icon for a specific action and register it in the Kilo icon component following the existing sibling conventions.