Logo di Svg Hand Drawn Preview

Svg Hand Drawn Preview

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

Panoramica

Pubblicato dashaom
Repositorysvg-hand-drawn-skill
Nome della skillsvg-hand-drawn-preview
Stelle
267
Fork
31
File inclusi
4
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 4

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da shaom su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Svg Hand Drawn Preview in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/shaom/svg-hand-drawn-skill/tree/main/skills/svg-hand-drawn-preview
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Svg Hand Drawn Preview in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Svg Hand Drawn Preview non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Svg Hand Drawn Preview non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Svg Hand Drawn Preview su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Svg Hand Drawn Preview è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Svg Hand Drawn Preview in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/shaom/svg-hand-drawn-skill/tree/main/skills/svg-hand-drawn-preview. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Svg Hand Drawn Preview?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Svg Hand Drawn Preview?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Svg Hand Drawn Preview: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Svg Hand Drawn Preview è gratuita?

È pubblicata su GitHub da shaom. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇