Pack · #280 trending skills repo
Generate Icons
sergiobanhos/generate-icons
Agent skill that draws an original icon library matching your design system (React, Vue, Svelte, React Native, SVG).
- Stars
- 210
- This week
- —
- Forks
- 17
- Open issues
- 0
- Skills inside
- 1
Get started
Install the skills
npx skills add sergiobanhos/generate-iconsInstalls into Claude Code, Codex, Cursor, OpenCode and the other agents it finds on your machine.
git clone --depth 1 https://github.com/sergiobanhos/generate-icons.git /tmp/generate-icons
cp -r /tmp/generate-icons ~/.claude/skills/generate-iconsClaude Code reads ~/.claude/skills/ (or .claude/skills/ in a project). Other agents read the same SKILL.md format from their own skills folder.
Inside this repo
1 skill
Documentation
README
generate-icons
An agent skill that draws an original icon library that matches your project's design system.
It reads your tokens, theme, fonts and the icons you already use, turns that into an explicit style sheet, proves it on a small sample shown next to your real UI, and only then draws the whole set by hand as SVG. You get framework components, standalone SVGs, a sprite, CSS for states and dark mode, a review catalog and a README, all validated.
🇧🇷 Em português: uma skill para Claude Code (e outros agentes) que gera uma biblioteca de ícones original no estilo do seu design system. Lê seus tokens e ícones atuais, propõe o estilo, mostra uma amostra dentro da sua UI e só depois desenha tudo. Grátis, licença MIT.
![]()
What you get
- Style matched to your project: grid, stroke or fill, tones, corner radius, states (default, hover, active, disabled), palette per theme. Every decision is written down with the file and line it came from.
- A sample before the full set: 6 to 8 icons rendered in a mock of your sidebar, buttons and empty state, in light and dark, side by side with the icons you use today.
- Output for your stack: React, Vue, Svelte, React Native or plain SVG. Tree-shakeable
components with
size,title,currentColoror token-driven tones, plussvg/,sprite.svg,icons.css,manifest.json,catalog.htmland a README. - 8 starter styles for projects with no design system yet: outline, solid, duotone, soft 3D gradient, glossy app icon, flat color, pixel and hand-drawn.
- Original drawings only: the skill never copies paths from Lucide, Heroicons, Phosphor, Material or any other set, and never redraws brand logos. What it draws for you is yours.
![]()
Install
Claude Code, for all your projects:
git clone https://github.com/sergiobanhos/generate-icons ~/.claude/skills/generate-icons
Or for one project only:
git clone https://github.com/sergiobanhos/generate-icons .claude/skills/generate-icons
Other agents that read SKILL.md skills: clone it into that agent's skills folder.
Requirements: Python 3.8+ (standard library only). A headless browser is optional; the agent uses one to look at the catalog before showing it to you.
Use
In your project, ask for it in plain words or type the command:
/generate-icons
Make icons for our sidebar and order statuses that match our design system
The agent will:
- Scan the design system (
scripts/scan_design_system.py). - Ask only what the scan didn't settle (where the icons go, sizes, framework, location).
- Write
icon-style.jsonand show you each decision and why. - List icon candidates from your menus, routes, enums and emoji (
scripts/inventory.py). - Draw a sample and open the catalog next to your current icons. You approve or adjust.
- Draw and build the full library, validating every batch (
scripts/validate.py,scripts/build.py). - Take your feedback per icon and rebuild only what changed.
Examples
examples/ has a finished 12-icon library in two styles, built for React. Open
examples/duotone-filled/react/catalog.html in a browser.
![]()
Used in production at CvPorVaga: the app's menu before and after.
![]()
What's inside
| Path | What |
|---|---|
SKILL.md |
The workflow the agent follows. |
scripts/ |
Scanner, inventory, reference export, validator and builder. |
references/ |
Style detection, interview, source format, drawing guide, the 8 styles, accessibility, licensing. |
assets/ |
Starter style sheets and a gallery comparing them. |
examples/ |
Two complete example libraries. |
License
MIT. The icons the skill generates for you belong to you.