icon-system
Installation
SKILL.md
Establish or validate the canonical icon and illustration system for this project.
Mode: $ARGUMENTS
- If no argument or
setup: create the Icon wrapper and validate/document the system - If
validate: audit the wrapper and conventions without creating files - If
docs: only output the icon system reference (for pasting into design docs)
Step 1 — Assess Current State
- Check if
src/components/ui/icon.tsxexists. Read it if so. - Read
src/app/globals.css— note existing CSS custom properties. - Read
tailwind.config.ts— note the spacing/sizing token scale. - Search for current icon import patterns:
grep -r "from 'lucide-react'" src/ --include="*.tsx" | head -20 - Note any existing raw Lucide usage to understand migration scope.