lists-grids — скилл для Claude Code: что делает и как установить
Помогает настроить анимацию списков, таблиц и сеток по 12 принципам диснеевской мультипликации. Пригодится при фильтрации данных и перетаскивании карточек.
npx skills add dylantarre/animation-principles --skill lists-grids -a claude-codeЧто делает lists-grids
Скилл передаёт агенту правила движения для списков, таблиц и сеток карточек. Вместо резких рывков интерфейс получает выверенные анимации на основе 12 принципов классической мультипликации. При перетаскивании элемент движется по дуге, а не по прямой линии. Для удаляемых блоков применяется небольшое сжатие перед исчезновением.
В правилах прописаны точные тайминги. Задержка ступенчатого появления (stagger) составляет 30–75 мс на элемент, а суммарный каскад укладывается в 500–800 мс. Появление длится 200–300 мс, скрытие — 150–200 мс. Все примеры построены вокруг аппаратных свойств transform и opacity, поэтому браузер не тратит ресурсы на пересчёт геометрии страницы.
Какие задачи решает
- настроить ступенчатое появление элементов списка с каскадной задержкой
- задать тайминги и кривые Безье при фильтрации сетки карточек
- анимировать перемещение строк таблицы по дуговым траекториям
- плавно скрыть удаляемые карточки через масштабирование и прозрачность
Примеры запросов агенту
- Сделай анимацию появления карточек в сетке с задержкой по правилам lists-grids
- Добавь CSS-переходы для плавной пересортицы элементов списка при фильтрации
- Настрой перетаскивание строк таблицы с изменением z-index и теней
Как установить lists-grids
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill lists-grids -a claude-code2Вручную: положить файлы
~/.claude/skills/lists-grids/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/lists-grids/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill lists-grids -a codex2Вручную: положить файлы
.agents/skills/lists-grids/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill lists-grids -a cursor2Вручную: положить файлы
.cursor/skills/lists-grids/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install dylantarre/animation-principles lists-grids2Вручную: положить файлы
.github/skills/lists-grids/SKILL.md1Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill lists-grids -a gemini-cli2Командой платформы
gemini skills install https://github.com/dylantarre/animation-principles --path skills/07-by-ui-element/lists-gridsВручную: положить файлы
.devin/skills/lists-grids/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add dylantarre/animation-principles --skill lists-grids -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о lists-grids
Как установить lists-grids в Claude Code?
Выполните в терминале команду npx skills add dylantarre/animation-principles --skill lists-grids -a claude-code. Инструкция сохранится в файле ~/.claude/skills/lists-grids/SKILL.md.
Что делает скилл lists-grids?
Он задаёт правила генерации CSS для списков, таблиц и сеток. Агент применяет принципы опережения, дуг и подготовки движения при фильтрации или сортировке.
Какие тайминги рекомендует lists-grids для анимаций?
Инструкция задаёт задержку между элементами от 30 до 75 мс, а вход элемента занимает от 200 до 300 мс. Максимальная общая длительность каскада ограничена 800 мс.
Исходный текст
SKILL.md · MIT
---
name: lists-grids
description: Use when animating lists, grids, tables, or collections of items to create smooth ordering, filtering, and loading states
---
# List & Grid Animation Principles
Apply Disney's 12 principles to lists and grids for smooth, organized motion.
## Principles Applied to Lists & Grids
### 1. Squash & Stretch
List items compress slightly when grabbed for reorder. Grid items can stretch when expanding to fill space on filter.
### 2. Anticipation
Before list reorders, items briefly compress. Before filter removes items, they can shrink slightly. Prepares for change.
### 3. Staging
Item being dragged lifts above others (z-index + shadow). Filtered results highlight while others fade. Guide eye to relevant items.
### 4. Straight Ahead & Pose to Pose
Define states: entering, resting, reordering, exiting. Use pose-to-pose for predictable, controllable list animations.
### 5. Follow Through & Overlapping Action
Stagger item entrance: first item leads, others follow (30-50ms delay). Content within items lags behind item container.
### 6. Ease In & Ease Out
Item enter: `ease-out`. Item exit: `ease-in`. Reorder: `ease-in-out`. Stagger easing should feel like a wave, not mechanical.
### 7. Arcs
Reordering items should follow curved paths, not straight lines. Adds personality and organic feel to grid shuffles.
### 8. Secondary Action
While item moves (primary), placeholder appears (secondary), other items shift (tertiary). Coordinate the ensemble.
### 9. Timing
- Stagger delay: 30-75ms per item
- Item enter: 200-300ms
- Item exit: 150-200ms
- Reorder: 250-350ms
- Filter shuffle: 300-400ms
- Max total stagger: 500-800ms
### 10. Exaggeration
Dramatic filter transitions can scale items to 0 before removing. New items can overshoot position slightly. Make sorting visible.
### 11. Solid Drawing
Maintain consistent spacing during animations. Grid gaps should stay uniform. Item proportions should remain stable during transforms.
### 12. Appeal
Smooth list animations feel premium. Jarring reorders feel broken. Staggered entrances guide attention naturally. Users notice quality.
## CSS Implementation
```css
.list-item {
animation: itemEnter 250ms ease-out backwards;
}
.list-item:nth-child(1) { animation-delay: 0ms; }
.list-item:nth-child(2) { animation-delay: 50ms; }
.list-item:nth-child(3) { animation-delay: 100ms; }
/* continue pattern */
@keyframes itemEnter {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.grid-item {
transition: transform 300ms ease-in-out,
opacity 200ms ease-out;
}
```
## Key Properties
- `transform`: translate, scale
- `opacity`: enter/exit
- `animation-delay`: stagger
- `grid-template`: layout shifts
- `order`: reordering
© dylantarre · MIT · dylantarre/animation-principles