idorgham/gateflow/framer-motion

Claude Code and agent skill by idorgham/gateflow

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Specialized workflows and patterns for framer-motion.

Install

npx vskill@latest install idorgham/gateflow/framer-motion

SKILL.md

The same SKILL.md was published earlier as idorgham/gateflow/framer-motion.

SKILL: Framer Motion Layout & Transitions

Purpose

Enforce premium, purposeful layout transitions and shared element animations using Framer Motion for the GateFlow v9.0 "Command" redesign.

Core Principles

  1. Layout Persistence: Use layout and layoutId to morph components (e.g., small card → large modal) without jitter.
  2. Graceful Entry/Exit: Every dynamic component must use AnimatePresence.
  3. Physics Over Easing: Prioritize spring physics for a more natural, responsive feel.

Implementation Rules

  • Standard Springs:
  • Smooth: stiffness: 100, damping: 20 (Default).
  • Snappy: stiffness: 300, damping: 30 (Buttons, small UI shifts).
  • Layout Morphing: Match layoutId across source and destination components.
  • Dynamic Mounting: Use initial={{ opacity: 0, y: 10 }} to prevent "jumping" content.

Anti-Patterns

  • Using CSS transitions for complex layout shifts (leads to layout thrashing).
  • Over-animating everything; only animate elements that change context.
  • Using duration based transitions for structural UI (feels sluggish).

Code Examples

Shared Element Transition (LayoutId)
tsx
import { motion } from 'framer-motion';
const Card = ({ id, isOpen, toggle }) => (
<motion.div
layoutId={`card-${id}`}
onClick={toggle}
className="bg-neutral p-300 rounded-medium"
>
<motion.h3 layout="position">Mission Data</motion.h3>
{isOpen && (
<motion.div
initial={{ opacity: 0 }}
animate={{ opacity: 1 }}
className="mt-200"
>
Deep operational details...
</motion.div>
)}
</motion.div>
);
AnimatePresence List
tsx
<AnimatePresence mode="popLayout">
{items.map((item) => (
<motion.li
key={item.id}
layout
initial={{ scale: 0.8, opacity: 0 }}
animate={{ scale: 1, opacity: 1 }}
exit={{ scale: 0.8, opacity: 0 }}
transition={{ type: 'spring' }}
>
{item.name}
</motion.li>
))}
</AnimatePresence>

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/idorgham/gateflow/framer-motion/badge)](https://verified-skill.com/skills/idorgham/gateflow/framer-motion)

Something wrong with this skill or its page? Tell us.