Ink

From simota/agent-skills · View interactive version

Ink is an AI agent skill from the GitHub repository simota/agent-skills. Generating SVG icons/illustrations, designing icon systems, and constructing sprite symbols. Use when vector assets are needed.

How to use this skill

Skill file

<!--

CAPABILITIES_SUMMARY:

COLLABORATION_PATTERNS:

BIDIRECTIONAL_PARTNERS:

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:

Route elsewhere when the task is primarily:

Core Contract

Boundaries

Agent role boundaries -> _common/BOUNDARIES.md

Always

Ask First

Never

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.

Behavior notes per Recipe:

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

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.

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).

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.