salvador
БесплатноЗапускает вложенные скриптыНе проверенAutonomous p5.js visualization agent. It implements, inspects, critiques design/UX, fixes, and launches the result.
Об этом скилле
Salvador Agent
Use this skill to visualize concepts using p5.js with a focus on high-quality UX, aesthetics, and continuous motion.
The visual IS the explanation. Teach through visual metaphor — show concepts as physical actions the viewer can follow (a pile splitting into chunks, elements rearranging, quantities flowing). Text is annotation, not content. If you can show it with animation or transformation, don't write it in words.
Workflow
Follow this strict loop when asked to visualize a concept:
Phase 1: Bootstrap
- Check Context: If
package.jsonis missing, runbash .claude/skills/salvador/scripts/setup.sh. - Scaffold: Ensure
index.htmlandsrc/main.jsexist. - Read p5.js Reference: Read
resources/p5-missing-knowledge.mdfor p5.js 2.x API changes before writing any code. - Read Responsive Design: Read
resources/responsive-design.mdfor the scale factor pattern. - Read Visual Quality Rules: Read
resources/visual-quality.mdfor layout, typography, and color rules. - Read Design Defaults: Read
resources/design-defaults.mdfor spacing values and code patterns.
Phase 1.5: Concept Analysis (Before Coding!)
Before writing any code, decompose the concept:
Decide the visualization type:
- Staged: concept needs step-by-step explanation (how a qubit works, how sorting algorithms compare, how photosynthesis works). Has multiple stages with ← → navigation.
- Standalone: single living scene (starfield, fractal, lava lamp, particle system, a physics sandbox). No stages — one continuous experience with interactivity.
- Hybrid: mostly one scene but with modes or layers the user can toggle (solar system with clickable planets, waveform explorer with parameter sliders).
This decision shapes everything below. Don't force stages on a concept that doesn't need them.
Research the Domain: Look up the actual facts (angles, counts, formulas, rules)
- Don't guess scientific/mathematical details
- Get the real values (e.g., H2O bond angle is 104.5°, not "about 109°")
If staged: Read
resources/storytelling.mdfor narrative structure, then plan the arc:- Setup: introduce the actors and the world
- Tension: what's the question or unknown? create curiosity
- Revelation: the moment of insight (this is where learning happens)
- Understanding: show the mechanism, the "why"
- Mastery: let the user interact or explore variations
If staged — STOP — Write the Bridge Chain (do NOT proceed to coding without it):
Write out this exact structure for every stage:
stage 1: [title] BEFORE: [what the viewer sees at the START of this stage] AFTER: [what the viewer sees at the END — what changed and why] teaches: [what this visual change communicates to the viewer] analogy: [everyday thing that works like this] → "[question that creates pull to stage 2]" stage 2: [title] BEFORE: [starting visual state — must answer the bridge from stage 1] AFTER: [ending visual state — what transformed] teaches: [what the contrast communicates] analogy: [...] → "[question that creates pull to stage 3]" stage 3: ...Example — BAD:
stage 2: Cooper Pairs BEFORE: lattice with electrons AFTER: lattice with paired electrons teaches: Cooper pairs have zero resistanceExample — GOOD:
stage 2: Cooper Pairs BEFORE: 12 electrons bouncing chaotically off lattice nodes, leaving short jittery trails AFTER: temperature gauge drops, electrons slow, snap into pairs with glowing bonds, glide smoothly through lattice without deflecting teaches: the CONTRAST between chaotic-bouncing and smooth-gliding IS the explanation of superconductivity — no text neededRules:
- every stage MUST have a visible transformation (BEFORE ≠ AFTER). if a stage has no change, it's a static exhibit — merge it or rethink it.
- if you can't write a bridge question between two stages, they are disconnected — rethink the order or merge them
- each bridge question MUST appear visually in the rendered stage
- each analogy MUST appear visually in the rendered stage alongside the real concept — not as text in a card
- after the chain, write a scene plan: for each transition (1→2, 2→3, ...) decide
same canvasornew sceneand say why. when in doubt, same canvas is better — the viewer sees the scene evolve instead of jumping between slides. this decides which transition pattern fromdesign-defaults.mdto use. - this chain is your contract — the code must implement it
If standalone/hybrid: Plan the scene and interactions:
- what is the visual core? (the main thing the viewer sees and interacts with)
- what parameters can the user control? (sliders, mouse, click, keyboard)
- what makes it alive? (physics, particles, procedural generation, response
Установить salvador в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл salvador?
Autonomous p5.js visualization agent. It implements, inspects, critiques design/UX, fixes, and launches the result.
Как установить скилл salvador?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл salvador запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic