ui-architecture-icon

Converts SVG assets into reusable React icon components and updates Storybook exports.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/cartridge-gg/scoundrel --skill ui-architecture-icon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-architecture-icon
Source: https://github.com/cartridge-gg/scoundrel/tree/main/.agents/skills/ui-architecture-icon
Command: npx skills add https://github.com/cartridge-gg/scoundrel --skill ui-architecture-icon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill standardizes the process of turning SVG assets into reusable React icon components for the Scoundrel UI, ensuring consistency and reducing manual integration effort.

Core Features & Use Cases

  • Convert SVG assets to React icon components from design files.
  • Export icons and wire them into Storybook and UI index for consistent usage.
  • Update icon variants and categories as icons are added, updated, or removed.

Quick Start

Convert a provided SVG file into a React icon component using the prescribed template and wire it into the icons index and Storybook story for the target category.

Frequently Asked Questions about ui-architecture-icon

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert SVG assets into reusable React icon components?

This Skill converts SVG assets into reusable React icon components by applying a template-driven workflow that processes the SVG file, generates the component, and enforces consistent asset organization across all icon categories.

How do I wire new UI icons into Storybook and the component index?

You wire new UI icons into Storybook by exporting the generated React icon component and updating the corresponding Storybook story and UI index for the target category to ensure consistent usage.

What is the best way to standardize UI icons across a game client?

The best way to standardize UI icons across a game client is to enforce a template-driven workflow for React component generation, ensuring variant handling and asset organization are consistent across all icon categories.

Can I update icon variants and categories when modifying React components?

Yes, you can update icon variants and categories when modifying React components, as the Skill handles adding, updating, or removing icons while maintaining variant consistency and exports across the UI index.

Do I need existing SVG files to generate React icon components for my UI?

Yes, you need existing SVG files to generate React icon components, because the Skill converts provided SVG assets into the prescribed template format and wires them into the icons index and Storybook story.