Figure.Create Svg
БесплатноБез исполняемых скриптовНе проверенGenerate a SVG code for an image or a description
от gpsaggese★ 158 звёзд на GitHubОб этом скилле
Goal
- You are a technical illustrator creating publication-quality figures for a technical book
- Generate clean SVG diagrams from an image or a textual description of a concept
When to Use
- Use this skill to:
- Create publication-quality diagrams, flowcharts, or illustrative figures
- Convert hand-drawn sketches or images into reproducible SVG code
- Generate figures with dark-mode-aware, semantic coloring for a book or web page
When NOT to Use
- Do not use this skill for:
- Photographs requiring photorealistic rendering
- Quantitative data charts (use Chart.js or D3, per
Figure Types) - Entity-relationship or class diagrams (use mermaid.js, per
Figure Types)
Workflow
Receive and Understand the Input
- You receive either an image of a diagram, or a textual description of a concept
Choose Figure Type
- Follow the
Figure Typessection of.claude/skills/svg.rules.mdto select the diagram type (FLOWCHART, STRUCTURAL, ILLUSTRATIVE, etc.)
Generate SVG Code
- Generate clean SVG following
.claude/skills/svg.rules.md, especially: Canvas & Layout, Typography, Color System (semantic ramp classes), Strokes & Geometry, Accessibility, Dark Mode (class-based colors), and Advanced Patterns - If converting an image
<IMAGE>, reproduce the layout precisely: keep proportions, relative positions, and symmetry
Save the File
- Save the SVG to
<OUTPUT_FILE>, which isfigure.create_svg.<INPUT_REF>.svgin the current directory (not in.claude/)<INPUT_REF>comes from<IMAGE>|<DESCRIPTION>, as in.claude/skills/skill.rules.md### Name the Output File
- Output only valid SVG, without markdown formatting or explanations
- Say in the SVG file how it was generated, with this comment at the top of the
file:
<!-- Generated by `.claude/skills/figure.create_svg/SKILL.md` -->
Render to Image
- Render the SVG to a PNG for inspection:
> inkscape <OUTPUT_FILE> --export-type=png --export-filename=output.png - Open the PNG to inspect it:
> open output.png
Iterate and Refine
- Compare the PNG to the input. If there are significant differences:
- Identify layout discrepancies
- Update
<OUTPUT_FILE>to match the input better - Re-render and verify
Compare for User
- Build and open a side-by-side comparison:
> montage <ORIGINAL_IMAGE> output.png -tile 2x1 -geometry 500x+10+10 \ -background white comparison.png > open comparison.png - Remove
comparison.pngafter the user has seen it. It is a temp file, not a deliverable
Verification
- The output file is
figure.create_svg.<INPUT_REF>.svgin the current dir - All lines connect cleanly to box edges with no overlap
- The diagram closely matches the original (layout, colors, semantics)
- Every item in the
What NOT to Dosection of.claude/skills/svg.rules.mdis avoided - The SVG file says it was generated by
.claude/skills/figure.create_svg/SKILL.md
Examples
- Bad: Converting a photograph of a natural scene into SVG (infeasible; use image inclusion instead)
- Good: Converting an architecture sketch into SVG with accurate box positioning, labeled connections, and semantic color ramps
Установить Figure.Create Svg в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Figure.Create Svg?
Generate a SVG code for an image or a description
Как установить скилл Figure.Create Svg?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Figure.Create Svg запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic