Logo van Svg Verify

Svg Verify

Community
ChanMeng666
svg-verify

Controleer visueel een gerenderde SVG-animatie door deze te openen in chrome-devtools MCP, keyframes vast te leggen en de animatie te beoordelen aan de hand van de kwaliteitsrubriek met 5 punten. Roep deze skill direct aan nadat `/svg-animate` uitvoer heeft geschreven, of wanneer de gebruiker vraagt "is deze animatie goed?", "hoe ziet dit eruit?", "controleer de beweging" of "bekijk de SVG visueel". Voer deze skill altijd uit voordat je zegt dat een animatie klaar is. Geeft een oordeel van maximaal 100 woorden en deelt geen screenshots in de aanroepende thread.

Add to TypingMind

Overzicht

UitgeverChanMeng666
Repositorysvg-animation-studio
Skillnaamsvg-verify
Sterren
3
Forks
0
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door ChanMeng666 op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Svg Verify in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/ChanMeng666/svg-animation-studio/tree/main/.claude/skills/svg-verify
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ChanMeng666/svg-animation-studio.git /tmp/svg-animation-studio
mkdir -p .claude/skills
cp -r /tmp/svg-animation-studio/.claude/skills/svg-verify .claude/skills/svg-verify
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Svg Verify in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Svg Verify automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Svg Verify niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

You verify a generated SVG. You run in an isolated subagent context. The main thread does NOT see your screenshots or browser logs — only your final verdict. Keep that verdict ≤ 100 words. Brevity is the contract.

What was passed in

$ARGUMENTS is the preset slug (e.g., claude-jumping, or my-new-mascot). If it's empty, return:

VERDICT: fail No slug provided. Usage: /svg-verify <preset-slug>.

Workflow

1. Ensure preview server is up

Check if http://localhost:3030/api/presets responds:

bash
curl -s -o /dev/null -w '%{http_code}' http://localhost:3030/api/presets

If not 200, start it in the background:

bash
npm run dev &

Wait for "Ready" in the log (poll the log file with until grep -q "Ready"). If it doesn't come up in 30 s, return:

VERDICT: fail Could not start preview server. Check the npm run dev output.

2. Open the preset in Chrome

Use mcp__chrome-devtools__new_page to open http://localhost:3030/api/svg?preset=$ARGUMENTS. The page renders the SVG inline with the CSS animations running.

If the response is non-2xx or the rendered page shows an error message, return:

VERDICT: fail /api/svg returned or compose() threw: .

2b. If the SVG is for embedding (README / GitHub / <img>), ALSO verify in <img> mode

The /api/svg page renders the SVG inline, which is permissive: external fonts load, scripts run, every CSS feature works. But the common destination — a GitHub README or social card — embeds the file as <img src="...svg">, a restricted image document that behaves differently. Inline-only verification gives false passes. When the target is an embed, verify there too:

  • Write a tiny same-origin host page next to the SVG and open it: <body><img src="<slug>.svg" width="..."></body> (a file:// HTML file referencing the SVG by relative path — do NOT use setContent with a file:// src; the browser blocks that cross-origin and you'll see a broken image that is a test artifact, not a real failure).
  • Confirm the image actually decoded: img.naturalWidth > 0.
  • Capture frames here too and check specifically for the <img>-only failures:
    • Text renders in the wrong font → external fonts don't load in <img> mode. The fix is to OUTLINE text to paths at build time (see docs/embedding-animated-svg.md), not to rely on font-family.
    • Nothing moves → the animation depends on JS (stripped in <img>) instead of CSS @keyframes / SMIL (both of which DO run in <img> mode).
  • For a one-shot reveal, reload before each timed screenshot so the animation restarts at t=0 (a reused page may have already settled).

Flag any inline-vs-<img> divergence in your verdict — it's the single most common reason a "verified" animation looks broken once embedded.

2c. If the SVG runs on a timeline (a product card, a multi-scene piece)

Five frames a tenth of a second apart cannot judge a 40-second piece. Capture it in time instead, with the script rather than by hand:

bash
node scripts/capture-frames.mjs output/$ARGUMENTS.svg --at=<one time inside each scene, and the last second>

It writes one PNG per time on a light and a dark canvas, confirms the image decoded, and exits non-zero if the reduced-motion picture is still moving (it loads the SVG as a document for that, because emulation does not reach <img>). Read the PNGs. Check, per scene: is the caption readable, is anything clipped or overlapping, does a cover or a pan run past its container, is the reduced-motion still a complete picture that someone would choose. Score against docs/product-cards.md § 7 as well as the rubric below.

3. Capture 5 keyframes

Animation is running in real time. Take screenshots in quick succession (roughly 0.1 s apart). For a 0.5 s loop, this gives you 5 spread frames; for slower loops, increase the interval proportionally to the longest animation duration in the preset.

Use mcp__chrome-devtools__take_screenshot without filePath so the image returns inline to your subagent context. You will not save them — they exist only for your judgment.

4. Score against the 5-point rubric

For each point, decide pass / tweak / fail. The rubric is the one from docs/animation-principles.md:

  1. Motion feels connected — primary + secondary actions tell one story.
  2. Timing feels natural — easing applied, no jarring snaps.
  3. Quality cues are appropriate — drop shadow / glow / gradient strength matches the style.
  4. Staggering is visible but not chaotic — siblings offset by 0.05–0.15 s.
  5. Performance — no obvious jank, animations use transform / opacity only (not layout-affecting props).

5. Emit the verdict

Strict format. The main thread parses this:

VERDICT: <pass | tweak | fail>
Note: <OPTIONAL — only when coverage was skipped or partial (MCP unavailable / disconnected)>
Issues:
- <one line per issue, max 3>
Strengths:
- <one line per strength, max 2>

Omit the Note: line on a normal, fully-captured run.

Map the per-point scores to the overall verdict:

  • All 5 points pass → pass
  • 1–2 points say tweak, none fail → tweak
  • Any point fails, or 3+ points say tweak → fail

Examples:

VERDICT: pass
Issues:
Strengths:
- Squash on jump apex reads clearly.
- Ear stagger of 0.1s is the right magnitude.
VERDICT: tweak
Issues:
- Shadow scaling lags slightly behind body jump.
- Music notes drift feels too fast.
Strengths:
- Mouth talk loop is well-timed.
VERDICT: fail
Issues:
- Body and shadow are out of sync — looks like two different animations.
- Sound waves emanate from the wrong location (off-mouth).
- No squash on the jump — character feels rigid.

What you must NOT do

  • ❌ Save screenshots to disk — they should die with your subagent context.
  • ❌ Return more than 100 words to the main thread.
  • ❌ Make subjective complaints without backing them to a rubric point.
  • ❌ Recommend specific code fixes — that's the calling skill's job. You judge; it adjusts.
  • ❌ Leave the dev server running if you started it yourself. Stop it before exiting via the background-task kill mechanism.

When the verdict is uncertain

Animation quality has some subjective wiggle. When in doubt, prefer tweak over pass/fail. tweak signals to the calling skill that something is worth iterating on without forcing a redo from scratch.

When chrome-devtools MCP is unavailable or disconnects

Visual verification needs the mcp__chrome-devtools__* tools. They are absent in some contexts (headless / cron runs, a disconnected MCP server). Separate an ENVIRONMENT limit from a real animation DEFECT:

  • Pre-flight — MCP not available (tools absent, or a probe like mcp__chrome-devtools__list_pages errors "not connected / unknown tool"): do not try to grade. Return, without blocking the caller:

    VERDICT: pass
    Note: Visual verification skipped — chrome-devtools MCP unavailable in this context. Not visually graded.
    Issues:
    Strengths:
  • Disconnect mid-capture, ≥ 1 frame already taken: grade from the frames you have and add Note: partial coverage — MCP disconnected after N of 5 frames.

  • Disconnect before any frame: VERDICT: pass + Note: could not capture any frames (MCP disconnected); not visually graded.

  • Server won't start / /api/svg non-2xx / page renders empty or error text: these are real failures → VERDICT: fail with the one-line cause.

Hard rule: never fabricate Issues / Strengths from frames you didn't capture. A grade must be backed by pixels you actually saw, or be an explicit skipped / partial Note:. A missing browser is never an animation fail.

Veelgestelde vragen

Wat doet de AI-skill Svg Verify?

Controleer visueel een gerenderde SVG-animatie door deze te openen in chrome-devtools MCP, keyframes vast te leggen en de animatie te beoordelen aan de hand van de kwaliteitsrubriek met 5 punten. Roep deze skill direct aan nadat `/svg-animate` uitvoer heeft geschreven, of wanneer de gebruiker vraagt "is deze animatie goed?", "hoe ziet dit eruit?", "controleer de beweging" of "bekijk de SVG visueel". Voer deze skill altijd uit voordat je zegt dat een animatie klaar is. Geeft een oordeel van maximaal 100 woorden en deelt geen screenshots in de aanroepende thread.

Waarom Svg Verify gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Svg Verify bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Svg Verify in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/ChanMeng666/svg-animation-studio/tree/main/.claude/skills/svg-verify. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Svg Verify gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Svg Verify gebruiken?

Zoveel als je wilt. Je kunt Svg Verify gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Svg Verify gratis?

Ja. Deze skill is door ChanMeng666 op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇