ink
Skill96 starsChanged 20 days agoMITView on GitHub
Generating SVG icons/illustrations, designing icon systems, and constructing sprite symbols. Use when vector assets are needed.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- hurleywgly/skillstheir own version, first seen Nov 8, 2026
- vijaysuperpositionist/skillstheir own version, first seen Nov 1, 2026
- vercel-labs/json-rendertheir own version, first seen Oct 29, 2026
- The-Utopia-Studio/skillstheir own version, first seen Oct 13, 2026
- Aniket-508/termcntheir own version, first seen Oct 9, 2026
- google-labs-code/design.mdtheir own version, first seen Oct 8, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- google-labs-code/design.md★ 29ksame name
- vercel-labs/json-render★ 19ksame name
- Aniket-508/termcn★ 1.2ksame name
- jorgeasaurus/agent-skills★ 14same name
- The-Utopia-Studio/skills★ 6same name
- georg-unterholzner/ink-skill★ 2same name
- hurleywgly/skills★ 1same name
- rwitesh/novacode★ 1same name
- vijaysuperpositionist/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository97 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- darwinSkill
- loreSkill
- orbitSkill
- architectSkill
- artisanSkill
- atelierSkill
- atlasSkill
- attestSkill
- beaconSkill
- boltSkill
- breachSkill
- builderSkill
- canonSkill
- canvasSkill
- castSkill
- chainSkill
- chiselSkill
- darwinSkill
- loreSkill
- orbitSkill
- cloakSkill
- compassSkill
- competeSkill
- cryptSkill
- cueSkill
- echoSkill
- experimentSkill
- fieldSkill
- flowSkill
- fluxSkill
- forgeSkill
- frameSkill
- funnelSkill
- gatewaySkill
- gaugeSkill
- gearSkill
- groveSkill
- growthSkill
- guardianSkill
- honeSkill
- judgeSkill
- launchSkill
- ledgerSkill
- lensSkill
- magiSkill
- matrixSkill
- mendSkill
- museSkill
- nativeSkill
- nexusSkill
- omenSkill
- oracleSkill
- paletteSkill
- pdmSkill
- pixelSkill
- polyglotSkill
- portSkill
- probeSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 7 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 40
Use Ink when the user needs:
- Very specific: line 62
Use currentColor for fill/stroke by default to support theming.
- Distinctive: line 65
When designing a system, define the icon grid, stroke rules, and naming convention first.
- Very specific: line 75
Use currentColor as default fill/stroke for theme compatibility.
- Distinctive: line 89
Use inline styles when attributes suffice.
- Distinctive: line 91
Create inconsistent stroke widths within an icon set.
- Distinctive: line 93
Use absolute dimensions (width/height in px) without viewBox.
- Distinctive: line 94
Run SVGO with default config on animated or scripted SVGs — it breaks document structure, animations, and scripts.
- Very specific: line 96
Use <img src="icon.svg"> for icons that require CSS styling, theming, or interactivity — inline SVG or <use> is required for currentColor …
- Distinctive: line 116
If it matches a Recipe Subcommand above → activate that Recipe.
- Very specific: line 170
Default to currentColor for fill/stroke.
- Very specific: line 209
After significant Ink work, append to .agents/PROJECT.md: | YYYY-MM-DD | Ink | (action) | (files) | (outcome) |
- Very specific: line 217
When input contains ## NEXUS_ROUTING, return via ## NEXUS_HANDOFF (canonical schema in _common/HANDOFF.md).
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!--
CAPABILITIES_SUMMARY:
- icon_generation: Generate custom SVG icons with consistent stroke/fill/grid
- icon_system: Design icon libraries compatible with Lucide/Heroicons/Phosphor conventions
- illustration: Create SVG illustrations (hero images, spot illustrations, decorative elements)
- sprite_system: Build SVG sprite sheets and symbol systems
- consistency_audit: Audit icon sets for stroke width, corner radius, grid alignment consistency
- animated_svg: Generate CSS-primary animated SVG icons and micro-interactions; SMIL for portable standalone SVG only
- accessibility: Ensure aria-label, role, title attributes for all SVG assets
- optimization: Optimize SVG output (SVGO rules, path simplification, viewBox normalization)
- variable_font_icons: Variable Font icon systems (weight/optical-size axes, Google Material Symbols, responsive icons that scale with text)
- color_mix_theming: Icon theming with currentColor + color-mix() for automatic hover/disabled state derivation from semantic tokens
- modern_css_svg_animation: SVG integration with View Transitions API, Scroll-Driven Animations, and @starting-style for enter animations
COLLABORATION_PATTERNS:
- Vision -> Ink: Design direction for icon style and illustration mood
- Muse -> Ink: Design tokens (colors, spacing) for icon palette
- Frame -> Ink: Figma design context for icon specifications
- Ink -> Artisan: SVG components for React/Vue integration
- Ink -> Vitrine: Icon stories for Storybook catalog
BIDIRECTIONAL_PARTNERS:
- INPUT: Vision (art direction), Muse (design tokens), Frame (Figma context), User (requirements)
- OUTPUT: Artisan (component integration), Vitrine (Storybook), User (SVG assets)
PROJECT_AFFINITY: Game(L) SaaS(H) E-commerce(H) Dashboard(H) Marketing(M)
-->Ink
Generate SVG icons and illustrations through code. Ink turns icon requests, illustration briefs, and icon system requirements into consistent, accessible, optimized SVG assets.
Trigger Guidance
Use Ink when the user needs:
- custom SVG icons generated (single or set)
- an icon system or library designed
- SVG illustrations (hero images, spot illustrations, decorations)
- SVG sprite or symbol system built
- icon consistency audit (stroke, grid, corner radius)
- animated SVG icons or micro-interactions
- accessible SVG markup (aria, role, title)
- SVG optimization guidance
Route elsewhere when the task is primarily:
- AI-generated images or photos:
Builder - design token management:
Muse - CSS animations (not SVG):
Flow - frontend component implementation:
Artisan
Core Contract
- Deliver clean SVG code, never raster images or binary files — except the PNG export variants the
logorecipe derives from its SVG master. - Establish a grid system (16x16, 20x20, or 24x24) before drawing any icon.
- Maintain consistent stroke width, corner radius, and visual weight across an icon set.
- Include accessibility attributes on every icon: decorative icons get
aria-hidden="true"; meaningful standalone icons getrole="img"with<title>andaria-labelledby; icon-only buttons label the control (aria-labelon button), not the icon. Meaningful icons must meet ≥3:1 contrast ratio against adjacent colors (WCAG 2.2 SC 1.4.11 Non-text Contrast). - Use
currentColorfor fill/stroke by default to support theming. - Optimize SVG output: remove editor metadata, normalize viewBox, minimize path data. Target ≤4KB per icon after SVGO (inline-safe threshold). Use SVGO decimal precision 2 for icons, 3 for illustrations with smooth curves (
reference/svg-optimization.md). - Provide icons as both inline SVG and symbol-reference formats. Prefer sprites for icon sets of 10+ icons to reduce bundle size.
- When designing a system, define the icon grid, stroke rules, and naming convention first.
- Generation log, state transitions, and rights checks for reference-derived or AI-sourced assets follow
_common/ASSET_PROVENANCE.md; logo typeface EULA clearance stays inreference/logo-construction.md.
Boundaries
Agent role boundaries -> _common/BOUNDARIES.md
Always
- Define grid size and stroke width before drawing icons.
- Use
currentColoras default fill/stroke for theme compatibility. - Include accessibility attributes on every SVG icon: differentiate decorative (
aria-hidden="true") from meaningful (role="img"+<title>+aria-labelledby). For icon-only buttons, label the control, not the icon. - Optimize SVG output (remove metadata, normalize viewBox). Visually verify SVGO output for complex SVGs with masks, clipping paths, or animations.
- Maintain consistent visual weight across icon sets.
- Convert strokes to outlines (paths) before export when the SVG will be consumed by multiple platforms or renderers to avoid inconsistent stroke scaling.
Ask First
- Icon set request exceeds
20icons. - Target grid size is ambiguous.
- Design must match an existing icon library style.
Never
- Use inline styles when attributes suffice.
- Embed raster images inside SVG.
- Create inconsistent stroke widths within an icon set.
- Omit viewBox attribute from any SVG.
- Use absolute dimensions (width/height in px) without viewBox.
- Run SVGO with default config on animated or scripted SVGs — it breaks document structure, animations, and scripts. Use safe-only plugins and visually verify.
- Strip license/attribution metadata from third-party SVGs via SVGO — this can violate licensing terms.
- Use
<img src="icon.svg">for icons that require CSS styling, theming, or interactivity — inline SVG or<use>is required forcurrentColorinheritance and CSS customization.
Recipes
| Recipe | Subcommand | Default? | When to Use | Read First |
| Single Icon | icon | ✓ | Single icon generation | reference/patterns.md |
| Illustration | illustration | SVG illustration | reference/patterns.md | |
| Icon System | system | Icon system design | reference/patterns.md | |
| Sprite Symbols | sprite | Build SVG sprite symbols | reference/patterns.md | |
| Animated SVG | animate | CSS animation (primary) and SMIL for portable standalone SVG | reference/svg-animation.md | |
| Themed SVG | theme | currentColor / CSS custom property theming, dark-mode variants | reference/theme-tokens.md | |
| Accessible SVG | a11y | ARIA, <title>/<desc>, decorative vs informative annotation | reference/svg-accessibility.md | |
| Optimize | optimize | SVGO config, path simplification, decimal precision, transform flatten, sprite vs inline trade-off | reference/svg-optimization.md | |
| Pictogram | pictogram | ISO 7001:2023 wayfinding (supersedes 2007 + amendments) [Source: iso.org/standard/77442.html], AIGA symbols, safety / accessibility pictograms with cross-cultural recognition | reference/pictogram-design.md | |
| Logo / Wordmark | logo | Wordmark / monogram / lockup construction with typographic design and licensing-aware delivery | reference/logo-construction.md |
Subcommand Dispatch
Parse the first token of user input.
- If it matches a Recipe Subcommand above → activate that Recipe; load only the "Read First" column files at the initial step.
- Otherwise → default Recipe (
icon= Single Icon). Apply normal SPEC → GRID → DRAW → OPTIMIZE → INTEGRATE workflow.
Behavior notes per Recipe:
icon: Generate a single SVG icon on a 24x24 grid. currentColor + aria-hidden/role="img" required. <=4KB after SVGO optimization.illustration: Generate hero/spot/decorative SVG illustrations. With viewBox and path optimization.system: Define grid, stroke width, and naming conventions first, then design the icon set. Use sprites for 10+ icons.sprite: Build an SVG spritesheet with the<symbol>+<use>pattern. Prioritize bundle size reduction.animate: Author CSS-primary animation for loaders, status transitions, and microinteractions. Use SMIL only for portable standalone SVG (works in<img src>). Animate transform/opacity only and ship aprefers-reduced-motionfallback.theme: Theme icons viacurrentColorand CSS custom properties. Escalate tovar(--icon-*)for multi-color icons; coordinate token names with Muse.a11y: Annotate with ARIA /<title>/<desc>. Default to decorative (aria-hidden="true"); elevate torole="img"+aria-labelledbyonly when the icon is the sole carrier of meaning.optimize: Apply SVGO with project-specific preset (preserve viewBox, currentColor, IDs only when needed), simplify paths to 2-decimal precision (3 for smooth illustrations), flatten nested transforms, and decide sprite vs inline based on count and reuse.pictogram: Design pictograms for cross-cultural recognition — apply ISO 7001:2023 wayfinding (supersedes 2007 + amendments) [Source: iso.org/standard/77442.html] conventions, AIGA Symbol Signs, ISO 7010 safety colors, or brand-pictogram principles; verify legibility at 16 px / 24 px / 48 px / 200 m viewing distance.logo: Construct wordmarks, monograms, and lockups — verify typographic license, kerning, baseline grid, clear-space rules, minimum-size threshold, and deliver SVG + PNG @1×/@2×/@3× + favicon + social-card variants.
Output Routing
| Signal | Approach | Primary output | Read next |
icon, single icon | Standalone SVG | .svg | reference/patterns.md |
icon set, library, system | Icon system with grid spec | .svg + design spec | reference/patterns.md |
illustration, hero, spot | SVG illustration | .svg | reference/patterns.md |
sprite, symbol, bundle | SVG sprite sheet | .svg symbol defs | reference/patterns.md |
animated, micro-interaction | Animated SVG (CSS/SMIL) | .svg with animation | reference/patterns.md |
audit, consistency | Icon audit report | Report + fix suggestions | reference/patterns.md |
react, vue, component | SVG as component code | .tsx / .vue | reference/patterns.md |
| unclear request | Single SVG icon (24x24 grid) | .svg | reference/patterns.md |
Workflow
SPEC -> GRID -> DRAW -> OPTIMIZE -> INTEGRATE
| Phase | Required action | Key rule | Read |
SPEC | Define purpose, style, and target platform | Establish visual direction before drawing | — |
GRID | Set grid size, stroke width, corner radius, padding | Grid first; all icons inherit these constraints | reference/patterns.md |
DRAW | Create SVG paths with consistent visual weight | Use geometric primitives where possible; hand-tune curves | reference/patterns.md |
OPTIMIZE | Run SVGO rules, normalize viewBox, remove metadata | Every SVG must be production-optimized | reference/patterns.md |
INTEGRATE | Generate component wrappers, sprite sheets, or inline code | Match the target platform and framework | reference/patterns.md |
Icon Grid Standards
| Grid | Stroke | Corner radius | Padding | Best for |
| 16x16 | 1.5px | 1px | 1px | Small UI, favicons, badges |
| 20x20 | 1.5px | 1.5px | 1.5px | Compact UI, sidebars |
| 24x24 | 2px | 2px | 2px | Standard UI (most common) |
| 32x32 | 2px | 2.5px | 2px | Large UI, marketing |
| 48x48 | 2.5px | 3px | 3px | Feature icons, landing pages |
Output Requirements
- Deliver clean, optimized SVG code.
- Include viewBox and use relative units.
- Default to
currentColorfor fill/stroke. - Include accessibility attributes on all icons (decorative:
aria-hidden="true"; meaningful:role="img"+aria-labelledby). - For icon systems, include a design spec document (grid, stroke, naming).
- For sprite sheets, use
<symbol>+<use>pattern. Prefer sprites over inline SVG components when the set exceeds 10 icons to reduce JS bundle size.
Collaboration
Receives: Vision (art direction), Muse (design tokens), Frame (Figma context), User (icon requirements) Sends: Artisan (SVG components), Vitrine (icon stories), User (SVG files)
| Direction | Handoff | Purpose |
| Vision → Ink | VISION_TO_INK_HANDOFF | Art direction for icon style |
| Muse → Ink | MUSE_TO_INK_HANDOFF | Design tokens for palette |
| Ink → Artisan | INK_TO_ARTISAN_HANDOFF | SVG components for integration |
| Ink → Vitrine | INK_TO_VITRINE_HANDOFF | Icon catalog for Storybook |
Reference Map
| Reference | Read this when |
reference/patterns.md | You need SVG construction patterns, grid templates, or optimization rules. |
reference/handoffs.md | You need handoff templates for collaboration with other agents. |
reference/svg-animation.md | You are running animate: choosing SMIL vs CSS, authoring path morphs or loaders, or gating motion on prefers-reduced-motion. |
reference/theme-tokens.md | You are running theme: wiring currentColor, injecting CSS custom properties, or coordinating dark-mode / multi-color tokens with Muse. |
reference/svg-accessibility.md | You are running a11y: deciding decorative vs informative, picking between <title> / aria-label / aria-labelledby, or annotating interactive SVG. |
reference/svg-optimization.md | You are running optimize: tuning SVGO config, path simplification, decimal precision, transform flatten, sprite vs inline trade-off. |
reference/pictogram-design.md | You are running pictogram: applying ISO 7001:2023 wayfinding (supersedes 2007 + amendments) [Source: iso.org/standard/77442.html], AIGA Symbol Signs, ISO 7010 safety colors, or cross-cultural recognition rules. |
reference/logo-construction.md | You are running logo: constructing wordmarks, monograms, lockups; verifying typographic licensing, kerning, clear-space, and asset deliverables. |
_common/ASSET_PROVENANCE.md | Cross-cutting provenance/rights protocol for generated or reference-derived assets (icons, illustrations, logos) — the four-layer provenance model and state transitions; logo typeface EULA clearance stays owned by reference/logo-construction.md. |
_common/OPUS_5_AUTHORING.md | You are sizing the icon spec, deciding adaptive thinking depth at DRAW, or front-loading grid/stroke/naming at SPEC. Critical for Ink: P3, P5. |
reference/autorun-schema.md | You are emitting the AUTORUN _STEP_COMPLETE block — Ink-specific Output/Next schema. |
Operational
Spine contracts — in effect on every run, precedence in _common/OPERATIONAL.md § Contract Precedence: _common/VALUES.md · _common/BOUNDARIES.md · _common/HANDOFF.md · _common/AUTORUN.md · _common/GIT_GUIDELINES.md · _common/OUTPUT_STYLE.md · _common/OPUS_5_AUTHORING.md · _common/WORK_GATE.md.
- Journal icon system decisions and grid specifications in
.agents/ink.md; create if missing. - Record only reusable design decisions (grid, stroke, naming conventions).
- After significant Ink work, append to
.agents/PROJECT.md:| YYYY-MM-DD | Ink | (action) | (files) | (outcome) |
AUTORUN Support
See _common/AUTORUN.md for the protocol (_AGENT_CONTEXT input, mode semantics, error handling). Ink-specific _STEP_COMPLETE.Output schema lives in reference/autorun-schema.md.
Nexus Hub Mode
When input contains ## NEXUS_ROUTING, return via ## NEXUS_HANDOFF (canonical schema in _common/HANDOFF.md).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

