playfulness-fun — скилл для Claude Code: игривые анимации
Скилл для анимаций, которые развлекают: преувеличенные отскоки, покачивания и пружинные кривые. Пригодится в играх, онбординге и пустых состояниях.
npx skills add dylantarre/animation-principles --skill playfulness-fun -a claude-codeЧто делает playfulness-fun
Скилл описывает, как делать анимации с характером: сильное сжатие и растяжение (25–40%), увеличенные замахи перед действием, обилие вторичных движений вроде покачиваний и искр. Движение идёт по дугам, прямых линий нет. Отскок сравним с поведением пляжного мяча.
Внутри — таблица таймингов и набор CSS-кривых. Отскок советует длительность 400–600 мс с spring(1, 60, 8), покачивание — 300–400 мс с ease-in-out, всплеск — 150–250 мс с ease-out-back. Для эластичности даны переменные --play-bounce, --play-elastic, --play-wobble и готовые @keyframes для wiggle и boing.
Скилл ставится в Claude, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode. Установка идёт через npx skills add, для GitHub Copilot — через gh skill install. Если в проекте уже есть дизайн-система со строгими таймингами, эти преувеличенные значения придётся согласовывать с ней, иначе анимации выбьются из общего ритма.
Какие задачи решает
- оживить пустое состояние экрана
- сделать реакцию на лайк или подписку
- добавить персонажа в онбординг-тур
- собрать отскок для кнопки в игре
- спрятать пасхалку в интерфейсе
Примеры запросов агенту
- Сделай анимацию отскока для кнопки лайка по скиллу playfulness-fun
- Добавь покачивание иконке при наведении, используй кривые из playfulness-fun
- Оживи пустое состояние: всплеск и искры, как советует playfulness-fun
Как установить playfulness-fun
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill playfulness-fun -a claude-code2Вручную: положить файлы
~/.claude/skills/playfulness-fun/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/playfulness-fun/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill playfulness-fun -a codex2Вручную: положить файлы
.agents/skills/playfulness-fun/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill playfulness-fun -a cursor2Вручную: положить файлы
.cursor/skills/playfulness-fun/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install dylantarre/animation-principles playfulness-fun2Вручную: положить файлы
.github/skills/playfulness-fun/SKILL.md1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill playfulness-fun -a gemini-cli2Командой платформы
gemini skills install https://github.com/dylantarre/animation-principles --path skills/06-by-emotional-outcome/playfulness-funВручную: положить файлы
.devin/skills/playfulness-fun/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill playfulness-fun -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о playfulness-fun
Как установить playfulness-fun в Claude?
Выполните npx skills add dylantarre/animation-principles --skill playfulness-fun -a claude-code. Файл скилла появится по пути ~/.claude/skills/playfulness-fun/SKILL.md.
Что делает playfulness-fun?
Задаёт правила игривых анимаций: преувеличенное сжатие и растяжение, длинные замахи, дуги вместо прямых, обилие вторичных движений. Внутри есть таблица таймингов и готовые CSS-кривые с @keyframes.
Для каких платформ подходит скилл?
Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode. Для каждой платформы своя команда установки, например gh skill install dylantarre/animation-principles playfulness-fun для GitHub Copilot.
Исходный текст
SKILL.md · MIT
---
name: playfulness-fun
description: Use when creating animations that entertain, engage with humor, or create lighthearted interactive experiences.
---
# Playfulness & Fun Animation
Create animations that entertain, surprise, and make interactions genuinely enjoyable.
## Emotional Goal
Playfulness invites interaction through unexpected, whimsical motion. Fun comes from animations that have personality, respond expressively, and make users smile.
## Disney Principles for Playfulness
### Squash & Stretch
Generous, exaggerated (25-40%). Rubbery, cartoon physics. Objects should feel alive and reactive. Bounce like a beach ball.
### Anticipation
Exaggerated wind-ups (150-250ms). Comic timing—big preparation for big payoff. Elements "think" before acting.
### Staging
Theatrical presentation. Clear setup and punchline. Give playful moments room to breathe and be noticed.
### Straight Ahead Action
Embrace spontaneity. Wobbly paths, unpredictable bounces. Characters and elements with minds of their own.
### Follow Through & Overlapping Action
Extensive, bouncy follow-through. Overshoots, wobbles, and settling. Like a cartoon character skidding to a stop.
### Slow In & Slow Out
Asymmetric with overshoot. Quick starts, bouncy landings. `cubic-bezier(0.68, -0.55, 0.265, 1.55)` for elastic effect.
### Arc
Exaggerated, bouncy curves. High arcs for jumps. Squiggly paths for personality. Nothing moves in straight lines.
### Secondary Action
Abundant! Wiggles, sparkles, expressions. Elements react to each other. The whole interface feels alive.
### Timing
Varied and expressive (100-500ms). Quick snaps, slow anticipation. Comic timing with beats and pauses.
### Exaggeration
High (30-50%). Push movements to cartoon levels. Impossible physics that feel emotionally true.
### Solid Drawing
Maintain appeal through deformation. Stretched elements stay charming. Volume shifts for effect.
### Appeal
Round, friendly shapes. Bright, saturated colors. Big eyes, expressive forms. Character in everything.
## Timing Recommendations
| Element | Duration | Easing |
|---------|----------|--------|
| Bounce | 400-600ms | `spring(1, 60, 8)` |
| Wiggle | 300-400ms | `ease-in-out` |
| Pop | 150-250ms | `ease-out-back` |
| Squash | 100-150ms | `ease-out` |
## CSS Easing
```css
--play-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
--play-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
--play-wobble: cubic-bezier(0.45, 0.05, 0.55, 0.95);
```
## Fun Animations
```css
@keyframes wiggle {
0%, 100% { transform: rotate(0deg); }
25% { transform: rotate(-5deg); }
75% { transform: rotate(5deg); }
}
@keyframes boing {
0% { transform: scale(1); }
30% { transform: scale(1.25, 0.75); }
50% { transform: scale(0.85, 1.15); }
70% { transform: scale(1.05, 0.95); }
100% { transform: scale(1); }
}
```
## When to Use
- Games and gamification
- Children's interfaces
- Social media reactions
- Onboarding tutorials
- Empty states
- Easter eggs
- Casual apps
- Entertainment platforms
© dylantarre · MIT · dylantarre/animation-principles