MCPInstall

ss-motion

Apply a named StyleSeed motion from the five personality seeds or the keyword move library. Use when asked for a specific motion or a vibe word like "springy", "snappy", or "shimmer".

Installs
832
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/bitjaru/styleseed --skill ss-motion
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads ss-motion automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Before this workflow, follow the once-per-session update preflight.

Motion Seed Applier

Registry-first artifact boundary

When .styleseed/project.json and .styleseed/artifacts/index.json exist, resolve the requested artifact ID first, then read only .styleseed/bundles/<artifact-id>.md and .styleseed/manifests/<artifact-id>.json. Never fall back to the global legacy bundle for a registry project. Legacy projects may use .styleseed/effective-rules.md only when no registry exists.

When NOT to use

  • For general framer-motion docs or learning → use the framer-motion site
  • For non-React motion (CSS-only transitions, GSAP) — this skill targets motion.X JSX only
  • For full scroll-linked timelines or parallax — out of scope for this skill (it does per-component seeds/moves). Note these ARE allowed on a marketing/landing/brand page (DESIGN-LANGUAGE §43 Cinematic tier); just build them with a scroll library, not this skill. On app/data surfaces they stay banned.
  • For tweaking the existing FadeIn/FadeUp/Stagger wrappers — edit engine/components/ui/motion.tsx directly

Vibe → Seed mapping

Translate the user's prompt to one of the five seeds before applying. Use this lookup table from engine/motion/index.ts:

Words the user might saySeed
bouncy, springy, playful, energetic, aliveSpring
smooth, silky, fluid, elegant, composed, continuousSilk
snappy, quick, instant, decisive, sharp, preciseSnap
floaty, gentle, weightless, dreamy, ambient, driftingFloat
rhythmic, punchy, pulsing, heartbeat, beatPulse
"Toss style", "Arc style"Spring (per brand default)
"Stripe style", "Notion style"Silk
"Linear style", "Raycast style", "Vercel style"Snap

If the user says only a brand name, use that brand's default seed from BRAND_DEFAULT_SEED. If the user is explicit about a seed name (spring, silk, etc.), respect it verbatim.

Recommend mode — use-case → motion (when the user describes the moment, not the vibe)

If the user describes what the thing is ("a like button", "a modal", "the loading state", "items in a feed") rather than a feeling, recommend from the use-case map (MOTION_BY_USECASE in engine/motion/library.ts, exported from @engine/motion):

Use caseReach forWhy
Primary button / CTA pressspring · presstactile, confident — the press should "give"
Modal / dialog / sheet entersilk · entrancesmooth; never bounce serious/destructive content
Dropdown / popover / menusnap · entranceinstant, precise — frequent UI shouldn't wait
Toast / inline notificationspring · entrancesmall friendly arrival, non-blocking
List / feed items appearingstagger-cascadechoreograph order, gently
Feature / marketing card hovertilt-3ddepth/flair OK on content-light marketing
Dashboard / data card hoversnap · hovera subtle lift only — keep dense UI calm
Like / favorite / reactionlike-bursta celebratory one-shot; reward the tap
Live / online / recording dotpulse-beatlooping heartbeat = "alive"
Loading / skeletonshimmercalm directional progress
Success / confirmationpop-inpositive little "done"
Toggle / tab / segment switchtoggle-flipdistinctive, recognizable switch
Page / route transitionsilk · entrancesmooth, minimal, get out of the way
Number / balance / KPI / price revealnonedon't animate the payload — it must read instantly

Two anti-rules override the table (state them if you deviate):

  1. One seed per product. If the project already uses a seed, match it — don't introduce a second personality.
  2. Never delay the payload. Don't animate a balance, price, or search result into view; motion is for affordance, not content.

Named motion keywords (distinctive moves)

Seeds set a personality (how a fade/scale feels). The motion library in engine/motion/library.ts adds distinctive moves — a flip, a curtain wipe, a morph — each behind a unique keyword. Prefer a keyword when the user wants a specific, recognizable motion rather than a generic feel.

engine/motion/library.ts (exported as MOTION_LIBRARY / MOTION_BY_KEY from @engine/motion) is the single source of truth — every keyword carries its own runnable snippet. Pull the snippet from there; never hand-write the params.

KeywordMoveSay it when the user wants…
toggle-flip3D Y-axis card flipa switch/toggle to flip between two faces
toggle-slideslide-stack swapa value to slide out and the next to slide in
toggle-morphpill ⇄ circle morpha control to change shape on toggle
toggle-curtaintop→bottom clip-path wipea panel to reveal like a curtain
reveal-blurblur(12px)→0 focus-incontent to focus-pull into place
reveal-risemasked clip-path text risea headline/text to climb into view
reveal-unfoldscaleY from top edgean accordion/panel to unfold
pop-inspring overshoot from 0a badge/checkmark to pop in bouncily
press-squishscale-down + skewa button to feel jelly/tactile on tap
tap-rippleradial ripple from tapMaterial-style press feedback
pulse-beatlooping scale pulsea live/recording/heartbeat indicator
wigglequick horizontal shakeerror / invalid-input feedback
shimmerskeleton loading sweepa loading placeholder
stagger-cascadechildren fade-up in sequencea list to animate in one-by-one

Applying a keyword:

  1. Read the exact recipe from engine/motion/library.ts — find the entry whose key matches, copy its snippet verbatim (it is calibrated and runnable).
  2. Adapt only the element/content to the user's JSX; keep the transition values.
  3. If the keyword is stateful (toggles, ripple), wire the useState shown in the snippet. If it's a one-shot reveal, a key bump replays it.
  4. Tell the user the keyword you applied so they can reuse it elsewhere for consistency, and point them at /motion to preview/Copy others.

If the user describes a move but no exact keyword fits, fall back to a seed + context. If they say a keyword that doesn't exist, suggest the closest real one from the table — never invent a keyword.

Context detection

Infer one of the five contexts from the prompt:

  • "on hover" / "when hovered" → hover
  • "on press" / "on tap" / "on click" → press
  • "when it appears" / "on mount" / "entering" → entrance
  • "when it leaves" / "on close" / "exiting" → exit (requires <AnimatePresence>)
  • "when layout changes" / "FLIP" / "rearranging" → layout

If ambiguous, default to entrance. If multiple contexts are reasonable (e.g., a button needs both hover and press), apply both.

Application steps

Apply seed: $0 · Context: $1 · Target: $ARGUMENTS

  1. Read the target file at the path given (or, if no path was given, ask the user which file). Locate the JSX element the user is talking about — usually a <button>, <div>, <Card>, or similar.

  2. Confirm the import paths. The component file must be able to import:

    • motion (and AnimatePresence for exit) from "framer-motion"
    • the chosen seed from "@engine/motion" — in a project that doesn't use the @engine/* alias, use a relative path to engine/motion
  3. Replace the target tag with a <motion.X> and spread the seed's recipe:

    // hover example
    <motion.button {...spring.hover}>Save</motion.button>
    
    // press + hover combined
    <motion.button {...spring.press} {...spring.hover}>Save</motion.button>
    
    // entrance (mount)
    <motion.div {...silk.entrance}>...</motion.div>
    
    // exit (requires AnimatePresence wrapper somewhere up the tree)
    <AnimatePresence>
      {open && <motion.div {...silk.entrance} {...silk.exit} />}
    </AnimatePresence>
    
    // layout (FLIP)
    <motion.div {...snap.layout}>...</motion.div>
    
  4. Do NOT inline the params. The whole point of the seed is that the values come from one source. Never expand { type: "spring", stiffness: 300, damping: 18 } into the JSX — always spread the recipe.

  5. Respect prefers-reduced-motion in long-running surfaces. For one-off interactions (hover/press), framer-motion already throttles. For mount/exit/layout sequences in a long-lived page, import usePrefersReducedMotion and REDUCED_TRANSITION from @engine/motion and override the transition when reduced motion is on.

  6. Validate by re-reading the file and confirming the JSX still parses (matching brackets, motion tag closed, AnimatePresence in place if exit was used).

  7. Tell the user which seed and context you applied, and offer one related context they might want next ("Want press too so it feels clickable?").

Defaults if the user is vague

  • No file given → ask "which file?"
  • No vibe word → ask "any vibe word, brand, or seed name?"
  • Vibe is "natural" or "feel like a real app" → default to Silk (the safest of the five)
  • Element is a CTA button → also apply press

Forbidden

  • Do not invent new seed names. There are exactly five.
  • Do not edit engine/motion/seeds/*.ts from this skill — those are calibrated by hand. Add a new seed only via a separate, explicit ask.
  • Do not introduce a third-party animation lib (gsap, anime.js). StyleSeed targets framer-motion exclusively.
  • Do not add scroll-linked, parallax, or infinite animations via this skill — it does per-component seeds/moves. (Scroll-linked/parallax/3D ARE allowed on a marketing/landing/brand page per DESIGN-LANGUAGE §43 Cinematic tier — build those directly with a scroll lib; on app/data surfaces they stay forbidden.) Infinite loops remain banned everywhere except skeleton pulse.

FAQ

What does the ss-motion skill do?

Apply a named StyleSeed motion from the five personality seeds or the keyword move library. Use when asked for a specific motion or a vibe word like "springy", "snappy", or "shimmer".

How do I install ss-motion?

Run npx skills add https://github.com/bitjaru/styleseed --skill ss-motion in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/ss-motion/ (personal) or .claude/skills/ss-motion/ (project).

Which AI agents can use ss-motion?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is ss-motion safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains ss-motion?

It is published by bitjaru in bitjaru/styleseed. It has 832 recorded installs.

More from bitjaru/styleseed

View all →

ss-audit

bitjaru/styleseed

Audit screens for UX issues using Nielsen's heuristics and modern mobile UX best practices

Security864 installs

ss-review

bitjaru/styleseed

Review UI code for design system compliance, accessibility, and best practices

ss-setup

bitjaru/styleseed

Configure StyleSeed by selecting the output grammar, domain, page type, brand recipe, semantic palette recipe, optional aesthetic profile, and bounded brand tokens before scaffolding a first screen.

Marketing & SEO863 installs

ss-a11y

bitjaru/styleseed

Audit a component or page for accessibility issues and fix them

Frontend & Design862 installs

ss-lint

bitjaru/styleseed

Quick automated lint — detects common design system violations in seconds

ss-feedback

bitjaru/styleseed

Add appropriate user feedback states (loading, success, error, empty) to a component or page

Frontend & Design852 installs

Popular docs & writing skills

View category →

grill-with-docs

mattpocock/skills

A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.

Docs & Writing1.2M installs

lark-markdown

open.feishu.cn

飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。

Docs & Writing778.7K installs

writing-beats

mattpocock/skills

Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.

Docs & Writing490.7K installs

writing-shape

mattpocock/skills

Writing, exploit: shape raw material into an article, paragraph by paragraph.

Docs & Writing490.2K installs

writing-fragments

mattpocock/skills

Writing, explore: mine raw fragments, no structure yet.

Docs & Writing489.6K installs

writing-for-agents

mattpocock/skills

Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.

Docs & Writing479.3K installs