joy-delight — скилл для Claude Code: что делает и как установить
Скилл задаёт правила и тайминги для радостных UI-анимаций по принципам Disney. Помогает анимировать награды, конфетти и экраны успеха.
npx skills add dylantarre/animation-principles --skill joy-delight -a claude-codeЧто делает joy-delight
Инструкция задаёт правила живой анимации интерфейса. В её основе лежат классические приёмы Disney, адаптированные для веб-компонентов: сжатие на 30–40% при ударе, подготовка к действию через оттягивание на 100–150 мс и дуговые траектории движения.
Внутри описаны точные тайминги и кривые CSS. Для отскока задана функция cubic-bezier(0.34, 1.56, 0.64, 1), а длительность подтверждения успеха ограничена диапазоном 200–400 мс. Если анимировать элемент без сохранения объёма при сжатии, визуальная иллюзия массы сразу пропадёт.
Какие задачи решает
- настроить пружинистую анимацию для экрана успеха
- подобрать тайминги и CSS-кривые для эффекта конфетти
- оформить микроанимацию лайка с вылетающими частицами
- добавить плавный отскок для карточки награды
Примеры запросов агенту
- Сделай анимацию конфетти для успешного завершения оплаты
- Добавь отскок с вылетом для иконки достижения по кривой
--joy-bounce - Настрой анимацию лайка с разлетающимися искорками вокруг сердечка
Как установить joy-delight
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill joy-delight -a claude-code2Вручную: положить файлы
~/.claude/skills/joy-delight/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/joy-delight/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill joy-delight -a codex2Вручную: положить файлы
.agents/skills/joy-delight/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill joy-delight -a cursor2Вручную: положить файлы
.cursor/skills/joy-delight/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install dylantarre/animation-principles joy-delight2Вручную: положить файлы
.github/skills/joy-delight/SKILL.md1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill joy-delight -a gemini-cli2Командой платформы
gemini skills install https://github.com/dylantarre/animation-principles --path skills/06-by-emotional-outcome/joy-delightВручную: положить файлы
.devin/skills/joy-delight/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill joy-delight -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о joy-delight
Как установить joy-delight в Claude Code?
Выполните команду npx skills add dylantarre/animation-principles --skill joy-delight -a claude-code. Файл навыка сохранится по пути ~/.claude/skills/joy-delight/SKILL.md.
Что делает скилл joy-delight?
Он передаёт ИИ-ассистенту рекомендации по созданию праздничных интерфейсных анимаций. Сюда входят формулы кривых Безье, длительности для всплывающих окон и правила сохранения объёма объектов при сжатии.
Какие CSS-кривые сглаживания предлагает скилл?
В набор входят переменные --joy-bounce с перелётом cubic-bezier(0.34, 1.56, 0.64, 1), пружинистая --joy-pop и растягивающаяся --joy-elastic.
Исходный текст
SKILL.md · MIT
--- name: joy-delight description: Use when creating animations that evoke happiness, surprise, or delightful moments in the user experience. --- # Joy & Delight Animation Create animations that spark happiness, pleasant surprise, and memorable delight. ## Emotional Goal Joy emerges from unexpected pleasures, playful movements, and moments that exceed expectations. Delight comes from animations that feel alive, responsive, and genuinely fun. ## Disney Principles for Joy ### Squash & Stretch Exaggerate bouncy, elastic movements. Objects that squash 30-40% on impact feel alive and playful. Use for success states, rewards, and celebrations. ### Anticipation Build excitement before reveals. A slight pullback (100-150ms) before a pop-in creates satisfying payoff. Perfect for notifications and achievements. ### Staging Draw focus to joyful moments. Clear visual hierarchy ensures the delightful element gets full attention. Dim surroundings during celebration animations. ### Straight Ahead Action Create spontaneous, organic movements for confetti, particles, and celebration effects. Randomized paths feel natural and exciting. ### Follow Through & Overlapping Action Let elements overshoot and settle with bouncy secondary motion. Hair, ribbons, and decorative elements should continue moving after main action. ### Slow In & Slow Out Use asymmetric easing—quick starts with slow, satisfying landings. `cubic-bezier(0.34, 1.56, 0.64, 1)` creates playful overshoot. ### Arc Bouncing, curved trajectories feel more joyful than linear paths. Elements should travel in parabolic arcs during celebrations. ### Secondary Action Add sparkles, particles, or wobbles to primary animations. A "like" heart that radiates small hearts amplifies joy. ### Timing Fast, snappy timing (150-250ms) feels energetic. Quick bursts with micro-pauses create rhythm. Success animations: 200-400ms. ### Exaggeration Push proportions and movements 20-30% beyond realistic. Oversized bounces, stretched smiles, and amplified reactions. ### Solid Drawing Maintain volume during stretchy movements. Squashed elements should expand horizontally to preserve mass—this reads as physicality. ### Appeal Round shapes, bright colors, and smooth curves. Asymmetry in timing and position adds character and charm. ## Timing Recommendations | Element | Duration | Easing | |---------|----------|--------| | Pop-in | 200-300ms | `ease-out-back` | | Bounce | 300-500ms | `spring(1, 80, 10)` | | Confetti | 800-1200ms | `ease-out` | | Celebration | 400-600ms | `ease-out-elastic` | ## CSS Easing ```css --joy-bounce: cubic-bezier(0.34, 1.56, 0.64, 1); --joy-pop: cubic-bezier(0.175, 0.885, 0.32, 1.275); --joy-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55); ``` ## When to Use - Success confirmations and completions - Achievement unlocks and rewards - Onboarding celebrations - Easter eggs and surprises - Positive feedback states - Welcome animations
© dylantarre · MIT · dylantarre/animation-principles