social-media — скилл для Claude Code: анимации соцсетей
Скилл для анимаций в соцсетях, мессенджерах и фичах сообществ: подсказывает тайминги и поведение интерфейса.
npx skills add dylantarre/animation-principles --skill social-media -a claude-codeЧто делает social-media
Скилл разбирает 12 принципов анимации Диснея применительно к интерфейсам соцсетей: лайки, реакции, отправка сообщений, сторис, свайпы, pull to refresh. Каждый принцип расписан по конкретным элементам — например, кнопка «сердце» сжимается при нажатии и отскакивает, а счётчик лайков обновляется после иконки.
Внутри есть таблица таймингов: лайк и реакция — 200ms со spring, pull to refresh — 300ms с ease-out, переход между сторис — 250ms с ease-in-out, открытие модального окна — 300ms с ease-out, отправка сообщения — 150ms с ease-out. Эти значения можно брать как ориентир, а не как жёсткий стандарт.
Скилл ставится в Claude, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode. Для Claude файл лежит в ~/.claude/skills/social-media/SKILL.md, для Cursor — в .cursor/skills/social-media/SKILL.md. Если у вас уже есть свои тайминги в дизайн-системе, цифры из скилла будут с ними спорить — это повод сверить оба набора до того, как агент начнёт править код.
Какие задачи решает
- подобрать тайминг для лайка и реакции в ленте
- описать анимацию отправки сообщения в мессенджере
- сделать переход между сторис без рывков
- настроить поведение pull to refresh
- собрать анимации для онбординга и микро-взаимодействий
Примеры запросов агенту
- предложи анимацию лайка по принципам из social-media
- какой тайминг ставить для pull to refresh?
- сделай анимацию отправки сообщения в чате
Как установить social-media
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill social-media -a claude-code2Вручную: положить файлы
~/.claude/skills/social-media/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/social-media/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill social-media -a codex2Вручную: положить файлы
.agents/skills/social-media/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill social-media -a cursor2Вручную: положить файлы
.cursor/skills/social-media/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install dylantarre/animation-principles social-media2Вручную: положить файлы
.github/skills/social-media/SKILL.md1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill social-media -a gemini-cli2Командой платформы
gemini skills install https://github.com/dylantarre/animation-principles --path skills/08-by-industry/social-mediaВручную: положить файлы
.devin/skills/social-media/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill social-media -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о social-media
Как установить social-media в Claude?
Выполните npx skills add dylantarre/animation-principles --skill social-media -a claude-code. После этого файл скилла появится в ~/.claude/skills/social-media/SKILL.md.
Что делает social-media?
Помогает проектировать анимации для соцсетей и мессенджеров: лайки, реакции, сторис, свайпы, отправка сообщений. Внутри — 12 принципов анимации и таблица таймингов с easing.
С какими платформами совместим скилл?
Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode. Для каждой платформы своя команда установки и свой путь к файлу скилла.
Исходный текст
SKILL.md · MIT
--- name: social-media description: Use when designing animations for social platforms, messaging apps, content sharing, or community features --- # Social Media Animation Principles Apply Disney's 12 principles to create engaging, expressive experiences that encourage interaction and emotional connection. ## The 12 Principles Applied ### 1. Squash & Stretch - **Like Buttons**: Heart squishes on tap, then bounces back - **Reaction Emojis**: Playful stretch during selection - **Send Button**: Compress before message flies away ### 2. Anticipation - **Post Button**: Brief wind-up before publishing - **Stories**: Tap-and-hold with radial progress - **Swipe Actions**: Preview hints at what's coming ### 3. Staging - **Content First**: User content is always the star - **Reactions Bar**: Clear but not overshadowing - **Notifications**: Prominent but dismissible ### 4. Straight Ahead & Pose to Pose - **Feed Scroll**: Endless smooth flow (straight ahead) - **Posting Flow**: Step-by-step creation (pose to pose) - **Story Sequences**: Frame-by-frame progression ### 5. Follow Through & Overlapping Action - **Like Animation**: Icon bounces, count updates after - **Comment Thread**: Avatar appears, then text - **Share Menu**: Options cascade in sequence ### 6. Slow In & Slow Out - **Pull to Refresh**: Smooth deceleration - **Card Transitions**: Ease-in-out for polished feel - **Modal Sheets**: Comfortable 300ms timing ### 7. Arc - **Reactions Float**: Emojis arc upward from button - **Story Gestures**: Swipe follows natural curve - **Content Sharing**: Posts arc to share destination ### 8. Secondary Action - **Double-Tap Like**: Heart bursts while fading - **Typing Indicator**: Dots bounce while thinking - **Upload Progress**: Shimmer while processing ### 9. Timing - **Interactions**: Snappy 100-200ms for engagement - **Transitions**: Swift 250-300ms to maintain flow - **Celebrations**: 500-800ms for emotional moments ### 10. Exaggeration - **Reactions**: Amplify emotional expression - **Milestones**: Celebrate follower counts, likes - **Live Features**: Dynamic, attention-grabbing ### 11. Solid Drawing - **Avatar Consistency**: Uniform sizing and styling - **Icon Language**: Cohesive visual vocabulary - **Grid Layouts**: Proper alignment and spacing ### 12. Appeal - **Personality Forward**: Platform character shines through - **Dopamine Design**: Rewarding micro-interactions - **Shareability**: Animations worth recording ## Industry Timing Standards | Action | Duration | Easing | |--------|----------|--------| | Like/React | 200ms | spring | | Pull to Refresh | 300ms | ease-out | | Story Transition | 250ms | ease-in-out | | Modal Open | 300ms | ease-out | | Send Message | 150ms | ease-out | ## Key Principle Social media thrives on emotional expression. Animations should amplify connection, make interactions feel rewarding, and encourage continued engagement without feeling manipulative.
© dylantarre · MIT · dylantarre/animation-principles