urgency-action — скилл для Claude Code: что делает и как установить
Задаёт правила анимации интерфейса для привлечения внимания и быстрой реакции. Пригодится при вёрстке таймеров и кнопок оформления заказа.
npx skills add dylantarre/animation-principles --skill urgency-action -a claude-codeЧто делает urgency-action
Скилл содержит набор инструкций для моушн-дизайна. Он побуждает пользователя к быстрому действию. В основу легли диснеевские принципы анимации, переработанные для веб-интерфейсов. Фаза подготовки сведена к минимуму (антиципация 0–50 мс), а траектории движения остаются строго линейными без плавных дуг.
Внутри собраны готовые кривые Безье вроде cubic-bezier(0.0, 0, 0.2, 1) и ключевые кадры urgent-pulse. Пульс внимания укладывается в 150–200 мс. Ошибки ввода отрабатывают за 300–400 мс. Искусственный дефицит быстро разрушает доверие, поэтому агрессивный моушн оправдан только при реальных ограничениях по времени.
Какие задачи решает
- настроить динамичную анимацию для кнопки оформления заказа
- задать CSS-тайминги и кривые Безье для таймера скидки
- анимировать дрожание поля формы при ошибке ввода
- создать пульсирующий бейдж уведомления для корзины
Примеры запросов агенту
- Сделай анимацию кнопки покупки по правилам urgency-action с кривой
--urgency-snap - Настрой CSS-анимацию счётчика остатка товара с помощью keyframes
urgent-pulse - Добавь эффект ошибки ввода в поле промокода с дрожанием на 300 мс
Как установить urgency-action
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill urgency-action -a claude-code2Вручную: положить файлы
~/.claude/skills/urgency-action/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/urgency-action/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill urgency-action -a codex2Вручную: положить файлы
.agents/skills/urgency-action/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill urgency-action -a cursor2Вручную: положить файлы
.cursor/skills/urgency-action/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install dylantarre/animation-principles urgency-action2Вручную: положить файлы
.github/skills/urgency-action/SKILL.md1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill urgency-action -a gemini-cli2Командой платформы
gemini skills install https://github.com/dylantarre/animation-principles --path skills/06-by-emotional-outcome/urgency-actionВручную: положить файлы
.devin/skills/urgency-action/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill urgency-action -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о urgency-action
Как установить urgency-action в Claude Code?
Выполните команду npx skills add dylantarre/animation-principles --skill urgency-action -a claude-code. Файл навыка запишется в ~/.claude/skills/urgency-action/SKILL.md.
Что делает скилл urgency-action?
Он передаёт агенту правила движения для интерфейсов: короткие длительности от 100 до 200 мс, резкие кривые ускорения и готовые примеры CSS-анимаций.
Какие кривые Безье и тайминги задаёт этот скилл?
В правилах прописаны переменные --urgency-snap с формулой cubic-bezier(0.0, 0, 0.2, 1), --urgency-punch и --urgency-bounce. Длительность импульса внимания составляет 150–200 мс, а отскок кнопки длится 200–300 мс.
Исходный текст
SKILL.md · MIT
---
name: urgency-action
description: Use when creating animations that prompt immediate user action, highlight time-sensitivity, or drive conversions.
---
# Urgency & Action Animation
Create animations that motivate immediate response and communicate time-sensitivity.
## Emotional Goal
Urgency creates a compelling need to act now. Action-driving animations capture attention, create momentum, and remove hesitation through dynamic, forward-moving motion.
## Disney Principles for Urgency
### Squash & Stretch
Sharp, impactful deformations. Quick squash on landing (15-25%) creates impact. Fast stretch during motion shows speed and force.
### Anticipation
Very short or none (0-50ms). Urgency means no time to prepare. Direct, immediate action. Skip wind-up for instant response.
### Staging
Aggressive focus on call-to-action. High contrast, motion isolation. Everything else should recede. Spotlight the urgent element.
### Straight Ahead Action
Creates unpredictable, attention-grabbing movement. Use for pulsing, shaking, or urgent indicator animations.
### Follow Through & Overlapping Action
Minimal follow-through. Sharp stops communicate decisiveness. No lingering—immediate resolution drives action.
### Slow In & Slow Out
Asymmetric: fast start, abrupt end. `ease-out` with high initial velocity. `cubic-bezier(0.0, 0, 0.2, 1)` for aggressive acceleration.
### Arc
Direct, linear paths for speed. Urgency takes the shortest route. Curved paths feel leisurely—use straight lines.
### Secondary Action
Attention-grabbing pulses, glows, or shakes. Badge counters that bounce. Subtle but persistent motion draws eyes.
### Timing
Fast and punchy (100-200ms). Rapid animations create energy. Pulse intervals: 1-2 seconds to maintain attention without annoyance.
### Exaggeration
Moderate to high (20-40%). Amplified motion captures attention. Oversized bounces on notifications, emphasized shakes on errors.
### Solid Drawing
Strong, bold forms. High-contrast shapes that command attention. No subtlety—clarity is paramount.
### Appeal
Bold colors (red, orange). Strong contrast. Asymmetric, dynamic compositions that feel active, not static.
## Timing Recommendations
| Element | Duration | Easing |
|---------|----------|--------|
| Attention pulse | 150-200ms | `ease-out` |
| CTA bounce | 200-300ms | `ease-out-back` |
| Countdown tick | 100ms | `linear` |
| Error shake | 300-400ms | `ease-in-out` |
## CSS Easing
```css
--urgency-snap: cubic-bezier(0.0, 0, 0.2, 1);
--urgency-punch: cubic-bezier(0.25, 0.46, 0.45, 0.94);
--urgency-bounce: cubic-bezier(0.34, 1.4, 0.64, 1);
```
## Attention Patterns
```css
@keyframes urgent-pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}
@keyframes urgent-shake {
0%, 100% { transform: translateX(0); }
25% { transform: translateX(-4px); }
75% { transform: translateX(4px); }
}
```
## When to Use
- Limited-time offers and sales
- Low stock warnings
- Countdown timers
- Form validation errors
- Notification badges
- Call-to-action buttons
- Checkout urgency
## Ethics Note
Use urgency honestly. Fake scarcity damages trust. Reserve for genuinely time-sensitive situations.
© dylantarre · MIT · dylantarre/animation-principles