本文へ移動
cccskills
無料GitHub で公開

animation-systems

Use when designing or implementing product-grade web motion like Stripe, Linear, Apple, and Vercel. Covers motion principles, easing/duration defaults, choreography patterns, scroll/hover interactions, performance, accessibility (reduced motion), and implementation guidance.

インストール方法を見る

含まれるファイル(4)

  • SKILL.md5.1 KB
  • demo/index.html16.1 KB
  • demo/preview.jpg63.8 KB
  • demo/PROMPT.md1.9 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Animation Systems (Stripe × Linear × Apple × Vercel)

This skill helps you ship tasteful, product-grade motion. Not “more animation.” Better animation: clarity, hierarchy, feedback, and delight—without jank.


The goals (why motion exists)

Use animation to:

  1. Explain hierarchy (what matters)
  2. Confirm action (feedback)
  3. Guide attention (where to look next)
  4. Maintain continuity (spatial relationships)
  5. Add polish (craft signals)

If an animation doesn’t serve one of these, delete it.


The Stripe/Linear/Apple/Vercel style (shared traits)

1) Restraint

  • Fewer animations, better chosen.
  • One strong hero moment; the rest is supporting motion.

2) Clear choreography

  • Primary element moves first.
  • Secondary elements follow with small stagger.
  • Motion establishes a “reading order.”

3) Physical but not cartoony

  • Use easing that feels human (soft acceleration + gentle settle).
  • Avoid bouncy defaults for serious product UI.

4) Texture + depth (subtle)

  • Small parallax, soft shadows, blur fades, light beams.
  • Avoid heavy 3D unless it’s the hero.

Motion primitives (build these first)

Think in primitives you can reuse everywhere.

A) Fade + rise (default entrance)

Use for: text blocks, cards, modals.

  • Opacity: 0 → 1
  • Y: 12–24px → 0
  • Duration: 300–700ms depending on size

B) Scale + fade (micro emphasis)

Use for: popovers, toasts, selected states.

  • Scale: 0.98 → 1
  • Opacity: 0 → 1

C) Slide (navigation)

Use for: drawers, step transitions.

  • Use transform translate; avoid animating layout.

D) Morph / shared element (high craft)

Use for: tab indicators, expanding cards.

  • Requires consistent geometry + measured layout.

Defaults (practical numbers)

Use these as a starting system.

Durations (rule of thumb)

  • Micro (hover/press): 120–200ms
  • UI state change (toggle, select): 180–260ms
  • Small transitions (popover, toast): 220–320ms
  • Page section entrance: 400–800ms
  • Hero sequences: 800–1600ms (with internal beats)

Easing (safe set)

Pick a small set and reuse.

  • UI: ease-out with gentle settle
  • Emphasis: slightly stronger ease
  • Entering: ease-out
  • Exiting: ease-in (faster)

If implementing:

  • Use your animation library’s “power2.out / expo.out” equivalents.
  • Avoid elastic/bounce unless brand is playful.

Stagger

  • 40–90ms per element (text lines/cards)
  • Use smaller stagger on mobile

Choreography patterns

1) “Hero → supporting elements”

  • Hero visual animates in first.
  • Headline appears next.
  • CTA appears last.

2) “Section reveal on scroll”

  • Trigger when section is ~20–30% visible.
  • Animate once (don’t replay on tiny scroll).

3) “Hover: lift + glow”

  • Y: -2 to -6px
  • Shadow: subtle increase
  • Optional: border/gradient glow

4) “Focus ring + micro shift”

  • For form fields: focus ring + tiny scale/translate for responsiveness.

Performance rules (non‑negotiable)

Animate the right properties

Prefer:

  • transform (translate/scale/rotate)
  • opacity

Avoid (unless necessary):

  • width/height/top/left
  • expensive filters on large areas

Respect the GPU

  • Clamp device pixel ratio in heavy canvases (1–2)
  • Keep blur subtle and small
  • Avoid many simultaneous animated shadows

Reduce reflows

  • Don’t measure layout every frame.
  • For scroll effects, use a library that batches reads/writes.

Accessibility: Reduced Motion

Always support prefers-reduced-motion.

Policy:

  • Keep content visible.
  • Replace motion with instant state + subtle opacity.
  • Disable scroll-scrub/pin.

Ask the user:

  • “Do you want a reduced-motion mode that disables all non-essential motion?”

Implementation guidance (library-agnostic)

For simple sites

  • CSS transitions for small hovers/toggles.
  • Use a single motion library (GSAP or Framer Motion) for complex sequences.

For product sites

  • Create a motion token set:
    • durations
    • easing curves
    • standard offsets (8/16/24px)
    • stagger defaults

For hero moments

  • Use timelines (or keyframes) with labeled beats.
  • Lock camera/scene movement first, then layer text.

What to ask the user

  • What’s the brand lane: Stripe (polished), Linear (minimal), Apple (cinematic), Vercel (developer/product)?
  • What are the key moments? (hero, scroll story, hover cards, nav transitions)
  • Any performance constraints? (mobile, low-end devices)
  • Reduced motion requirements?

Output format (when asked to “add Stripe/Linear-style animation”)

Return:

  1. Motion goals (what we’re trying to communicate)
  2. Motion tokens (durations + easing + offsets)
  3. A choreography plan (timeline beats)
  4. Implementation notes (perf + reduced motion)
  5. A small code recipe (CSS or GSAP/Framer depending on stack)

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Build convincing woven cloth in Three.js, with a thread-level weave normal map, sheen and anisotropic highlights, folds that never stretch the texture, hems with thickness, stitches, seams, frayed edges, fold occlusion, dye and wear variation, and light passing through thin fabric. Use for linen, silk, wool, canvas, curtains, banners, cloaks, tablecloths, tapestries or any 3D drape that currently looks like a plastic sheet, a stretched texture, or a flat coloured plane.

日本語の概要は準備中です。原文の説明を表示しています。

MengTo/Skills6,7242026年10月6日 更新

Build recognizable falling leaves in world space using instanced geometry, independent tumble, coupled sideways drift, shared wind, scene occlusion, and camera-aware recycling. Use for 3D autumn leaves or drifting foliage in Three.js and similar scenes; use falling-leaves for a 2D canvas overlay.

日本語の概要は準備中です。原文の説明を表示しています。

MengTo/Skills6,7242026年10月6日 更新

Add coordinated spring, summer, fall, and winter states to a 3D scene, blending foliage, sunlight, sky, ground materials, snow, and particles without rebuilding the world. Use for seasonal controls, architectural walkthroughs, and outdoor scenes with four-season transitions.

日本語の概要は準備中です。原文の説明を表示しています。

MengTo/Skills6,7242026年10月6日 更新

Create or integrate highly detailed 3D models with smooth silhouettes, shaped surfaces, believable bevels, and close-up geometry, then prepare suitable runtime LODs and loading. Use when a user requests high polygon counts, ultra-realistic models, detailed architectural assets, or removal of visibly faceted geometry.

日本語の概要は準備中です。原文の説明を表示しています。

MengTo/Skills6,7242026年10月6日 更新

Build sharp, physically coherent high-resolution materials for 3D rendering with appropriate PBR maps, texel density, UV direction, mipmaps, anisotropic filtering, and progressive asset delivery. Use for detailed wood, stone, fabric, foliage, and architectural close-ups without excessive download or GPU memory costs.

日本語の概要は準備中です。原文の説明を表示しています。

MengTo/Skills6,7242026年10月6日 更新

Build hyperrealistic PBR metal in Three.js: steel, brass, gold, copper and iron as true conductors (metalness 1, measured F0 tint, no albedo) with roughness-varied finishes (polished, brushed anisotropic, aged with patina and worn edges) lit by a dark HDR studio of real bright window cards prefiltered with PMREM. Use when metal looks like grey plastic, a dull blur, or a black hole; when blades, tools, rings, ingots, hardware or product metal need reflections with edges and structure; or when a finish needs scratches, streaks, fingerprints and bevels that catch light.

日本語の概要は準備中です。原文の説明を表示しています。

MengTo/Skills6,7242026年10月6日 更新

MengTo のスキルをすべて見る

このスキルの問題を報告する