create-svg-illustrations — скилл для Claude Code: установка и обзор
Скилл create-svg-illustrations для Claude Code и Codex создаёт и правит векторные иллюстрации и диаграммы SVG. Помогает встроить графику в презентации, документацию и веб-страницы с учётом доступности.
MIT 211 установок ★ 18 обновлён 2026-10-22
npx skills add narumiruna/skills --skill create-svg-illustrations -a claude-codeЧто делает create-svg-illustrations
Скилл генерирует компактную SVG-графику с корректным атрибутом viewBox, явными стилями текста и тегами описаний для экранных дикторов. Векторные файлы создаются без внедрённых шрифтов, лишних фильтров и base64-данных, чтобы код оставался переносимым.
Процесс включает проверку через svglint, если утилита установлена в системе, а также контроль масштабирования и контраста. Для презентаций Marp скилл формирует внешние текстовые описания alt, поскольку внутренних тегов SVG для читалок слайдов недостаточно.
Агент выдаёт готовый SVG-код вместе со списком проверок и шрифтовыми ограничениями. Изменения не отправляются в коммит без прямого запроса пользователя.
Какие задачи решает
- нарисовать доступную SVG-диаграмму для презентации Marp
- исправить обрезку и масштабирование вектора при встраивании в документ
- проверить SVG-разметку через svglint перед публикацией
- очистить векторный файл от лишних фильтров и base64-кода
Примеры запросов агенту
- Создай архитектурную диаграмму в SVG для слайда презентации
- Проверь этот SVG на доступность и ошибки viewBox
- Встрой схему в Markdown-документ Marp с корректным alt-описанием
Как установить create-svg-illustrations
1Через Skills CLI (Vercel)
npx skills add narumiruna/skills --skill create-svg-illustrations -a claude-code2Вручную: положить файлы
~/.claude/skills/create-svg-illustrations/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/create-svg-illustrations/
1Через Skills CLI (Vercel)
npx skills add narumiruna/skills --skill create-svg-illustrations -a codex2Вручную: положить файлы
.agents/skills/create-svg-illustrations/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add narumiruna/skills --skill create-svg-illustrations -a cursor2Вручную: положить файлы
.cursor/skills/create-svg-illustrations/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install narumiruna/skills visuals/skills/create-svg-illustrations2Вручную: положить файлы
.github/skills/create-svg-illustrations/SKILL.md1Через Skills CLI (Vercel)
npx skills add narumiruna/skills --skill create-svg-illustrations -a gemini-cli2Командой платформы
gemini skills install https://github.com/narumiruna/skills --path visuals/skills/create-svg-illustrationsВручную: положить файлы
.devin/skills/create-svg-illustrations/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add narumiruna/skills --skill create-svg-illustrations -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о create-svg-illustrations
Как установить create-svg-illustrations в Claude Code?
Выполните команду npx skills add narumiruna/skills --skill create-svg-illustrations -a claude-code в терминале или сохраните файл по пути ~/.claude/skills/create-svg-illustrations/SKILL.md.
Что делает create-svg-illustrations?
Скилл создаёт, правит и проверяет векторные диаграммы в формате SVG для документов и слайдов. Он настраивает доступность через теги заголовков, следит за viewBox и убирает лишние зависимости вроде внешних шрифтов.
Что нужно для работы create-svg-illustrations?
Для проверки синтаксиса разметки скилл использует утилиту svglint, если она установлена в вашей системе.
Исходный текст
SKILL.md · MIT
--- name: create-svg-illustrations description: Create, revise, embed, or troubleshoot accessible SVG diagrams and illustrations for slide decks, documents, and other static artifacts, with portable sizing, layout, style, and validation guidance. --- # SVG Illustrations Start with `references/core-rules.md`; load only the extra detail the artifact needs. | Need | Read or use | | --- | --- | | Canvas, style, text, accessibility, validation | `references/core-rules.md` | | Reusable compositions | `references/pattern-examples.md` | | Marp embedding | `references/embedding.md` | | Rendering failures | `references/troubleshooting.md` | | Known-good deck example | `assets/examples/with-diagrams.md` | ## Workflow 1. Inspect the target slide or document, required dimensions, surrounding palette, and renderer. 2. Create the smallest editable SVG that communicates the idea. Use a correct `viewBox`, explicit text styles, consistent geometry, and SVG title/description where the visual carries meaning. When embedding, also provide descriptive host-level alt text or an adjacent semantic equivalent as required by `references/embedding.md`; internal SVG metadata alone is not sufficient. 3. Keep assets portable: avoid embedded fonts, unexplained emoji, unnecessary filters, and base64 content unless the output must be self-contained. 4. Validate with `svglint` when available, then open or embed the SVG in the target artifact and inspect clipping, scaling, contrast, text, and relative paths. 5. Return the SVG artifact first, followed by validation performed and any renderer or font caveat. Use slide-authoring or color guidance only when the request also requires it. Do not claim visual inspection when only source validation ran, and do not commit or publish the artifact unless requested.
© narumiruna · MIT · narumiruna/skills