Agent skill Web motion
Animation Designer
Design, implement or review motion on the web.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add daffy0208/ai-dev-standards --skill animation-designer --agent claude-code --yesCheck this file in your project.claude/skills/animation-designer/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add daffy0208/ai-dev-standards --skill animation-designerSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Use an existing React project with a compatible Motion or Framer Motion package. Match the import path to the installed package.
View operation manualWhat this skill helps with
- Design, implement or review motion on the web.
Good for
- Web motion and transitions
- Publisher
- daffy0208
- Controls
- variants · staggerChildren: 0.1 · y: 20 → 0 · initial={false}
- Result
- The list reveals in order once and remains a normal readable list in reduced motion.
- Skill name
animation-designer- Repository
daffy0208/ai-dev-standards
Common pitfall
Avoid this prompt
Hide the initial agenda and replay every row whenever unrelated state changes.
A staged entrance adds hierarchy at a discrete reveal; repeated interruptions delay reading.
Use these steps
- Inspect the project and source
- Apply the motion recipe
- Verify behavior and fallback
Project walkthrough
Introduce a short agenda list with a restrained hierarchy when the user explicitly opens it.
Introduce a short agenda list with a restrained hierarchy when the user explicitly opens it.
Inspect the project and source
Use an existing React project with a compatible Motion or Framer Motion package. Match the import path to the installed package.
Prompt · Step 1Use Animation Designer on [my sample-check agenda]. Read Pattern 2 in SKILL.md. Identify the actual reveal action, stable row IDs, and visible default state. Pick three short rows and keep real list semantics.Apply the motion recipe
Introduce a short agenda list with a restrained hierarchy when the user explicitly opens it.
Prompt · Step 2On first explicit reveal use a motion.ul with container variants and a 0.1s child stagger. Give each motion.li a stable key and animate opacity and y from 20 to 0. Keep already visible content undisturbed on unrelated rerenders. In reduced motion start in the final state and omit the stagger.Verify behavior and fallback
The list reveals in order once and remains a normal readable list in reduced motion.
- The list reveals in order once and remains a normal readable list in reduced motion.
Prompt · Step 3Open with the keyboard, check successive item timing, then change unrelated state and confirm the rows do not replay. Reload with reduced motion and verify all three items are visible at once.
Implementation lookup
Compare the implementation with the recipe and its expected outcome.
Inspect the implementation controlsVerify
- Command or reference
variants · staggerChildren: 0.1 · y: 20 → 0 · initial={false}- Examples
- The list reveals in order once and remains a normal readable list in reduced motion.
FAQ
What should I prepare first?
Use an existing React project with a compatible Motion or Framer Motion package. Match the import path to the installed package.
How do I verify the result?
The list reveals in order once and remains a normal readable list in reduced motion.