Command Palette

Search for a command to run...

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

advanced-svg-system-design

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

Design a reusable SVG visual language across multiple related figures. Use when a project needs shared component geometry, connector rules, stable IDs…

ThalesGroupот ThalesGroup★ 23 звезды на GitHub

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

Advanced SVG System Design

Overview

Use this skill when a project needs more than SVG cleanup. Focus on building a durable diagram system: layout rules, reusable components, editability, export behavior, and review checkpoints across many figures.

If the work is primarily about one scientific or technical figure for a report, slide, README, architecture note, methodology figure, training loop, pipeline, or comparison panel, prefer $scientific-svg-figures first. Use this skill when the user needs a reusable visual language or a consistent figure family, not just one strong technical diagram.

When to use

  • A single SVG is turning into a family of diagrams
  • The user wants a visual language, not only a one-off figure
  • The project must work on web, GitHub, docs, slides, and reports
  • The same figure must survive multiple edits by different people
  • The user needs structure for advanced SVG work in an external project

Not the right skill

  • For quick readability fixes on one existing SVG, use svg-diagram-tuning
  • For one publication-grade scientific or technical SVG, use scientific-svg-figures
  • For bitmap-heavy mockups or photo-like assets, use raster/image tooling instead
  • For HTML/canvas apps, use frontend work directly unless SVG remains the source of truth

Workflow

  1. Identify the delivery surfaces first: browser, GitHub, Sphinx, slides, DOCX, PDF, or print.
  2. Decide what stays invariant across diagrams:
    • grid
    • font stack
    • stroke widths
    • card shapes
    • connector rules
    • color semantics
  3. Keep one editable SVG source of truth per figure family.
  4. Prefer reusable groups and consistent naming over manual geometry drift.
  5. Separate semantic layers when useful:
    • structure
    • connectors
    • annotations
    • highlights
  6. Validate at the actual publication size, not only zoomed-in in an editor.
  7. For each diagram family, define the local alignment contracts explicitly:
    • shared bottoms
    • shared centers
    • side-column offsets
    • panel-to-inner-card gutters
  8. Record the export and review contract so the next editor does not improvise it.

Design rules

  • Optimize for comprehension before ornament.
  • Use whitespace and alignment before shrinking text.
  • Keep text on a predictable baseline rhythm.
  • Reserve explicit lanes for connectors; do not weave arrows through text.
  • Keep colors semantic and limited; use shape or position for redundancy.
  • If a diagram family grows, standardize component geometry instead of nudging boxes one by one.
  • Prefer browser-safe font stacks unless the project controls font embedding.
  • Treat GitHub and browser rendering as first-class targets, not afterthoughts.
  • Decide whether each local complaint should be solved by:
    • a strict constrained move
    • a local sub-ensemble rebalance
    • a family-wide geometry normalization Do not improvise that scope mid-edit.

Editing rules

  • Preserve stable IDs, layer names, and grouping so future edits stay cheap.
  • Do not convert all text to outlines unless the delivery contract truly requires it.
  • Do not rely on editor-specific effects that break in plain browser rendering.
  • Keep numeric sizing intentional: shared padding, corner radius, stroke widths, and arrowhead scale.
  • Standardize marker geometry and declare markerUnits explicitly across the figure family. Prefer userSpaceOnUse for stable arrowhead size; document any intentional strokeWidth scaling.
  • When reflowing one card, re-evaluate the whole row or column for symmetry.

Validation

  • Check XML validity when editing raw SVG.
  • Run the sibling svg-diagrams/scripts/check_svg_markers.py checker across the source SVG set whenever markers are used.
  • Compare at least two renderers when the output is public-facing.
  • Verify the placed size inside the real target:
    • README/browser page
    • Sphinx HTML
    • slide
    • DOCX/PDF export
  • If the project uses generated derivatives, regenerate them from the same source SVG before review.

References

  • Read references/workflow.md for the advanced checklist.
Полный SKILL.md на GitHub

Установить advanced-svg-system-design в Claude Code и Claude Desktop

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

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

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

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

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

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

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

agents/openai.yamlreferences/workflow.md

FAQ

Что делает скилл advanced-svg-system-design?

Design a reusable SVG visual language across multiple related figures. Use when a project needs shared component geometry, connector rules, stable IDs, multi-diagram consistency, and export contracts for web, slides, docs, or reports; use svg-diagrams for a simple new one-off, svg-diagram-tuning for one existing figure repair, and scientific-svg-figures for one publication-grade technical figure.

Как установить скилл advanced-svg-system-design?

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

Скилл advanced-svg-system-design запускает скрипты?

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

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

Сравнить advanced-svg-system-design с