All skills
simota avatar

/flow

@e307415
by shingo imotasimota/agent-skills85 stars
15

Implementing CSS/JS animations for hover effects, loading states, modal transitions, and gesture interactions. Use for meaningful motion, interaction feedback, or performance-safe animation.

Use this Skill: https://skilld.dev/gh/simota/agent-skills/flow

This session only. Nothing lands on disk.

referencemotion-system-design-patterns.md

≈722 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Motion System Design Patterns

Purpose: Use this file when you are designing, auditing, or expanding a reusable motion system.

Contents

  • MS-01 to MS-06
  • Scale design
  • Catalog rules
  • Audit targets
  • Stagger and choreography guidance

Core Patterns

ID Rule Practical Standard
MS-01 Token-driven motion Tokenize all duration and easing values
MS-02 Discrete scale Use 5-7 duration steps, not continuous 100/150/200/250... increments
MS-03 Usage binding Every token has a named use case
MS-04 Reduced-motion integrated Token system includes reduced-motion overrides
MS-05 Cataloged patterns Every shared animation has a documented entry
MS-06 Auditable system Measure token usage, reduced-motion coverage, and GPU-safe usage

Recommended Scale

Token Tier Duration Common Use
t1 50ms instant micro-feedback
t2 100ms press, checkbox, toggle
t3 200ms default fades and dropdowns
t4 300ms modal, panel, card expansion
t5 400ms page transition or complex sequence

Design-System Comparison

System Typical Scale
Material 50/100/150/200/250/300/350/400/500ms
IBM Carbon 70/110/150/240/400ms
Salesforce 100/200/400ms
Ant Design 100/200/300ms

Use a simple 5-step scale unless the product clearly benefits from a more expressive model.

Catalog Rules

Document shared motion by:

  • Name
  • Category (entry, exit, micro, state, scroll, page, gesture)
  • Duration token
  • Easing token
  • Animated properties
  • Trigger
  • Reduced-motion fallback
  • Common surfaces

Audit Targets

Metric Target
Token coverage 95%+
Reduced-motion coverage 95%+
GPU-safe property usage 95%+

Priority order:

  • P0: accessibility violations
  • P1: performance problems
  • P2: hard-coded duration or easing
  • P3: design consistency improvements

Stagger and Choreography

  • Keep stagger intervals in the 30-80ms range.
  • Keep total stagger under 500ms.
  • Sequence multi-part surfaces by role, not by spectacle.
  • Typical modal choreography:
    • overlay 150ms
    • content 200ms with 50ms delay
    • title 150ms with 150ms delay
    • actions 100ms with 200ms delay

Motion Budget Categories

Each view should use at most 2-3 motion types (Hero Entrance / Scroll-Linked / Interaction Feedback). Full slot system, durations, budget rules, and the per-view audit template: reference/intentional-motion-framework.md.

Quality Gate

  • No hard-coded motion values in shared surfaces
  • No uncataloged reusable animation
  • No missing reduced-motion behavior
  • No layout-triggering default pattern
  • 60fps expectation remains intact

Source: SKILL.md on GitHub

No alerts13d5 checks · Risk SAFE
  • Gen Agent Trust Hub13d

    The skill is a specialized motion implementation assistant focused on CSS and JavaScript animations. It follows industry best practices for performance, accessibility, and modern web standards. No malicious patterns, obfuscation, or unauthorized data access were detected. All external references are to trusted development tools and documentation.

  • Socket13d

    No alerts

  • Snyk13d

    Risk: LOW · No issues

  • Runlayer6mo

    10 files scanned · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at e307415. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 2 weeks ago

README badge

README badge for simota/agent-skills/flow