sergiobanhos/generate-icons
Developer ToolsAn agent skill that scans your design system and draws an original, matching SVG icon library for React, Vue, Svelte, React Native or plain SVG.
This repo is an agent skill pack · 1 skillsSkill list and install →What it does
generate-icons is an agent skill that generates an original icon library aligned with a project's design system. It reads design tokens, theme, fonts and the icons already in use, converts them into an explicit style sheet, proves the style on a small sample placed next to the real UI, and then draws the full set by hand as SVG. Output includes framework components, standalone SVGs, a sprite, CSS for states and dark mode, a review catalog and a README. Supported targets are React, Vue, Svelte, React Native and plain SVG, with the README describing tree-shakeable components that take size, title, currentColor or token-driven tones. Projects without a design system can start from eight built-in styles: outline, solid, duotone, soft 3D gradient, glossy app icon, flat color, pixel and hand-drawn.
Quick start
Requirements: Python 3.8+ (standard library only). A headless browser is optional and is used to inspect the catalog before presenting it. Install the skill into Claude Code for all projects:
git clone https://github.com/sergiobanhos/generate-icons ~/.claude/skills/generate-icons
For a single project, clone it into .claude/skills/generate-icons instead. Other agents that read SKILL.md skills should clone it into that agent's skills folder. Then, inside the target project, run /generate-icons or describe the request in plain words, for example requesting icons for a sidebar and order statuses that match the design system.
The workflow scans the design system with scripts/scan_design_system.py, asks only what the scan could not settle, writes icon-style.json with each decision and its source, inventories icon candidates from menus, routes, enums and emoji with scripts/inventory.py, and draws a sample. After approval it builds and validates the full library with scripts/validate.py and scripts/build.py, and can rebuild only the icons that changed after per-icon feedback. To see a finished result without running the skill, open examples/duotone-filled/react/catalog.html in a browser.
Constraints
The skill requires an agent that supports SKILL.md-style skills, with Claude Code documented explicitly. Drawing is done by the agent itself, so output quality depends on the model and on how complete the scanned design system is. The tool avoids copying paths from icon sets such as Lucide, Heroicons, Phosphor or Material and avoids redrawing brand logos. It is MIT licensed, and the README states that generated icons belong to the user.
HotRepo's take
The repository recorded 103 stars and 8 forks in a single new-list snapshot on 2026-11-27, which reflects roughly one day after creation rather than a sustained trend. Its distinctive choice is a sample-and-approve step before generating the whole set, combined with writing down where each style decision came from; that is what makes it more than a generic icon prompt and worth evaluating for teams that already have tokens and existing icons to match.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
You might also like
- kubai087/kubai-iconsAn agent skill for drawing consistent animated icons, plus 2,800+ open-source icons for React, Vue and SVG.
- CityPulso/PulsoIconAnimated icon library for React, Vue, Svelte, Jetpack Compose, and SwiftUI with per-icon hand-written motion.
- declarative-dragging/dragologyA TypeScript library for building model-driven, composable drag-and-drop interfaces, especially for SVG on the web.
- Junhan2/ztd-chartsA React SVG chart library with 36 animated, accessible chart types, a JSON spec format, CLI and MCP server for AI-assisted charting.
- juliangarnier/animeA small JavaScript library for animating CSS, SVG, DOM attributes and plain objects in web interfaces and browser-based visuals.