instant-0-100ms — скилл для Claude Code: что делает и установка
Скилл обучает агента настраивать мгновенный отклик интерфейса до 100 мс. Пригодится при вёрстке кнопок и переключателей.
npx skills add dylantarre/animation-principles --skill instant-0-100ms -a claude-codeЧто делает instant-0-100ms
Скилл содержит правила для CSS-переходов, которые подтверждают действие пользователя без видимой задержки. Речь идёт о длительности от 0 до 100 мс. На такой скорости анимация занимает всего 1–3 кадра при 60 кадрах в секунду. Поэтому классические приёмы вроде подготовки движения или сквозного действия здесь не работают.
Инструкция предписывает использовать лёгкое сжатие кнопки при нажатии на 2–5% через scale(0.97) и опираться на сдвиги цвета или прозрачности. Из функций плавности подходят только ease-out со спадом скорости или linear. Повороты больше 15 градусов и составные цепочки кадров при таком темпе ломают восприятие.
Какие задачи решает
- настроить сжатие кнопки при клике в пределах 50 мс
- подобрать CSS-переход для переключателя или радиокнопки
- убрать лишние фазы анимации из быстрого отклика интерфейса
- задать появление кольца фокуса без визуальной задержки
Примеры запросов агенту
- Добавь отклик на нажатие кнопки через scale и transition на 50 мс
- Настрой быстрое переключение состояния для тумблера без задержки
- Сделай CSS-анимацию фокуса для поля ввода по правилам instant-0-100ms
Как установить instant-0-100ms
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill instant-0-100ms -a claude-code2Вручную: положить файлы
~/.claude/skills/instant-0-100ms/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/instant-0-100ms/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill instant-0-100ms -a codex2Вручную: положить файлы
.agents/skills/instant-0-100ms/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill instant-0-100ms -a cursor2Вручную: положить файлы
.cursor/skills/instant-0-100ms/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install dylantarre/animation-principles instant-0-100ms2Вручную: положить файлы
.github/skills/instant-0-100ms/SKILL.md1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill instant-0-100ms -a gemini-cli2Командой платформы
gemini skills install https://github.com/dylantarre/animation-principles --path skills/10-by-time-scale/instant-0-100msВручную: положить файлы
.devin/skills/instant-0-100ms/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill instant-0-100ms -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о instant-0-100ms
Как установить instant-0-100ms в Claude Code?
Выполните команду npx skills add dylantarre/animation-principles --skill instant-0-100ms -a claude-code. Также можно сохранить файл вручную по пути ~/.claude/skills/instant-0-100ms/SKILL.md.
Для каких элементов интерфейса подходит этот скилл?
Скилл рассчитан на активные состояния кнопок, тумблеры, чекбоксы и кольца фокуса. Он охватывает микровзаимодействия, требующие мгновенного подтверждения до 100 мс.
Какие анимации не подходят для скорости до 100 мс?
Нельзя использовать вращение более 15 градусов, многоэтапные цепочки и видимое перемещение объекта. Глаз не успевает воспринять эти эффекты за 1–3 кадра.
Исходный текст
SKILL.md · MIT
---
name: instant-0-100ms
description: Use when building instantaneous UI feedback under 100ms - button presses, toggles, state changes that feel immediate and responsive
---
# Instant Animations (0-100ms)
Animations under 100ms feel **instantaneous** to users. This duration is for immediate feedback that confirms actions without perceived delay.
## Disney Principles at Instant Speed
### Works Well
**Squash & Stretch**: Subtle - 2-5% compression on button press creates tactile feel without visible deformation.
**Anticipation**: Skip entirely - no time for preparation at this speed.
**Staging**: Minimal - rely on position/color change, not movement.
**Straight Ahead/Pose to Pose**: Straight ahead only - too fast for keyframe complexity.
**Follow Through**: None - motion completes before follow-through registers.
**Slow In/Slow Out**: Use `ease-out` only - starts at full speed, slight deceleration.
**Arcs**: Linear paths only - curves don't register at this speed.
**Secondary Action**: Skip - brain can't process multiple simultaneous instant changes.
**Timing**: 1-3 frames maximum. 60fps = 16.67ms per frame.
**Exaggeration**: Minimal - subtle scale (0.95-1.05) or opacity changes.
**Solid Drawing**: Focus on color/opacity shifts, not spatial transformation.
**Appeal**: Crisp, immediate response builds trust and perceived performance.
### Doesn't Work
- Complex multi-step sequences
- Visible travel distance
- Rotation beyond 15 degrees
- Multiple property changes
- Staged reveals
## Easing Recommendations
```css
/* Primary choice - immediate start, soft landing */
transition: all 50ms ease-out;
/* Alternative - completely linear for state toggles */
transition: opacity 80ms linear;
/* Button press feedback */
transition: transform 50ms ease-out;
```
## Best Use Cases
- Button active/pressed states
- Toggle switches
- Checkbox/radio selections
- Focus ring appearance
- Hover color shifts
- Touch ripple initiation
## Implementation Pattern
```css
.button:active {
transform: scale(0.97);
transition: transform 50ms ease-out;
}
.toggle-on {
background: var(--active);
transition: background 80ms ease-out;
}
```
## Key Insight
At instant speeds, animation serves **confirmation**, not **communication**. Users shouldn't consciously perceive the animation - they should feel the interface responding.
© dylantarre · MIT · dylantarre/animation-principles