From mblode-agent-skills
Creates, reviews, and debugs UI motion and animation implementations. Covers springs, gestures, drag interactions, clip-path reveals, easing, timing, and animation review. Use when designing, implementing, or reviewing motion, CSS transitions, keyframes, framer-motion, spring animations, asking "add animations to", "make this feel smooth", "review my animations", "should this animate", or "add a swipe gesture"
npx claudepluginhub joshuarweaver/cascade-code-general-misc-4 --plugin mblode-agent-skillsThis skill uses the workspace's default tool permissions.
| File | Read when |
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
| File | Read when |
|---|---|
| references/decision-framework.md | Default: animation decisions, easing, and duration |
| references/spring-animations.md | Using spring physics, framer-motion useSpring, configuring spring params |
| references/component-patterns.md | Building buttons, popovers, tooltips, drawers, modals, toasts with animation |
| references/clip-path-techniques.md | Using clip-path for reveals, tabs, hold-to-delete, comparison sliders |
| references/gesture-drag.md | Implementing drag, swipe-to-dismiss, momentum, pointer capture |
| references/performance-deep-dive.md | Debugging jank, CSS vs JS, WAAPI, CSS variables trap, Framer Motion caveats |
| references/review-format.md | Reviewing animation code — Before/After/Why table and issue checklist |
| references/contextual-animations.md | Implementing contextual icon swaps, word-level stagger entrances, or fixed-offset exit animations |
@starting-style for DOM entry animations; fall back to data-mounted.filter: blur(2px) can hide rough crossfades.transform and opacity only.color, background-color, and opacity are acceptable.width, height, top, left); never use transition: all.filter animation for core interactions; keep blur <= 20px if unavoidable.<g> wrapper with transform-box: fill-box; transform-origin: center.[data-theme-switching] * { transition: none !important }).| Element | Duration | Easing |
|---|---|---|
| Button press feedback | 100–160ms | cubic-bezier(0.22, 1, 0.36, 1) |
| Tooltips, small popovers | 125–200ms | ease-out or enter curve |
| Dropdowns, selects | 150–250ms | cubic-bezier(0.22, 1, 0.36, 1) |
| Modals, drawers | 200–350ms | cubic-bezier(0.22, 1, 0.36, 1) |
| Move/slide on screen | 200–300ms | cubic-bezier(0.25, 1, 0.5, 1) |
| Simple hover (colour/opacity) | 200ms | ease |
| Illustrative/marketing | Up to 1000ms | Spring or custom |
Named curves
cubic-bezier(0.22, 1, 0.36, 1) — entrances and transform-based hovercubic-bezier(0.25, 1, 0.5, 1) — slides, drawers, panelscubic-bezier(0.32, 0.72, 0, 1)Avoid ease-in for UI. Prefer custom curves from easing.dev.
transform-origin at the trigger point for popovers; keep center for modals.scale(0.85–0.9). Never scale(0).@media (hover: hover) and (pointer: fine) to avoid false positives on touch.transform and opacity — these skip layout and paint.IntersectionObserver.will-change only during heavy motion and only for transform/opacity — remove after.x/y values are the normal choice for axis-based movement and drag. Use full transform strings when you need one transform owner for combined transforms or interop.transition: all — triggers layout recalc and animates unintended properties.width, height, top, left) for interactive feedback.ease-in for UI entrances — feels sluggish.scale(0) — nothing in the real world appears from nothing. Use scale(0.85–0.95).will-change — toggle it only during heavy motion.x/y props with a handwritten transform string on the same element.Copy and track this checklist:
Animation progress:
- [ ] Step 1: Decide whether the interaction should animate
- [ ] Step 2: Choose purpose, easing, and duration
- [ ] Step 3: Pick the implementation style
- [ ] Step 4: Load the relevant component or technique reference
- [ ] Step 5: Validate timing, interruption, and device behavior
width, height, top, left).will-change is toggled only during animation, not permanently set.