Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Reference Driven Graphics

ASecurity

Build custom branded animated graphics (three.js/canvas/particle effects, hero animations, generative visuals) from visual references or Figma sketches — the reference → prompt → exact-geometry → screenshot-iterate → parameterize → embed workflow. Use when the user wants an animation \\\"like X's site\\\" (Stripe, Linear, etc.), wants to turn a Figma sketch or SVG into an animated graphic, needs to embed generated animation code into Webflow/React/Vue, or wants to scale one effect across many...

2 stars
0 votes
0 copies
0 views
Added 9/27/2026
designgoreactvue

Security Analysis

A100/100

Scanned 9/27/2026

$npx -y skills add gethamster/skills --skill reference-driven-graphics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Reference Driven Graphics?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Reference Driven Graphics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gethamster-reference-driven-graphics/badge)](https://www.skillsdirectory.com/skills/gethamster-reference-driven-graphics)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: reference-driven-graphics
description: "Build custom branded animated graphics (three.js/canvas/particle effects, hero animations, generative visuals) from visual references or Figma sketches — the reference → prompt → exact-geometry → screenshot-iterate → parameterize → embed workflow. Use when the user wants an animation \\\"like X's site\\\" (Stripe, Linear, etc.), wants to turn a Figma sketch or SVG into an animated graphic, needs to embed generated animation code into Webflow/React/Vue, or wants to scale one effect across many cards/sections."
version: "1.0.0"
category: "Marketing"
---

Turn visual references and hand-drawn sketches into production animated graphics through short, verifiable iterations. Based on relate_studio's workflow (Syntetika/Stripe case) plus lessons from the mermaider pipeline.

## When to use

- "I want an effect like [site]'s hero" — particles, morphing data-viz, generative motion
- A Figma sketch/SVG exists and must become the *exact* geometry of an animation
- Generated animation code needs embedding in Webflow, React, Vue, or plain HTML
- One effect must scale across many cards/sections with different content

## Core rules

1. **Always start from 1–2 concrete references.** Never design from adjectives. Get screenshots or a URL of the target effect. Identify the tech with Wappalyzer or by reading the page source (usually three.js, canvas 2D, or CSS). State the reference explicitly in the first prompt.
2. **First prompt is plain words, zero detail.** Describe what the effect *does*, not how to build it ("particles form illustration A, bloop into a transition state, reform as illustration B"). Take the first working iteration, then refine. Never front-load every requirement.
3. **Strip AI cruft immediately.** First-pass output always includes floating text, gradients, watermark-ish labels, extra UI. Remove them as the second prompt, before any refinement.
4. **One change per prompt.** Every refinement is its own short message. Never batch five adjustments — you can't tell which one broke it.
5. **Exact geometry comes from SVG, never from description.** When the shape matters, draw it (Figma pen tool → export SVG) and hand the file over: "rebuild the animation to match this geometry." Describing a shape in words is the anti-pattern; the SVG *is* the spec.
6. **Debug with screenshots, not adjectives.** When something looks wrong (gaps, overflow, jitter), screenshot it, circle/point at the problem, describe what bothers you. 2–3 screenshot rounds beat 10 text rounds.
7. **Name the animation stages to fix jerkiness.** Stalls and snapping mean the model has no state model. Spell it out: `static → transition → static`, ask for eased, overlapping transitions between named states. For loops: every animated property must be a pure function of loop phase t∈[0,1), state at t=0 equals t=1, no accumulation (`+=` in a tick function is a bug).
8. **Parameterize before shipping.** All tunables live in one config block at the top (particle count, durations, colors, parallax strength) — and colors come from the project's brand tokens, not the model's taste. Ask "what do I adjust and where" and make the answer be "the config block."
9. **Decouple content from canvas via attributes.** Text/labels never live inside the animation. Ask for a `data-*` attribute contract so markup (any framework) triggers/feeds the effect, and one shared script serves every instance. This is what makes the effect scale across cards.
10. **Embedding is a question, not a guess.** Ask "how do I get this onto [my stack]?" — for Webflow: an Embed block for markup + the engine in Project Settings before `</body>`. For React/Vue: a component wrapping the canvas with props mapped to the config block.

## Worked example (the Syntetika case)

1. Reference: Stripe's data-viz particle morph. Wappalyzer says three.js.
2. Prompt: *"I'm trying to figure out how this effect on Stripe's site is created — the data visualisation changes per selected feature and particles transition through a bloop state (screenshots attached). Looks like three.js."*
3. Strip the floating text it added by default.
4. The graph shape was wrong → drew it in Figma, exported SVG, sent it: Claude parsed the path and rebuilt particle targets to match.
5. Gaps and overflowing lines → screenshots + "lines spill past their boundary here" → fixed in two rounds.
6. *"Can I keep the text outside the animation and connect via attributes?"* → engine split from markup; text freely styled in Webflow.
7. Tuned config: 4000 particles instead of 2000, longer transition, parallax on.
8. Scaled: each card carries `data-*` attributes; one script in the body tag drives all of them.

## Anti-patterns

- **Describing geometry in prose** → model invents a different shape every round. Draw it, export SVG. (Failure mode: infinite "no, more curved" loops.)
- **Batched change requests** → regressions you can't bisect. One change per prompt.
- **Text baked into the canvas** → can't restyle, can't localize, breaks responsive layout. Attributes contract instead.
- **"Make it smoother"** without naming stages → the model reshuffles easings blindly. Name the state machine.
- **Accepting magic numbers scattered through the code** → next week nobody can tune it. Config block at top, brand colors injected.
- **Skipping the reference** → brand-less generic output ("AI slop gradients"). Reference first, always.

## Verification checklist before shipping

- Loops perfectly (record 2 cycles, frame 1 == last frame)
- No layout shift; canvas sized by container, devicePixelRatio handled
- Reduced-motion fallback (`prefers-reduced-motion` → static first frame)
- Config block documented; brand hexes only
- Works with the real markup/attribute contract, not just the demo page

Attribution

gethamstergethamster
View sourceSee grades on GitHubMore from gethamster →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Responsive Design

Implement modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first breakpoint strategies. Use when building adaptive interfaces, implementing fluid layouts, or creating component-level responsive behavior.

401992 votes

Mermaid Diagrams

Creating and refining Mermaid diagrams with live reload. Use when users want flowcharts, sequence diagrams, class diagrams, ER diagrams, state diagrams, or any other Mermaid visualization. Provides best practices for syntax, styling, and the iterative workflow using mermaid_preview and mermaid_save tools.

2132 votes

sleek-design-mobile-apps

Design mobile app screens with Sleek, edit Sleek projects, and implement their designs in React Native or HTML.

5821 votes

swiftui-design-skill

SwiftUI frontend visual design skill. Creates beautiful, distinctive iOS/macOS interfaces that avoid generic AI slop patterns. Covers design direction, layout systems, typography, color, spacing, brand integration, and design review. Use when designing new SwiftUI views, reviewing UI quality, creating iOS prototypes, choosing visual styles, improving app aesthetics, or when the UI looks generic or AI-generated.

1801 votes

Ios Hig

Use when designing iOS interfaces, implementing accessibility (VoiceOver, Dynamic Type), handling dark mode, ensuring adequate touch targets, providing animation/haptic feedback, or requesting user permissions. Apple Human Interface Guidelines for iOS compliance.

761 votes
View all in design →