small-200-300ms — скилл для Claude Code: анимации 200–300 мс
Скилл подсказывает агенту, как строить переходы длительностью 200–300 мс: появление модалок, раскрытие карточек, слайды навигации.
npx skills add dylantarre/animation-principles --skill small-200-300ms -a claude-codeЧто делает small-200-300ms
Скилл описывает, что уместно в диапазоне 200–300 мс, когда пользователь уже осознанно замечает движение. Внутри — разбор принципов анимации Диснея применительно к такой длительности: squash & stretch, anticipation, staging, follow through, easing. Для каждого принципа указано, работает он здесь или нет.
Практическая часть — рекомендации по кривым и готовые примеры CSS. Есть четыре варианта transition: стандартный ease-out на 250 мс, уверенное появление модалки через cubic-bezier(0.16, 1, 0.3, 1), пружинистый характер через cubic-bezier(0.34, 1.56, 0.64, 1) и сдержанный профессиональный вариант на 220 мс. Ниже — паттерн для .modal и .card-expand с комбинацией opacity и transform.
Скилл прямо говорит, где этот диапазон не подходит: сложная персонажная анимация, длинные перемещения по экрану, несколько последовательных стадий. Если элемент должен ощущаться мгновенным, 200–300 мс будет слишком медленно. Ставить есть смысл, когда вы правите переходы в интерфейсе и хотите, чтобы агент не выдумывал тайминги сам.
Какие задачи решает
- подобрать кривую easing для появления модального окна
- сделать раскрытие карточки, которое не выглядит резким
- настроить слайд навигационной панели
- добавить пружинистое движение кнопке без потери аккуратности
- развести по времени основное и второстепенное действие в переходе
Примеры запросов агенту
- Сделай появление модалки на 250 мс с cubic-bezier(0.16, 1, 0.3, 1)
- Перепиши transition у .card-expand под раскрытие карточки
- Подбери длительность и easing для слайда навигации
Как установить small-200-300ms
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill small-200-300ms -a claude-code2Вручную: положить файлы
~/.claude/skills/small-200-300ms/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/small-200-300ms/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill small-200-300ms -a codex2Вручную: положить файлы
.agents/skills/small-200-300ms/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill small-200-300ms -a cursor2Вручную: положить файлы
.cursor/skills/small-200-300ms/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install dylantarre/animation-principles small-200-300ms2Вручную: положить файлы
.github/skills/small-200-300ms/SKILL.md1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill small-200-300ms -a gemini-cli2Командой платформы
gemini skills install https://github.com/dylantarre/animation-principles --path skills/10-by-time-scale/small-200-300msВручную: положить файлы
.devin/skills/small-200-300ms/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill small-200-300ms -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о small-200-300ms
Как установить small-200-300ms в Claude?
Выполните npx skills add dylantarre/animation-principles --skill small-200-300ms -a claude-code. Файл скилла окажется по пути ~/.claude/skills/small-200-300ms/SKILL.md.
Что делает small-200-300ms?
Описывает переходы длительностью 200–300 мс: какие принципы анимации в них работают, какие кривые easing брать и как выглядит паттерн для модалок и раскрывающихся карточек.
Для каких элементов подходит этот диапазон?
Модальные диалоги, раскрытие и сворачивание карточек, слайды навигации, переключение вкладок, панели фильтров, увеличение миниатюр, всплывающие уведомления.
Исходный текст
SKILL.md · MIT
---
name: small-200-300ms
description: Use when building small transitions between 200-300ms - modal appearances, card expansions, navigation transitions that users consciously perceive
---
# Small Transitions (200-300ms)
At 200-300ms, users **consciously perceive motion**. This duration bridges micro-interactions and full animations - ideal for UI state changes.
## Disney Principles at Small Duration
### Works Well
**Squash & Stretch**: Visible but restrained - 10-15% for playful interfaces, 5% for professional.
**Anticipation**: Brief wind-up works - 40-60ms preparation enhances 200ms main action.
**Staging**: Clear hierarchy - primary element leads, secondary follows by 50-100ms.
**Straight Ahead/Pose to Pose**: Pose to pose preferred - keyframes create polished motion.
**Follow Through**: Noticeable overshoot - 5-10% past target adds life.
**Slow In/Slow Out**: Full easing curves - both ease-in-out and custom beziers shine.
**Arcs**: Natural curves enhance - elements can travel on arcs rather than straight lines.
**Secondary Action**: One or two secondary actions - fade + scale, move + rotate.
**Timing**: 12-18 frames at 60fps. Smooth, deliberate motion.
**Exaggeration**: Moderate to pronounced - depends on brand personality.
**Solid Drawing**: Full transform combinations - translate, scale, rotate together.
**Appeal**: Conscious animation that builds brand character.
### Doesn't Work
- Feeling instant (too slow)
- Complex character animation
- Long travel distances
- Multiple sequential stages
## Easing Recommendations
```css
/* Standard smooth transition */
transition: all 250ms ease-out;
/* Modal/card appearance - confident arrival */
transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
/* Bouncy personality */
transition: transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
/* Professional, subtle */
transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
```
## Best Use Cases
- Modal dialogs appearing
- Card expand/collapse
- Navigation drawer slides
- Tab content transitions
- Filter panel toggles
- Image thumbnails expanding
- Alert/notification slides
## Implementation Pattern
```css
.modal {
opacity: 0;
transform: translateY(20px) scale(0.95);
transition: opacity 200ms ease-out,
transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
}
.modal.open {
opacity: 1;
transform: translateY(0) scale(1);
}
.card-expand {
transition: all 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
```
## Key Insight
Small transitions are **seen and understood**. Users track the motion and their brain processes the spatial relationship. Use this to guide attention and communicate hierarchy.
© dylantarre · MIT · dylantarre/animation-principles