universal-industry — скилл анимации для Claude Code и Cursor
Скилл с базовыми настройками анимации по 12 принципам Disney: тайминги, easing и правила для интерфейсов, когда отраслевых гайдлайнов нет.
npx skills add dylantarre/animation-principles --skill universal-industry -a claude-codeЧто делает universal-industry
Скилл даёт отправную точку, когда вы делаете анимацию интерфейса и не знаете, от чего отталкиваться. Внутри — 12 принципов Disney, переписанных под UI: у каждого есть значение по умолчанию, подсказка чем его менять и жёсткое правило, которое нарушать нельзя. Например, для squash & stretch по умолчанию стоит лёгкое сжатие интерактивных элементов, а универсальное правило — не искажать данные и важный контент.
Тайминги сведены в таблицу: микро-взаимодействия 100-150ms с ease-out, обычные переходы 200-300ms с ease-in-out, сложные анимации 300-500ms. Отдельно разобрана адаптация под характер бренда и контекст пользователя: профессиональный стиль требует меньше отскока, премиальный — медленнее и мягче. Есть рамка для подстройки под отрасль, бренд и ситуацию.
Позиция автора прямая: при сомнениях выбирайте сдержанность и эффективность. Линейный easing для UI-движения запрещён, одна главная точка фокуса на состояние экрана, а перед необратимым действием всегда нужен сигнал. Это повод проверить свои текущие кривые — если где-то стоит linear, скилл это поймает.
Какие задачи решает
- выбрать тайминг и easing для перехода, когда нет готового гайдлайна
- объяснить команде, почему анимация выглядит дёргано
- подстроить движение под серьёзный бренд без отскоков
- развести анимацию данных и анимацию персонажа
- задать единый набор правил движения для всего продукта
Примеры запросов агенту
- подбери тайминги и easing для модального окна по скиллу universal-industry
- проверь мои CSS-переходы на соответствие 12 принципам анимации
- нужна анимация для премиального интерфейса — предложи сдержанные значения
Как установить universal-industry
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill universal-industry -a claude-code2Вручную: положить файлы
~/.claude/skills/universal-industry/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/universal-industry/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill universal-industry -a codex2Вручную: положить файлы
.agents/skills/universal-industry/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill universal-industry -a cursor2Вручную: положить файлы
.cursor/skills/universal-industry/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install dylantarre/animation-principles universal-industry2Вручную: положить файлы
.github/skills/universal-industry/SKILL.md1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill universal-industry -a gemini-cli2Командой платформы
gemini skills install https://github.com/dylantarre/animation-principles --path skills/08-by-industry/universal-industryВручную: положить файлы
.devin/skills/universal-industry/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill universal-industry -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о universal-industry
Как установить universal-industry в Claude?
Выполните npx skills add dylantarre/animation-principles --skill universal-industry -a claude-code. Файл скилла окажется в ~/.claude/skills/universal-industry/SKILL.md.
Что делает universal-industry?
Раскладывает 12 принципов анимации Disney на значения по умолчанию, способы подстройки и универсальные правила для интерфейсов. Помогает выбрать тайминги и easing, когда отраслевых рекомендаций нет.
Для каких платформ подходит скилл?
Установка описана для Claude, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode. Для GitHub Copilot команда другая: gh skill install dylantarre/animation-principles universal-industry.
Исходный текст
SKILL.md · MIT
--- name: universal-industry description: Use when designing animations for any industry or when industry-specific guidelines do not apply --- # Universal Animation Principles Apply Disney's 12 principles as flexible foundations that adapt to any industry context with sensible defaults. ## The 12 Principles Applied ### 1. Squash & Stretch - **Default**: Subtle compression on interactive elements - **Adjust By**: Brand personality (playful = more, serious = less) - **Universal Rule**: Never distort data or important content ### 2. Anticipation - **Default**: Brief pause before significant actions - **Adjust By**: Action importance (bigger action = more anticipation) - **Universal Rule**: Always signal before irreversible actions ### 3. Staging - **Default**: Primary action takes visual focus - **Adjust By**: Content hierarchy and user goals - **Universal Rule**: One main focus per screen state ### 4. Straight Ahead & Pose to Pose - **Default**: Pose to pose for UI, straight ahead for data - **Adjust By**: Content type and interaction pattern - **Universal Rule**: Match approach to content predictability ### 5. Follow Through & Overlapping Action - **Default**: Related elements animate in sequence - **Adjust By**: Visual complexity and element relationships - **Universal Rule**: Primary element completes before secondary ### 6. Slow In & Slow Out - **Default**: ease-in-out for most transitions - **Adjust By**: UI context (entrances = ease-out, exits = ease-in) - **Universal Rule**: Never use linear for UI motion ### 7. Arc - **Default**: Subtle curves for natural movement - **Adjust By**: Interface formality (casual = more arc) - **Universal Rule**: Straight lines for data, curves for character ### 8. Secondary Action - **Default**: One supporting animation per primary action - **Adjust By**: Moment importance and brand expression - **Universal Rule**: Secondary never overshadows primary ### 9. Timing - **Default**: 200-300ms for standard interactions - **Adjust By**: Industry pace and user expectations - **Universal Rule**: Faster for frequent, slower for significant ### 10. Exaggeration - **Default**: Subtle, 10-20% beyond literal - **Adjust By**: Brand personality and context appropriateness - **Universal Rule**: Exaggerate successes, minimize failures ### 11. Solid Drawing - **Default**: Consistent visual language throughout - **Adjust By**: Platform conventions and brand guidelines - **Universal Rule**: Maintain perspective and proportions ### 12. Appeal - **Default**: Clean, refined motion that feels intentional - **Adjust By**: Target audience and brand personality - **Universal Rule**: Animation should never feel accidental ## Universal Timing Defaults | Action | Duration | Easing | |--------|----------|--------| | Micro-interaction | 100-150ms | ease-out | | Standard Transition | 200-300ms | ease-in-out | | Complex Animation | 300-500ms | ease-in-out | | Emphasis Moment | 400-600ms | custom | | Page Transition | 300-400ms | ease-in-out | ## Adaptation Framework ### By Brand Personality - **Professional**: Reduce squash/stretch, minimize exaggeration - **Playful**: Increase bounce, add secondary actions - **Premium**: Slower timing, refined easing curves - **Energetic**: Faster timing, more dynamic motion ### By User Context - **Working**: Minimize animation, maximize efficiency - **Browsing**: Enhance discovery with motion - **Celebrating**: Amplify positive moments - **Learning**: Support comprehension with motion ## Key Principle Start with sensible defaults, then calibrate based on industry expectations, brand personality, and user context. When in doubt, err toward subtlety and efficiency.
© dylantarre · MIT · dylantarre/animation-principles