motion-craft
/motion-craft
Dodaje animacje interfejsu z rozwagą: najpierw ocenia, czy animować, potem dobiera właściwości, czas i łagodzenie, z obsługą redukcji ruchu.
- Autor
- tansuasici ↗
- Repozytorium
- claude-design-kit ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 11.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 11.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Dodaje animacje interfejsu z rozwagą: najpierw ocenia, czy animować, potem dobiera właściwości, czas i łagodzenie, z obsługą redukcji ruchu.
Wyzwalacze z opisu
Oryginalny opis (EN)
Add or change UI animation the disciplined way. Decide first whether it should animate at all (frequency gate), name its purpose, pick the cheapest tool, then the right properties, easing, duration and origin, and ship reduced-motion and hover gating with it. Use when asked to animate, add transitions, or make something "feel smoother".
Jak działa
- Core Rule
- Steps
- Output
- Never
Podgląd SKILL.md
--- name: motion-craft description: Add or change UI animation the disciplined way. Decide first whether it should animate at all (frequency gate), name its purpose, pick the cheapest tool, then the right properties, easing, duration and origin, and ship reduced-motion and hover gating with it. Use when asked to animate, add transitions, or make something "feel smoother". user-invocable: true --- # Motion Craft ## Core Rule **The best animation is often none.** Before writing motion code, answer two questions: *how often will people see this?* and *what is it for?* If it's seen 100+ times a day, or you can't name a purpose, don't animate it. Writing zero lines of motion code is a valid result. Values: `agent_docs/motion.md`. ## Steps 1. **Frequency gate.** 100+/day or keyboard-initiated → none. Tens/day → barely there. Occasional → standard. Rare → delight allowed. 2. **Name the purpose.** Feedback · spatial consistency · state indication · preventing a jarring change · explanation · delight (rare only). Write it in a code comment if it's not obvious. 3. **Check the direction.** `DESIGN_MAP.md → Character`. A dashboard stays crisp; a playful product can be a little bouncier. Use the map's motion curve if one is set. 4. **Cheapest tool.** CSS transition → `@starting-style` → CSS animation → WAAPI → Motion/Framer (springs, layout, exit, gestures). Use the project's existing animation library if there is one; ask before adding one. 5. **Build it right.** - `transform` and `opacity` only. No `transition: all`. - Enter with ease-out `cubic-bezier(0.23, 1, 0.32, 1)`. Move on screen with ease-in-out. Never use ease-in on UI. - Durations: press 100–160ms · tooltip 125–200ms · dropdown 150–250ms · modal/drawer 200–300ms. UI stays under 300ms unless there's a stated reason. - Start from `scale(0.95–0.97)` plus `opacity: 0`, never `scale(0)`. Popovers use `transform-origin` at the trigger; modals stay centered. - Use transitions (which retarget) for anything that can fire twice a second. Keyframes are for predetermined sequences only. - Stagger groups at 30–60ms, ~6 items max. 6. **Ship the guards with it.** - `@media (prefers-reduced-motion: reduce)`: keep opacity and color, drop movement. - `@media (hover: hover) and (pointer: fine)` around hover motion. 7. **Look at it.** If you can, record or step through it frame by frame. If you can't, say the timing is unverified. ## Output For each animation you add: the element, frequency tier, purpose, properties, duration and curve, and how reduced motion is handled. One line each. ## Never - Animate keyboard shortcuts, the command palette, typing, or list navigation. - Add `animate-pulse`/`animate-ping` to things that aren't live. - Animate `width`, `height`, `top`, `left`, `margin` or `padding` (`height` on an accordion is the one tolerated exception). `.claude/hooks/motion-gate.sh` warns when an edited file adds motion without a reduced-motion guard or animates layout properties.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · tansuasici/claude-design-kit | 90 | MIT |
| j0hanz/j0hanz-marketplace | 100 | MIT |
| augchan42/inkstone | 100 | MIT |
| RajaskaJanuardani/motion-craft | 100 | MIT |
| fusengine/agents | 100 | MIT |
| imaimai17468/imaimai-front-templete | 95 | MIT |
| EliasOulkadi/shokunin | 95 | MIT |
| jhamidun/claude-code-config-pack | 90 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 2b31c2b454a3 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100motion
Rozstrzyga, czy element powinien się animować, i buduje lub przegląda ruch: cel, właściwości, easing, czas trwania, sprężyny, przerwania i reduced motion. - 100animate
Tworzy animację od zera: najpierw decyduje, czy w ogóle się ruszać, po co, czym, jakie właściwości, krzywą i czas trwania, a potem pisze kod. - 100interaction-physics
Projektuje i wdraża warstwę ruchu interfejsu: mikrointerakcje, przejścia, reakcje na hover i naciśnięcie oraz czas i easing animacji, jako działający CSS/JS z opisem animacji. - 100animate
Dodaje ruch do komponentu lub tworzy przejście: wybiera narzędzie, właściwości, krzywą i sposób przerywania animacji, a następnie ją wdraża. - 100animate
Buduje animację od zera, decydując po kolei, czy animować, w jakim celu, jakim narzędziem, z jaką krzywą, czasem i przerwaniem. - 92animate
Dodaje do interfejsu celowe animacje albo usuwa nadmierne, z uwzględnieniem MOTION_INTENSITY i stosu animacji projektu, np. przy zacinających się przejściach.