From clarc
Generates icon system spec: library recommendation, size/stroke/color tokens, naming convention, accessibility rules, and framework-specific icon component template. Also supports --audit mode.
How this command is triggered — by the user, by Claude, or both
Slash command
/clarc:icon-systemThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Icon System Generate a complete icon system specification for a product. ## Usage ## Steps Use the `icon-system` skill throughout this command. ### 1. Gather context (ask if not in `$ARGUMENTS`) - **Framework**: React / Vue / Svelte / HTML / other? - **Brand style**: Minimal/technical | Friendly/rounded | Bold/geometric | Custom - **Custom icons needed**: Yes / No (how many approximate) - **Audit mode**: Is this for a new project or reviewing existing icons? ### 2. Library recommendation Based on the brand style and framework: - Compare Lucide, Phosphor, Heroicons, Tabler (size,...
Generate a complete icon system specification for a product.
/icon-system
/icon-system --library lucide --framework react
/icon-system --audit # audit existing icons for consistency issues
Use the icon-system skill throughout this command.
$ARGUMENTS)Based on the brand style and framework:
Output a complete token set:
/* Size tokens */
--icon-xs: 12px;
--icon-sm: 16px;
--icon-md: 20px; /* default */
--icon-lg: 24px;
--icon-xl: 32px;
/* Stroke tokens (if line-based icons) */
--icon-stroke-sm: 1.5px;
--icon-stroke-md: 2px; /* default */
--icon-stroke-lg: 2.5px;
/* Color tokens (inherit currentColor — define semantic intent) */
--icon-default: var(--color-neutral-700);
--icon-muted: var(--color-neutral-400);
--icon-brand: var(--color-primary);
--icon-success: var(--color-success);
--icon-warning: var(--color-warning);
--icon-danger: var(--color-error);
--icon-inverse: var(--color-neutral-50);
Document the naming convention for the project:
Generate a typed React (or framework-appropriate) icon component with:
aria-hidden for decorative iconsaria-label support for meaningful iconsfocusable="false" for SVGConcise do/don't for the team:
aria-hidden="true" is correctaria-label is required--audit flag)If reviewing existing icons:
currentColor)?Deliver as a markdown document that can be saved to docs/icon-system.md:
/design-system-review — verify icons integrate correctly with the design system/code-review — review icon component implementationnpx claudepluginhub marvinrichter/clarc --plugin clarc