Use when a Multica web/desktop UI change needs an icon that `@multica/ui/icons` does not export yet, or when redrawing or reviewing a Multica glyph. Covers the grid, corner and stroke construction, the body/detail markers, and the generate-and-preview loop. Never reach for an icon library, inline SVG, or emoji instead.
Getting started
Full instructionsInstall the skill, then ask your AI tool for the task in plain words. The full SKILL.md below shows what it covers.
Instructions: SKILL.mdv1.0.1
Drawing Multica icons
Every icon in the product is a Multica drawing exported from @multica/ui/icons. No icon library is installed, and lint rejects imports from one. When you need a new symbol, draw it.
Before drawing
- Search
packages/ui/icons/index.tsfor the name and for synonyms. If an existing glyph already means the same thing, add an alias toALIASESindrawings.mjsinstead of drawing a near-duplicate. - Pick a name that describes the symbol, not the feature (
Webhook, notIntegrationsNav). Follow the existing PascalCase names.
Where things live
packages/ui/icons/drawings/construction.mjsholds the shared geometry helpers.packages/ui/icons/drawings/drawings.mjsholds every drawing as inner SVG markup, plusALIASES.packages/ui/icons/glyphs.tsandindex.tsare generated. Never edit them by hand;icons.test.tsfails when they drift.
Construction
-
Grid. 24×24 viewBox, with a 2px round-capped, round-joined stroke from the renderer. Keep geometry inside 2.5–21.5. Most silhouettes span 2.75–21.25. An object glyph whose longest side is under about 17 renders visibly smaller than its neighbours; only chevrons,
Xand similar marks stay small. Keep parallel strokes at least 3 apart so a gap survives at 14px. A stroke that crosses a shape, such as a pencil's cap line, ends exactly on the outline's centreline; the round cap pokes out if it runs past. When you scale or move a body, recompute these endpoints. -
Corners. Use
shape([[x, y, k], ...])andrect(x, y, w, h, k), which build continuous-curvature (squircle) corners. Typicalkvalues:- 5–7 for large containers such as cards, windows and chat bubbles.
- 2.5–4 for small parts.
- 1–1.5 for tips and points.
- 0 for a hard corner, which is rare.
Do not hand-write
a r rarc corners for rectangles. -
Anything that points. Chevrons, arrowheads,
< >brackets, prompts and direction triangles (play, skip) turn at a sharp vertex: a straight polyline such asM9 6L15 12 9 18, orhead(x, y, dir, depth, half)for an arrowhead with its tip at (x, y). Never round the tip with a curve or akcorner; the round stroke join is the only softening. The bend in a corner or U-turn arrow's shaft may stay rounded. -
Checks. Use
tick(a, v, b): two straight strokes meeting at a tight vertex. Never bow a stroke through a curve where it should turn a corner; a check or any other angular mark drawn that way reads as handwriting. -
Dots.
dot(x, y, r)with r 1.1–1.5. Use dots only where they carry meaning: info, alert, eyes, status lights. -
Polygons and stars.
polygon(cx, cy, radii, count, k). -
Reuse parts.
file(),folderBody,bubble,ring,user(),link,cwandccwalready exist. A variant (…Off,…Plus,…X) is the base drawing plus one stroke. A slash runsm3 3 18 18.
Body and details
- Mark the main closed silhouette with
class="b"(body). The active sidebar item fills it at 20% opacity.- Any icon that can appear in navigation must have a body. A test enforces this for route icons.
- Only mark closed shapes. An open arc with a fill closes into a stray chord.
- Mark strokes that sit inside the body with
class="k"(detail). - Detail budget. At most two inner details. Every detail must carry meaning: a check, a symbol, a divider that defines the object. Drop decorative highlights, extra lines and texture. Icons render at 14px in dense rows, where a third detail turns into noise.
Loop
- Add the drawing to
DRAWINGSindrawings.mjs. Keep sections grouped by subject. - Run
pnpm --filter @multica/ui icons --preview NewName Neighbour1 Neighbour2. Open the printed HTML file in a browser and check four things:- At 48px: does the geometry sit on the grid, with even optical weight next to its neighbours?
- At 18px and 14px: is it still legible, or do inner details merge?
- In the tinted (active) tile: does only the silhouette fill?
- Against similar glyphs: can it be told apart at a glance?
- Run
pnpm --filter @multica/ui iconsto regenerateglyphs.tsandindex.ts. - Import the new name from
@multica/ui/icons. Then runpnpm --filter @multica/ui testand the typecheck for the package that uses it.
Explore more skills
Browse all- Senior FrontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle…
- UI Design SystemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens…
- Founder ConsumerThe consumer panel. Spins up a swarm of buyer sub-agents (default 100, --quick for 20) trained on the user's target…
- Frontend DesignGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with…
- Senior BackendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load…
- Self Improving AgentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its…
Security
Reviews (0)
Frequently asked questions about multica-icons
What does the multica-icons skill do?
Use when a Multica web/desktop UI change needs an icon that `@multica/ui/icons` does not export yet, or when redrawing or reviewing a Multica glyph. Covers the grid, corner and stroke construction, the body/detail markers, and the generate-and-preview loop. Never reach for an icon library, inline SVG, or emoji instead. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the multica-icons skill?
Run `npx @skills-hub-ai/cli install multica-icons` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/multica-icons/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does multica-icons work with?
multica-icons runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the multica-icons skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use multica-icons after installing it?
In Claude Code, type `/multica-icons` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the multica-icons skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.
Badge for your README
Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.
[](https://skills-hub.ai/skills/multica-icons)<a href="https://skills-hub.ai/skills/multica-icons"><img src="https://skills-hub.ai/api/badges/skill/multica-icons" alt="Install on Skills Hub"></a>More options in the badge docs.