svg-icon-pattern — svg-icon-pattern install svg-icon-pattern, vultisig-windows, community, svg-icon-pattern install, ide skills, svg-icon-pattern for AI agents, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Frontend Agents working with SVG icons in the lib/ui/icons directory, needing standardized icon creation and flexibility. svg-icon-pattern is a set of standards for creating and updating icons in the lib/ui/icons directory, ensuring consistency and flexibility through proper icon component definition and SvgProps implementation.

Features

Exports a named component that receives SvgProps from @lib/ui/props
Spreads SvgProps onto the svg element for consistency
Utilizes the @lib/ui/props library for SvgProps definition
Follows specific standards for icon creation in the lib/ui/icons directory
Ensures flexibility through proper icon component definition
Supports SvgProps implementation for customizable icons

# Core Topics

vultisig vultisig
[13]
[13]
Updated: 2/27/2026

Agent Capability Analysis

The svg-icon-pattern skill by vultisig is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for svg-icon-pattern install, svg-icon-pattern for AI agents.

Ideal Agent Persona

Perfect for Frontend Agents working with SVG icons in the lib/ui/icons directory, needing standardized icon creation and flexibility.

Core Value

Empowers agents to create consistent and flexible SVG icons by following specific standards, utilizing SvgProps from @lib/ui/props and ensuring compatibility with the lib/ui/icons directory, while supporting protocols like http://www.w3.org/2000/svg.

Capabilities Granted for svg-icon-pattern

Standardizing icon creation in the lib/ui/icons directory
Generating consistent SVG icons with SvgProps
Updating existing icons to follow the svg-icon-pattern standards

! Prerequisites & Limits

  • Requires access to the lib/ui/icons directory
  • Specific to SVG icons
  • Must use SvgProps from @lib/ui/props
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

svg-icon-pattern

Install svg-icon-pattern, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

SVG Icon Pattern

Instructions

When creating or updating icons in the lib/ui/icons directory, follow these standards to ensure consistency and flexibility.

1. Icon Component Definition

Export a named component that receives SvgProps from @lib/ui/props. Spread these props onto the svg element.

tsx
1// ✅ Good: SvgProps pattern 2import { SvgProps } from '@lib/ui/props' 3 4export const MyIcon = (props: SvgProps) => ( 5 <svg 6 xmlns="http://www.w3.org/2000/svg" 7 width="1em" 8 height="1em" 9 viewBox="0 0 24 24" 10 fill="currentColor" 11 {...props} 12 > 13 <path d="..." /> 14 </svg> 15) 16 17// ❌ Bad: IconWrapper inside icon definition 18export const MyIcon = (props: any) => ( 19 <IconWrapper {...props}> 20 <svg>...</svg> 21 </IconWrapper> 22)

2. Sizing and Dimensions

  • Calculate dimensions based on the viewBox attribute.
  • The largest dimension (width or height) should always be 1em.
  • The smaller dimension should be calculated proportionally: (smaller / larger)em.
  • Neither width nor height should exceed 1em.
tsx
1// Example for non-square icon (viewBox="0 0 22 20") 2// height = 20/22 = 0.909 3<svg width="1em" height="0.909em" viewBox="0 0 22 20" ...>

3. Styling and Colors

  • Use fill="currentColor" or stroke="currentColor" to allow the icon to inherit colors from its parent.
  • For multi-colored icons, use specific colors only where necessary.

4. Usage and Sizing

Size icons at the usage site using the fontSize property within the style prop. This leverages the 1em base size defined in the icon component.

tsx
1// ✅ Good: Direct sizing via style 2<MyIcon style={{ fontSize: 24 }} /> 3 4// ❌ Bad: Using size prop (requires IconWrapper) 5<MyIcon size={24} />

Anti-Patterns to Avoid

  • DO NOT wrap icons with IconWrapper inside the icon component file.
  • DO NOT use hardcoded pixel values for width and height in the svg element.
  • DO NOT use IconWrapper at the usage site if simple fontSize styling is sufficient.

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is svg-icon-pattern?

Perfect for Frontend Agents working with SVG icons in the lib/ui/icons directory, needing standardized icon creation and flexibility. svg-icon-pattern is a set of standards for creating and updating icons in the lib/ui/icons directory, ensuring consistency and flexibility through proper icon component definition and SvgProps implementation.

How do I install svg-icon-pattern?

Run the command: npx killer-skills add vultisig/vultisig-windows/svg-icon-pattern. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for svg-icon-pattern?

Key use cases include: Standardizing icon creation in the lib/ui/icons directory, Generating consistent SVG icons with SvgProps, Updating existing icons to follow the svg-icon-pattern standards.

Which IDEs are compatible with svg-icon-pattern?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for svg-icon-pattern?

Requires access to the lib/ui/icons directory. Specific to SVG icons. Must use SvgProps from @lib/ui/props.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add vultisig/vultisig-windows/svg-icon-pattern. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use svg-icon-pattern immediately in the current project.

Related Skills

Looking for an alternative to svg-icon-pattern or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI