Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
jezweb avatar

Icon Set Generator

  • 1.5k installs
  • 946 repo stars
  • Updated July 2, 2026
  • jezweb/claude-skills

A cohesive SVG icon set with enforced style consistency, preset configuration, and delivery as individual files plus documentation.

About

Icon Set Generator creates cohesive, project-specific SVG icon sets by defining a shared style specification once and enforcing it across every icon. Developers use this when building sites or apps that need custom visual identity beyond generic icon libraries. The workflow guides users through project discovery, icon selection organized by category (navigation, communication, trust, actions, industry-specific), style preset selection (Clean, Sharp, Soft, Minimal, Bold), batch SVG generation with optical corrections for consistent visual weight, and delivery as individual SVG files plus preview HTML and style-spec.json. Enforces hard rules: currentColor only, identical viewBox/stroke attributes, no hardcoded colours, minimal DOM elements, and optical balance corrections for curves and pointed shapes.

  • Generates SVGs with enforced style rules - identical stroke width, linecap/linejoin, viewBox, and padding across entire
  • Five preset styles (Clean, Sharp, Soft, Minimal, Bold) with configurable stroke, corners, and visual weight
  • Optical corrections built in - curved stroke compensation, pointed shape overshoot, visual weight balancing
  • Organized icon suggestions by category (Navigation, Communication, Trust, Actions, Industry-Specific) via industry refer
  • Delivers preview.html for visual inspection, style-spec.json documenting the spec, and individual SVG files in kebab-cas

Icon Set Generator by the numbers

  • 1,535 all-time installs (skills.sh)
  • +33 installs in the week ending Jul 29, 2026 (Skillselion tracking)
  • Ranked #230 of 1,888 Design & UI/UX skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 31, 2026 (Skillselion catalog sync)
At a glance

icon-set-generator capabilities & compatibility

Capabilities
generate svg icons with enforced style consisten · apply optical corrections for curved strokes and · organize icon suggestions by category (navigatio · create html preview page for visual inspection a · generate and document style spec.json with prese
Use cases
ui design · web design · frontend
Runs
Runs locally
Pricing
Free
From the docs

What icon-set-generator says it does

Every icon in a set MUST follow all of these. Even small inconsistencies — a slightly different stroke width, a rounded corner where others are sharp — make the set look amateur.
skill documentation - SVG Rules section
npx skills add https://github.com/jezweb/claude-skills --skill icon-set-generator

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.5k
repo stars946
Security audit3 / 3 scanners passed
Last updatedJuly 2, 2026
Repositoryjezweb/claude-skills

What it does

Generate custom, visually consistent SVG icon sets for websites and applications with enforced style rules.

Who is it for?

Web projects, SaaS applications, and client work requiring branded visual assets that stand apart from default icon libraries.

Skip if: Projects needing real-time icon generation, animated icons, or icon library management at scale.

When should I use this skill?

User requests custom icons, icon set for website/app, project-specific SVG icons, or mentions icons as part of deliverable.

What you get

Custom icon set with guaranteed visual consistency, branded feel, and documented style rules ready to integrate into frontend code.

  • Individual SVG files in icons/ directory (lowercase kebab-case naming)
  • preview.html with grid display at native (24px) and 2x (48px) sizes, dark background contrast check
  • style-spec.json documenting preset, grid size, stroke width, linecap, linejoin, corner radius, padding, and icon list

By the numbers

  • Five preset styles provided (Clean, Sharp, Soft, Minimal, Bold) with documented stroke and corner configurations
  • Typical icon set ranges 15-25 icons for small websites; generated in batches of ~5 with consistency checks
  • viewBox grid standard is 24x24 with configurable stroke width (1px to 2.5px) and corner radius (0px to 4px)

Files

SKILL.mdMarkdownGitHub ↗

Icon Set Generator

Generate custom, visually consistent SVG icon sets tailored to specific projects. Each set is built from a shared style specification so every icon looks like it belongs with the others — same stroke weight, same corner treatment, same visual density.

Why This Matters

Generic icon libraries (Lucide, Heroicons) are great but every site using them looks similar. A custom icon set gives a project distinct visual identity. The hard part is consistency — drawing 20+ icons individually causes style drift. This skill solves that by defining style rules once and enforcing them across every icon.

Workflow

Step 1: Understand the Project

Ask about the project. You need enough to suggest icons and pick a style:

  • What's the business/project? (industry, name, vibe)
  • Any brand guidelines or colour palette? (informs style choices even though SVGs use currentColor)
  • What feel? (modern, friendly, corporate, minimal, bold)
  • Roughly how many icons? (typical small site: 15-25)

A brief like "plumber in Newcastle, modern feel" is enough to proceed. Don't over-interview.

Step 2: Suggest Icons

Read references/industry-icons.md for industry-specific suggestions. Organise into groups:

  • Navigation — menu, close, arrows, search
  • Communication — phone, email, location, clock
  • Trust — star, shield, award, users
  • Actions — download, share, calendar, form
  • Industry-Specific — icons unique to this business type

Present the list. Let the user add, remove, or rename before generating.

Step 3: Define the Style Spec

Read references/style-presets.md for full preset definitions. Pick one as starting point:

PresetBest ForStrokeCaps/JoinsCorners
CleanMost business sites1.5pxround/round2px
SharpCorporate/technical1.5pxsquare/miter0px
SoftFriendly/approachable2pxround/round4px
MinimalElegant/editorial1pxround/round0px
BoldHigh impact/accessible2.5pxround/round2px

Tell the user which preset you're recommending and why, then confirm.

Step 4: Generate the Icons

Generate every icon following the SVG Rules below. Output to an icons/ directory in the project root (or the user's preferred location).

Read references/svg-examples.md before generating — it contains reference implementations showing the right level of complexity and how to handle common icon shapes.

Generate in batches of ~5. After each batch, visually review for consistency before continuing. After all icons are done, create the preview page and style-spec.json.

Step 5: Deliver

Output structure:

icons/
├── style-spec.json
├── preview.html
├── home.svg
├── phone.svg
└── ...

Present preview.html first so the user sees the complete set visually.

---

SVG Rules

Every icon in a set MUST follow all of these. Even small inconsistencies — a slightly different stroke width, a rounded corner where others are sharp — make the set look amateur.

SVG Template

Every icon uses this exact outer structure:

<svg xmlns="http://www.w3.org/2000/svg"
  width="{grid}" height="{grid}"
  viewBox="0 0 {grid} {grid}"
  fill="none"
  stroke="currentColor"
  stroke-width="{strokeWidth}"
  stroke-linecap="{strokeLinecap}"
  stroke-linejoin="{strokeLinejoin}">
  <!-- icon paths here -->
</svg>

Hard Rules

1. `currentColor` only — Never hardcode colours. SVGs inherit colour from CSS. No fill="#000" or stroke="blue". If a shape needs fill, use fill="currentColor".

2. Identical viewBox — Every icon uses the same viewBox. No exceptions.

3. Identical root stroke attributesstroke-width, stroke-linecap, stroke-linejoin on the <svg> element must match across all icons. Override on individual elements only when truly necessary.

4. No transforms on root — No translate, rotate, scale. Bake positioning into coordinates.

5. No IDs or classes — Keep SVGs clean for external styling.

6. Coordinate precision — Max 2 decimal places. Snap to half-pixel grid (e.g. 12, 12.5, not 12.333).

7. Consistent padding — Maintain configured padding from viewBox edge. For 24px grid with 2px padding, draw within 2–22 coordinate range.

8. Minimal elements — Fewest <path>, <circle>, <rect>, <line> elements practical. Simpler = smaller + faster rendering.

9. Visual centring — Appear visually centred, not just mathematically centred. A leftward arrow shifts slightly right. A house with a chimney adjusts for asymmetry.

Optical Corrections

Subtle but essential for professional results:

  • Curved stroke compensation: Curves appear thinner than straight lines at same stroke width. For primarily curved icons (phone, globe), make paths slightly larger rather than changing stroke width.
  • Pointed shape overshoot: Arrows, chevrons, triangles extend ~0.5px beyond where a square would stop to appear the same size.
  • Visual weight balancing: Simple icons (single chevron) look lighter than complex ones (gear). Make simpler icons slightly larger in the grid, or use slightly more substantial paths. No icon should look noticeably lighter or heavier than the others.

---

style-spec.json

{
  "name": "project-name-icons",
  "preset": "clean",
  "grid": 24,
  "strokeWidth": 1.5,
  "strokeLinecap": "round",
  "strokeLinejoin": "round",
  "cornerRadius": 2,
  "padding": 2,
  "opticalBalance": true,
  "iconCount": 20,
  "icons": ["home", "phone", "email"],
  "generated": "2026-02-15"
}

---

Preview Page

Generate a self-contained HTML file displaying all icons for visual review. Read references/preview-template.md for the template. Requirements:

  • Grid of all icons at native size (24px) with labels
  • Same grid at 2x (48px) for detail inspection
  • Dark background section (white on dark) for contrast check
  • Style spec summary at top
  • Inline CSS, no dependencies — just open in browser
  • Inline all SVGs directly into the HTML (don't reference external files)

---

Quality Checklist

Verify every item before delivering:

  • [ ] All SVGs have identical viewBox, stroke-width, stroke-linecap, stroke-linejoin
  • [ ] All SVGs use currentColor exclusively
  • [ ] Visual weight is balanced across the set
  • [ ] Padding is consistent (nothing touching viewBox edge)
  • [ ] All icons visually centred
  • [ ] Filenames are lowercase kebab-case (arrow-right.svg)
  • [ ] Preview HTML renders all icons correctly
  • [ ] style-spec.json is accurate and lists all icons

---

Reference Files

Read these before generating:

  • references/style-presets.md — Detailed preset definitions and selection guidance
  • references/industry-icons.md — Industry-specific icon suggestions
  • references/preview-template.md — HTML template for the preview page
  • references/svg-examples.md — Example SVGs showing proper construction at various complexity levels

Related skills

How it compares

Pick icon-set-generator for industry-based icon naming guidance; use a design-system skill when icons are already defined in Figma tokens.

FAQ

Why not use existing icon libraries like Heroicons or Lucide?

Generic libraries are efficient but every site using them looks similar. Custom icon sets give projects distinct visual identity while this skill ensures consistency across 20+ icons by enforcing style rules once rather than drawing each icon individually.

What's the output format and how do I use the icons?

Output is individual SVG files in an icons/ directory plus preview.html and style-spec.json. SVGs use currentColor so they inherit colour from CSS. Integrate them directly into HTML or as img tags - no dependencies or external libraries required.

How long does a full icon set take to generate?

Icons are generated in batches of ~5 with visual consistency checks between batches. A typical 15-25 icon set (standard for small websites) takes one session, producing preview HTML and style spec immediately.

Is Icon Set Generator safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Design & UI/UXuibranding

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.