Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

icons

БесплатноБез исполняемых скриптовНе проверен

Draws a missing icon or adds one the set lacks, in the project's own style measured from every icon the set already has, then shows the whole set on one sheet.

raphaelsalajaот raphaelsalaja★ 74 звезды на GitHub

Об этом скилле

Icons

This skill draws the icons a project's set is missing, in that set's own style. Every new glyph is measured against the whole set, then shown among its siblings on one sheet.

Nothing is drawn until the set is measured

The spec is exact. The sheet measures it from every icon the set already has, and each new glyph follows it. A guessed stroke, radius or grid is a finding. The size range and the codepoints are exact too.

The set's own conventions win over the house form here: its icon API, its file format and whether its icons morph at all. The house values apply only where the set has none.

Building or redrawing a whole set belongs to iconset. Which glyphs to draw belongs to scope. Searching the set first belongs to reuse. Optical nudges belong to alignment. The curve, duration and reduced-motion fallback of any icon animation belong to motion. Accessible names belong to defaults. Visible labels belong to copy. Contrast belongs to color. Mirroring a directional icon in right-to-left layouts belongs to viewports.

A set built with iconset keeps its values in style.json and its decisions in concepts.md. A new glyph there reads its stroke, radius and cut from them and adds its own concepts.md row. Where the set's icons are scripts in src/, a new glyph is a script too, so the next global change moves it and the set's one build command ships it.

1. Draw only what the set lacks

Run reuse first. Search the icon package, folder or inline map by the concept and two or three synonyms, since a search glyph may ship as MagnifyingGlassIcon. A second glyph for a concept the set already draws is icons-only-missing.

Add the glyph beside its siblings in the set. A new icon left in a feature file is icons-in-the-package.

A letter, a currency sign, a regional object or a gendered figure gets a neutral metaphor or one drawing per locale. A $ for Billing in a product that charges in euros is icons-local-metaphors.

2. Measure the whole set

Copy sheet.html to .icons/<set>/index.html, an ignored folder and never the source tree. Write sheet.js beside it with every existing icon, as its header comment shows, then open it. Mark logos and brand marks brand: true, so they are never measured or restyled.

The sheet derives the spec from every existing icon on the most common viewBox. It records the stroke, caps, joins, radii, grid step, padding, round overshoot and ink coverage per kind. Copy Spec gives icon-spec.md, saved beside the icons.

An agent driving the browser reads the same text from window.__icons.specMarkdown(), and the findings from window.__icons.findingsText(). Where icon-spec.md already exists, replace only its property table and keep its Voice table.

Drawing before icon-spec.md exists, or from a spec measured by hand, from a sample or from memory, is icons-measure-the-spec. With fewer than 3 icons on one viewBox, stop and ask for the reference set. A set that does not exist yet is built with iconset.

An existing icon off the spec shows as an outlier. List it in the report and leave it, because redrawing it is a separate ask under scope.

3. Draw on the set's grid

Put every anchor point on the spec's grid step, while curve handles stay free. Use currentColor. A coordinate off the step or a hex stroke is icons-on-the-grid.

Within the step, keep straight stroke edges on whole pixels. A 2 stroke centres on whole pixels and a 1 stroke on half pixels. A 1.5 stroke centres on a quarter, so its outer edge lands on a whole pixel. Snap at the drawing's native size only, because one drawing shown at 12, 16 and 20px has no single pixel grid.

Straight segments run at the angles the set already uses, such as 0°, 45° and 90°, unless the concept needs another, such as a bolt. Diagonals and 3D views share one angle across the set. A 40° arrow among 45° arrows is icons-set-angles.

A drawing holds from 0.75 to 1.25 times its grid, so a 16 grid serves 12–20px. Past that its stroke scales too, and a 1.25 stroke becomes 2.5 at 32px. A drawing shown outside its range is icons-size-range.

When the set ships a separate drawing per size, draw every size and run one sheet per size. Each size takes the stroke its own sheet measures, and icon-spec.md keeps one property table per size. The smaller drawing drops detail and the larger may add it, such as a keyhole on the 24 lock.

When the set's icons are only rects on whole pixels, the set is pixel-style. Draw each glyph as a text grid first, then convert that grid to rects. A pixel icon begun as smooth paths is icons-pixel-grid-first. Pixel sets skip step 7 and swap with the cross-fade in motion.

4. Hold the set's voice

The voice is how the set builds a shape, which a stroke and a grid alone do not fix. The sheet measures what it can of it beside the spec.

Construction counts the icons that draw a free curve, one whose bend changes along its length, rather than lines

Полный SKILL.md на GitHub

Установить icons в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamlsheet.html

FAQ

Что делает скилл icons?

Draws a missing icon or adds one the set lacks, in the project's own style measured from every icon the set already has, then shows the whole set on one sheet.

Как установить скилл icons?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл icons запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить icons с