secondary-action-mastery — скилл для Claude Code: вторичная анимация
Скилл учит добавлять вторичное движение так, чтобы оно поддерживало главное действие, а не спорило с ним. Пригодится в UI-анимации и игровом филе.
npx skills add dylantarre/animation-principles --skill secondary-action-mastery -a claude-codeЧто делает secondary-action-mastery
Скилл разбирает вторичное действие: то, что происходит в кадре помимо основного движения. Персонаж идёт и насвистывает, кнопка нажимается и даёт лёгкую рябь. Внутри — теория подчинения (вторичное не должно перетягивать внимание), различие между вторичным действием и overlapping action, категории вроде эмоционального подкрепления и фоновой жизни.
Есть разделы по доменам: UI и motion-дизайн, анимация персонажей, полировка интерфейса, игровое ощущение. Для каждого — что считать главным, а что поддерживающим. Отдельно описан спектр амплитуды: от 10-20% от главного действия в профессиональных контекстах до 70%+ в мультфильмах и праздничных сценах.
Метод проверки простой: анимируйте со вторичным действием, потом уберите его. Если сцена стала мёртвой — работает. Если пропажу не заметили, значит вторичное было слишком слабым или лишним. Скилл советует начинать с одного самого ценного вторичного действия и добавлять следующее только если первое не создаёт конкуренции.
Какие задачи решает
- оживить сцену, не отвлекая от главного действия
- отличить вторичное действие от overlapping action
- подобрать амплитуду вторичного движения под контекст
- проверить, работает ли добавленное движение вообще
Примеры запросов агенту
- Добавь вторичное действие к анимации нажатия кнопки, главное — сам press
- Проверь мою анимацию персонажа: не перетягивает ли вторичное движение внимание
- Какую амплитуду вторичного действия взять для игрового интерфейса?
Как установить secondary-action-mastery
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill secondary-action-mastery -a claude-code2Вручную: положить файлы
~/.claude/skills/secondary-action-mastery/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/secondary-action-mastery/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill secondary-action-mastery -a codex2Вручную: положить файлы
.agents/skills/secondary-action-mastery/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill secondary-action-mastery -a cursor2Вручную: положить файлы
.cursor/skills/secondary-action-mastery/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install dylantarre/animation-principles secondary-action-mastery2Вручную: положить файлы
.github/skills/secondary-action-mastery/SKILL.md1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill secondary-action-mastery -a gemini-cli2Командой платформы
gemini skills install https://github.com/dylantarre/animation-principles --path skills/11-by-principle-focus/secondary-action-masteryВручную: положить файлы
.devin/skills/secondary-action-mastery/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill secondary-action-mastery -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Из того же набора86
Похожие
Рядом в теме «Дизайн»
Всё по теме «Дизайн» →Вопросы о secondary-action-mastery
Как установить secondary-action-mastery в Claude?
Выполните npx skills add dylantarre/animation-principles --skill secondary-action-mastery -a claude-code. Скилл появится в ~/.claude/skills/secondary-action-mastery/SKILL.md.
Что делает secondary-action-mastery?
Помогает добавлять вторичное движение к главной анимации: подбирает амплитуду, разводит вторичное действие и overlapping action, проверяет, не перетягивает ли поддержка внимание.
Чем вторичное действие отличается от overlapping action?
Overlapping action — физическое следствие: волосы двинулись, потому что двинулась голова. Вторичное действие независимо и добавляет смысл: насвистывание во время ходьбы.
Исходный текст
SKILL.md · MIT
--- name: secondary-action-mastery description: Use when enriching primary animations, adding supporting details, creating depth in motion, or making scenes feel alive without distracting from main action. --- # Secondary Action Mastery ## The Enrichment Principle Secondary action adds life to a scene without distracting from the main action. A character walking (primary) while whistling and swinging their arms (secondary). A button pressing (primary) with a subtle ripple effect (secondary). It's the difference between functional animation and rich, immersive motion. ## Core Theory **Subordination principle**: Secondary action must never compete with primary action. If viewers watch the secondary instead of primary, you've failed. The supporting role must remain supporting. **Reinforcement function**: Good secondary action reinforces the primary action's meaning. It doesn't just add motion—it adds dimension to the story being told. ## The Distinction: Secondary Action vs. Overlapping Action These are often confused: - **Overlapping action**: Physical consequence (hair moving because head moved) - **Secondary action**: Independent supporting action (whistling while walking) Overlapping is reactive; secondary is additive. ## Categories of Secondary Action **Emotional reinforcement**: Nervous fidgeting during dialogue, triumphant fist pump after scoring **Environmental response**: Clothes rippling in wind, breath visible in cold **Character business**: Adjusting glasses, playing with hair, drumming fingers **Ambient life**: Background characters, environmental animation, idle behaviors ## Interaction with Other Principles **Staging determines secondary action visibility**: Secondary must stay subordinate in composition. **Timing offsets prevent competition**: Secondary often runs on different timing than primary. **Overlapping action often becomes secondary**: The physics-driven motion enriches without distracting. **Follow through provides transition**: Secondary action settles as primary action completes. ## Domain Applications ### UI/Motion Design - **Button interactions**: Primary press, secondary subtle shadow shift or icon micro-animation - **Loading states**: Primary spinner, secondary pulsing background or floating particles - **Card components**: Primary content animation, secondary ambient glow or shadow movement - **Form submission**: Primary success state, secondary confetti or subtle celebration - **Navigation**: Primary page transition, secondary subtle parallax layers ### Character Animation - **Walk cycles**: Primary locomotion, secondary arm swing, head bob, breathing - **Dialogue**: Primary lip sync and expression, secondary hand gestures, weight shifts - **Action scenes**: Primary combat, secondary environmental reactions, crowd responses - **Idle states**: Primary pose hold, secondary subtle breathing, blinking, micro-movements ### Interface Polish - **Dashboards**: Primary data updates, secondary ambient chart breathing - **Notifications**: Primary message entry, secondary badge pulse - **Empty states**: Primary message, secondary animated illustration - **Transitions**: Primary content swap, secondary skeleton loading, background fade ### Game Feel - **Player actions**: Primary attack animation, secondary screen shake, particle burst - **Environment**: Primary player movement, secondary grass swaying, dust kicks - **Menus**: Primary selection change, secondary hover particles, background animation ## Common Mistakes 1. **Upstaging the primary**: Secondary action too prominent, draws focus away 2. **Unrelated secondary**: Actions that don't reinforce primary meaning 3. **Overcrowded secondary**: Too many supporting actions create noise 4. **Missing secondary entirely**: Scene feels static, lifeless, incomplete ## The Subtlety Spectrum **Minimal (professional contexts)**: 10-20% amplitude of primary action **Moderate (consumer products)**: 30-40% amplitude **Expressive (entertainment, games)**: 50-60% amplitude **Theatrical (cartoons, celebrations)**: 70%+ amplitude Match to context and brand personality. ## The "Remove and Test" Method Animate with secondary action, then temporarily remove it. If the scene feels dead, the secondary is working. If you don't notice it's gone, it was probably too subtle—or unnecessary. ## Implementation Heuristic For every primary action, ask: "What else would be moving, reacting, or happening?" Add the single most valuable secondary action. Only add more if the first doesn't create competition. Time secondary action to offset from primary—either starting slightly before, during hold phases, or in the settling aftermath.
© dylantarre · MIT · dylantarre/animation-principles