Skip to content
프로젝트

소개

A skill that teaches AI agents to make clean, professional UI icons: thin outline icons that match their labels, instead of chunky filled or hand-drawn glyphs.

AI 및 머신러닝

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
기록 수집 중
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

ui-icons

A skill that teaches AI agents to make clean, professional interface icons.

When an AI builds a UI, the icons are often the first thing that gives it away: chunky filled glyphs, two-tone gray fills, wobbly hand-drawn SVG paths, and an "active" item that suddenly switches to a completely different style. This skill steers the agent toward the look you see in well-designed products like Linear, Stripe and Vercel: thin, consistent outline icons that share the color and weight of the text beside them.

Sidebar built with the ui-icons skill, in light and dark mode

Sidebar rendered from the skill's own reference example, in light and dark mode.

Why it works

Most bad AI icons come from a handful of repeatable mistakes, so the skill names them and explains why each one fails. Filled glyphs carry far more visual weight than the text next to them, so a column of them becomes louder than the labels it's meant to support. Fills also erase the small details that tell one icon from another, so at 16 to 20 pixels a "store", a "product" and a "payment" all collapse into similar rounded blobs. Two-tone fills add colors that exist nowhere else in the interface, and swapping the selected item to a filled icon breaks the family.

Because the skill explains the reasoning rather than just listing rules, the agent can make good calls on cases the rules don't cover.

What the skill tells the agent to do

  • Use a real icon library, never hand-drawn paths. Lucide by default, with Tabler, Heroicons (outline) and Phosphor as alternatives. Freehand SVG is the main source of the "AI-generated" look.
  • Outline only. No fills, no two-tone, no emoji, no colored tiles behind every icon.
  • Match the text. Icons use currentColor, so they always share their label's color, and the stroke is sized to look about as thick as the letters beside it.
  • Keep states consistent. Hover and selected states change the row's background and color, never the icon's style.
  • Pick the expected metaphor. It includes concept-to-icon tables for SaaS, commerce, finance, developer tools and more, so "Payments" gets a credit card and "Subscriptions" gets a refresh arrow.
  • Use names that exist. Lucide renamed many icons in 1.x (home → house, bar-chart-3 → chart-column). Every icon name in the skill is checked against current releases of Lucide, Heroicons and Tabler.
  • Check the work. A final checklist covers library consistency, sizing, color, states and accessibility.

Installation

Claude Code

Copy the skill folder into your personal skills directory to use it in every project:

git clone https://github.com/YOUR-USERNAME/ui-icons-skill.git
cp -r ui-icons-skill/ui-icons ~/.claude/skills/

Or add it to a single project by copying it into that project's .claude/skills/ folder instead.

Claude apps (claude.ai, desktop, mobile)

Download ui-icons.skill from the Releases page and upload it in your Claude skills settings. See the Claude documentation for details.

Other agents

The skill uses the standard SKILL.md format, so other agents that support skills can load the ui-icons folder as well. Check your tool's documentation for where it looks for skills.

Usage

You don't need to call the skill by name. The agent loads it automatically whenever it builds or edits a UI that has icons, or when you ask it to fix icons that look off. Prompts like these will trigger it:

Build a dashboard sidebar for my invoicing app with Home, Invoices, Clients, Reports and Settings.

The icons in this navbar look clunky and cartoonish. Can you clean them up?

Add icons to the settings page tabs.

What's inside

ui-icons/
├── SKILL.md                    # Core rules, the reasoning behind them, and a final checklist
└── references/
    ├── icon-mapping.md         # Concept → icon tables (Lucide, plus Heroicons and Tabler equivalents)
    └── examples.md             # Setup for React, Vue, Svelte, plain HTML and native platforms,
                                # plus complete reference sidebars

The agent only reads the reference files when it needs them, which keeps the skill light on context.

Supported stacks

The examples cover React and Next.js (lucide-react), Vue 3 (@lucide/vue), Svelte (@lucide/svelte), Angular (@lucide/angular), React Native (lucide-react-native), shadcn/ui, Tailwind, and plain HTML through a pinned CDN build. For native apps, the skill points to SF Symbols on iOS and Material Symbols Outlined on Android and Flutter, with notes on matching their weight to the outline look.

Customizing

The skill's defaults are easy to change in SKILL.md:

  • Icon library. Swap Lucide for Tabler, Heroicons or Phosphor in Step 1. If a project already uses a library, the skill keeps it automatically.
  • Accent color. The examples use violet for the selected state. Replace it with your brand color in Step 4 and in references/examples.md.
  • Size and stroke. Adjust the table in Step 3 if your typography is larger or heavier than typical.

Contributing

Issues and pull requests are welcome, especially new entries for icon-mapping.md and before/after examples where the skill produced poor results. If you add icon names, please check that they exist in a current release of the library, since names change between versions.

Credits

The skill recommends and references Lucide, Heroicons, Tabler Icons and Phosphor. No icon artwork is bundled in this repository. This project isn't affiliated with any of these libraries.

관련 프로젝트 살펴보기

불러오는 중…