Логотип Svg Hand Drawn Preview

Svg Hand Drawn Preview

Спільнота
shaom
svg-hand-drawn-preview

Generate a hand-drawn SVG animation package from a local SVG file or SVG URL. Use when the user wants an SVG drawing demo with path-plus-fill animation, or wants the default deliverables to be a standalone preview.html plus a reusable player.js.

Огляд

Видавецьshaom
Репозиторійsvg-hand-drawn-skill
Назва навичкиsvg-hand-drawn-preview
Зірки
267
Форки
31
Файли в пакеті
4
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 4

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: shaom. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Svg Hand Drawn Preview у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/shaom/svg-hand-drawn-skill/tree/main/skills/svg-hand-drawn-preview
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/shaom/svg-hand-drawn-skill.git /tmp/svg-hand-drawn-skill
mkdir -p .claude/skills
cp -r /tmp/svg-hand-drawn-skill/skills/svg-hand-drawn-preview .claude/skills/svg-hand-drawn-preview
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Svg Hand Drawn Preview в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Svg Hand Drawn Preview, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Svg Hand Drawn Preview не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

SVG Hand-Drawn Preview

Use this skill when the task is to turn an SVG into a hand-drawn animation deliverable.

Default operating mode:

  • The agent should generate the output files directly for the user.
  • Do not require the user to run Python, Node, or any local build step unless they explicitly ask for a self-serve generator.

Default output:

  • A standalone preview.html file that can be opened directly in the browser
  • A reusable player.js file for embedding into another web page

Optional side outputs:

  • animated.svg
  • animation-plan.json
  • an embed demo page when the user wants component-style integration

Keep this skill independent from any project-specific demo page unless the user explicitly asks to integrate into an existing file.

What To Produce

By default, produce:

  • a self-contained preview.html
  • a reusable player.js

The default result should:

  • load a target SVG file or inline SVG markup
  • animates path drawing first
  • animates fill afterward
  • expose a compact control surface when useful: play, speed, progress
  • preserves source colors as closely as possible
  • reuse the same playback core across both outputs

Only produce side artifacts when they help:

  • animated.svg for reuse in other apps
  • animation-plan.json when the user wants structured animation metadata
  • an embed demo page when the user wants to show integration inside a normal web page

Inputs

Accept either:

  • a local SVG file path
  • an SVG URL

Optional inputs:

  • preferred animation mode
  • desired output file name
  • whether to include playback controls
  • whether to emit side artifacts

If the user does not specify these, use:

  • output: preview.html plus player.js
  • include controls: yes
  • default animation: path draw plus fill reveal

Workflow

  1. Inspect the SVG source first.
  • Check whether shapes are stroke-based, fill-only, or mixed.
  • Check whether colors live in attributes or inline style.
  • Check whether there are unsupported constructs such as foreignObject, raster images, or masks that cannot be reproduced faithfully.
  1. Normalize for animation.
  • Mark drawable path-like elements.
  • Separate path timing from fill timing.
  • For fill-only shapes, create a fill layer plus a temporary stroke layer if needed.
  • Preserve original colors and opacity.
  1. Build the preview page.
  • Prefer a single-file HTML result.
  • Keep CSS and JS inside the HTML unless the user explicitly wants multiple files.
  • Ensure the page opens cleanly without requiring a local server when possible.
  • Emit a sibling player.js in the same output directory by default.
  1. When the user asks about webpage embedding.
  • Prefer a small player.js player plus a host-page demo over an iframe-only answer.
  • Keep the embed API simple: target selector or element plus SVG markup and playback options.
  1. Validate the result.
  • Check that the page still renders the complete static SVG before playback.
  • Check that playback starts from zero.
  • Check that path and fill both appear in the expected order.
  • Check that imported fill-only SVGs do not lose their colors.

Output Rules

  • Default to preview.html and player.js in the current working directory unless the user asks for another location.
  • If you create animated.svg or animation-plan.json, place them next to preview.html.
  • Keep output names predictable and easy to move into another repository.

Animation Defaults

Use these defaults unless the SVG or user request suggests otherwise:

  • Path animation: smooth hand-draw
  • Fill animation: soft reveal after path completion
  • Speed: 1x
  • Controls: enabled
  • Background: neutral, minimal, not tied to any brand

For fill-heavy illustration SVGs:

  • do not guess a thick temporary stroke
  • prefer conservative stroke width estimation
  • preserve original fill colors exactly

When To Read Additional References

Constraints

  • Do not assume the input SVG already uses animation-friendly structure.
  • Do not hard-couple the skill to one existing project file.
  • Do not silently drop fill behavior for path animation modes unless the user explicitly asks for stroke-only output.
  • Do not change source colors unless the selected animation mode intentionally overrides them.

Completion Checklist

Before finishing, verify:

  • the output HTML opens as a standalone preview
  • player.js is emitted next to the preview output
  • the SVG is visible before playback starts
  • path drawing is visible during playback
  • fill appears after path completion
  • colors remain close to the source SVG
  • any optional side outputs remain consistent with the preview behavior

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Svg Hand Drawn Preview?

Generate a hand-drawn SVG animation package from a local SVG file or SVG URL. Use when the user wants an SVG drawing demo with path-plus-fill animation, or wants the default deliverables to be a standalone preview.html plus a reusable player.js.

Навіщо використовувати Svg Hand Drawn Preview у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Svg Hand Drawn Preview — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Svg Hand Drawn Preview у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/shaom/svg-hand-drawn-skill/tree/main/skills/svg-hand-drawn-preview. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Svg Hand Drawn Preview?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Svg Hand Drawn Preview?

Зі скількома забажаєте. У TypingMind ви можете використовувати Svg Hand Drawn Preview із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Svg Hand Drawn Preview?

На GitHub цю навичку публікує shaom. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇