AGENT SKILL

motion-architect

Architect-level motion design — purpose-driven transitions with a shared timing and easing scale, choreography and state-change continuity, reduced-motion policy, and the performance rules (transform/opacity, no layout thrash) that keep animation from costing frames. Use when adding or auditing UI motion.

License 许可
MIT
最近更新
2026-11-13
Stars
★ 0
Forks
0

01 前言 Front Matter

name
motion-architect
license
MIT
metadata
{ "crusor-path": "website-architect/frontend-development-architect/motion-architect", "crusor-domain": "website-architect", "crusor-origin": "original", "crusor-sources": "web.dev/animations; developer.mozilla.org/CSS/transitions; w3.org/WAI/WCAG22 (2.3.3)", "crusor-triggers": "motion, animation, transition, transitions, page transition, framer motion, easing, view transitions, micro-interactions, prefers-reduced-motion", "crusor-verified-on": "2026-10-30" }
description
Architect-level motion design — purpose-driven transitions with a shared timing and easing scale, choreography and state-change continuity, reduced-motion policy, and the performance rules (transform/opacity, no layout thrash) that keep animation from costing frames. Use when adding or auditing UI motion.
compatibility
Framework-agnostic; CSS transitions + View Transitions / Framer Motion / GSAP

03 SKILL.md 正文

Motion Architect

Motion is communication: it explains where something came from, what changed, and what needs attention. If it explains nothing, it is delay.

When to use

  • Adding transitions, page changes, loading and success states.
  • The interface feels janky, sluggish, or over-animated.
  • Choosing between CSS, View Transitions, and an animation library.

When NOT to use

  • Decorative 3D/immersive scenes (see threejs-architect).
  • Motion that only exists because a template had it.

Decision 1 — Purpose or nothing

Purpose Motion
continuity (element moves/expands) shared-element / layout transition
causality (menu opened from button) origin-aware scale+fade
feedback (pressed, saved) 100–150 ms micro-transition
attention (error) small nudge, once — never a loop
progress determinate bar; indeterminate only when unknown
  • Every animation names its purpose. "It looked nice" is not a purpose.
  • One hero moment per view; the rest stays quiet.

Decision 2 — A scale, not ad-hoc numbers

  • Durations: 100 ms (micro), 200 ms (standard), 300 ms (large), 400 ms max for UI.
  • Easing: one standard ease-out, one ease-in for exits; no bounce except playful brands that own it.
  • Tokens (--motion-fast, --ease-standard), used by every component — motion consistency is what makes a product feel designed.

Decision 3 — Choreography

  • Enter: fade + small translate (8–16 px), children stagger 20–40 ms.
  • Exit: faster than enter, no stagger delay.
  • Lists: animate on insert/remove only; never re-animate the whole list on filter.
  • Layout change: animate position/size with a layout transition, not by measuring in JS each frame.

Decision 4 — Performance rules

  • Animate transform and opacity only. width, height, top, left trigger layout; box-shadow triggers paint.
  • will-change is a hint, not a fix; remove it after the animation.
  • Keep the main thread free: no JS animation loops competing with input (INP).
  • Off-screen animation pauses.

Decision 5 — Accessibility and restraint

  • prefers-reduced-motion: reduce removes movement but keeps state changes (instant or cross-fade); never disable feedback entirely.
  • No flashing above 3 Hz; no auto-playing looping motion.
  • Motion never blocks interaction: the UI is usable before the animation ends.

Failure modes at scale

  • 600 ms page transitions on every navigation — the app feels slow, because it is.
  • Animating height: auto → jank on every accordion open.
  • Motion that ignores prefers-reduced-motion (a WCAG failure).
  • Different easing per component → the product feels assembled, not designed.
  • Animations that delay the actual content by a second.

Verification receipts

  1. Duration/easing audit against the token scale.
  2. Performance panel: no layout/paint-bound animations, 60 fps maintained.
  3. Reduced-motion pass: content changes still visible and instant.
  4. Navigation timing: perceived transition under 300 ms.
  5. One documented list of intentional motion moments.

04 同仓库更多 Skills

SriAkhilSJ
SriAkhilSJ/PulseAIRepo

interaction-patterns-architect

Architect-level interaction design in code — choosing established patterns over invented ones, feedback and latency behaviour, destructive-action safeguards, navigation and overlay conventions, and the state model behind every interactive surface. Use when a screen has to behave, not just look.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

design-system-ops-architect

Architect-level operation of a design system in code — token pipelines and versioning, component API and variant policy, the catalogue as the contract, adoption metrics, and the governance that stops a system from forking into three. Use when a component library must survive several teams.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

design-handoff-architect

Architect-level design handoff — what must be specified before implementation starts, tokens over raw values, responsive and content-limit contracts, state matrices, and the review loop that catches drift between design and code. Use when a design is about to become code.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

content-microcopy-architect

Architect-level UI content — where strings live, voice and terminology consistency, error and empty-state copy as part of the interface, translation-ready authoring, and the content model a product needs before it multiplies screens. Use when the words in the interface matter as much as the pixels.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

ui-ux-implementation-architect

Architect-level direction for turning a design into working UI — the handoff contract, component ownership versus screen-level layout, interaction and state conventions, design QA gates, and the review habits that keep an implementation faithful without frozen pixels. Use before any specific UI implementation skill.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

test-strategy-architect

Architect-level test strategy — allocating assertions across unit, integration, contract and end-to-end layers, designing for testability through dependency boundaries, fixture and data strategy, and the flake and coverage policies that keep a suite trustworthy. Use when defining how a codebase is tested.

★ 0