comfort-safety — скилл для Claude Code: анимации, которые успокаивают
Скилл для ИИ-кодинга, который задаёт правила анимаций в интерфейсах, где пользователю важно чувствовать себя в безопасности.
npx skills add dylantarre/animation-principles --skill comfort-safety -a claude-codeЧто делает comfort-safety
Скилл описывает, как строить движение в интерфейсе, когда задача — не впечатлить, а успокоить. Он разбирает принципы анимации из классической школы Disney и переводит их в конкретные настройки: мягкий squash & stretch в пределах 5-10%, заметная подготовка действия на 150-200ms, плавные кривые без резких смен. Прямая анимация «от кадра к кадру» не подходит: предсказуемость здесь важнее выразительности.
Внутри — таблица таймингов по типам элементов: переходы 300-400ms, отклик 200-250ms, подтверждение 350-450ms, раскрытие защиты 400-500ms. Для каждого указана кривая. Рядом лежат готовые CSS-переменные с cubic-bezier и два keyframes: comfort-embrace для мягкого появления и comfort-check для прорисовки галочки через stroke-dashoffset. Отдельный список сигналов безопасности — видимый отклик на каждое действие, анимация отмены, прогресс без откатов назад.
Скилл пригодится в банковских и страховых интерфейсах, в медицинских приложениях, в сценариях со сменой пароля и настройками приватности. Ставить его имеет смысл, если вы уже работаете с CSS-анимациями: готовые значения можно переносить в проект как есть, но подгонять под свою дизайн-систему придётся вручную.
Какие задачи решает
- успокоить пользователя в момент подтверждения платежа
- показать, что данные сохранены и ничего не потеряно
- сделать отмену действия видимой и обратимой
- провести через смену пароля без ощущения угрозы
- настроить приватность так, чтобы шаги не пугали
Примеры запросов агенту
- сделай анимацию подтверждения перевода по скиллу comfort-safety
- проверь тайминги на экране смены пароля по comfort-safety
- добавь keyframes comfort-check для галочки сохранения
Как установить comfort-safety
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill comfort-safety -a claude-code2Вручную: положить файлы
~/.claude/skills/comfort-safety/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/comfort-safety/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill comfort-safety -a codex2Вручную: положить файлы
.agents/skills/comfort-safety/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill comfort-safety -a cursor2Вручную: положить файлы
.cursor/skills/comfort-safety/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install dylantarre/animation-principles comfort-safety2Вручную: положить файлы
.github/skills/comfort-safety/SKILL.md1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill comfort-safety -a gemini-cli2Командой платформы
gemini skills install https://github.com/dylantarre/animation-principles --path skills/06-by-emotional-outcome/comfort-safetyВручную: положить файлы
.devin/skills/comfort-safety/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill comfort-safety -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о comfort-safety
Как установить comfort-safety в Claude?
Выполните npx skills add dylantarre/animation-principles --skill comfort-safety -a claude-code. После этого файл скилла окажется в ~/.claude/skills/comfort-safety/SKILL.md.
Что делает comfort-safety?
Задаёт правила анимаций для интерфейсов, где важны спокойствие и ощущение защиты: тайминги, кривые, мягкие переходы и сигналы безопасности.
Для каких экранов он подходит?
Банковские и страховые сценарии, медицинские приложения, смена пароля, настройки приватности, резервное копирование и восстановление.
Исходный текст
SKILL.md · MIT
---
name: comfort-safety
description: Use when creating animations that reassure users, reduce anxiety, or communicate protection and security.
---
# Comfort & Safety Animation
Create animations that reassure, protect, and make users feel secure.
## Emotional Goal
Comfort comes from predictable, gentle motion that never startles. Safety means animations that communicate protection, stability, and user control.
## Disney Principles for Comfort
### Squash & Stretch
Minimal, soft (5-10%). Gentle give without instability. Like a cushion—absorbs impact, maintains structure.
### Anticipation
Clear, reassuring preparation (150-200ms). Users always know what's coming. No surprises, no hidden actions.
### Staging
Enclosed, protected compositions. Clear boundaries. Safe spaces. Visual hierarchy that guides without overwhelming.
### Straight Ahead Action
Avoid. Safety requires predictability. Every movement should be controlled and expected.
### Follow Through & Overlapping Action
Gentle, cushioned settling. Soft landings. Elements ease into place like being tucked in.
### Slow In & Slow Out
Smooth, gentle curves throughout. No sudden changes. `ease-in-out` for predictable, comfortable motion.
### Arc
Soft, natural curves. Cradling, embracing paths. Motion that wraps around rather than cuts through.
### Secondary Action
Reassuring cues only. Checkmarks, shields, locks. Visual confirmation of safety and completion.
### Timing
Moderate, unhurried (300-450ms). Time to process and feel safe. Never rushed or abrupt.
### Exaggeration
None to minimal. Realistic, grounded movements. Comfort requires believability.
### Solid Drawing
Stable, balanced forms. Low center of gravity. Shapes that feel grounded and secure.
### Appeal
Warm, muted colors. Soft edges. Familiar, comfortable aesthetics. Nothing aggressive or sharp.
## Timing Recommendations
| Element | Duration | Easing |
|---------|----------|--------|
| Transitions | 300-400ms | `ease-in-out` |
| Feedback | 200-250ms | `ease-out` |
| Confirmation | 350-450ms | `ease-out` |
| Protection reveal | 400-500ms | `ease-in-out` |
## CSS Easing
```css
--comfort-smooth: cubic-bezier(0.4, 0, 0.2, 1);
--comfort-gentle: cubic-bezier(0.45, 0, 0.55, 1);
--comfort-settle: cubic-bezier(0.25, 0.1, 0.25, 1);
```
## Reassuring Patterns
```css
@keyframes comfort-embrace {
from {
opacity: 0;
transform: scale(0.98);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes comfort-check {
0% {
stroke-dashoffset: 24;
opacity: 0;
}
50% { opacity: 1; }
100% {
stroke-dashoffset: 0;
opacity: 1;
}
}
.safe-element {
animation: comfort-embrace 400ms ease-in-out forwards;
}
```
## Safety Signals
- Clear, visible feedback for all actions
- Undo animations that show reversibility
- Progress that never goes backward unexpectedly
- Transitions that maintain orientation
- Consistent patterns users can rely on
## When to Use
- Banking and finance
- Healthcare applications
- Password and security flows
- Data privacy controls
- Insurance platforms
- Backup and recovery
- Parental controls
- Sensitive data handling
© dylantarre · MIT · dylantarre/animation-principles