Skip to main content
skill CX Codex

makepad-2.0-animation — Claude Code skill: usage & setup

Guides coding agents on building transitions, hover states, and loops in Makepad 2.0. Useful for Rust UI styling with shader variables.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add ZhangHanDong/makepad-skills --skill makepad-2.0-animation -a claude-code
Open on GitHub

What makepad-2.0-animation does

This skill equips your coding agent with syntax and architectural patterns for the Makepad 2.0 Animator subsystem. It focuses on driving instance() shader variables across designated tracks, such as hover, focus, and time. Playback modes cover forward transitions, instant snaps, and repeating loops.

The guide outlines state transition definitions, target property assignments, and keyframed changes using timeline(). It also details easing options from Linear to InBounce. Adding an animator directly to unsupported components like Label or Slider produces no error and fails silently. Because of this, the skill prompts the agent to place those widgets inside a View parent.

Only instance() values are animatable. Variables marked as uniform() do not work with this system. Interactive surfaces with colored backgrounds also require new_batch: true.

What it helps with

  • build hover state transitions using Forward and Snap playback
  • create continuous rotation loops for loading indicators
  • animate unsupported widgets by nesting them inside a View
  • interpolate shader colors using instance variables and easing curves

Example prompts for the agent

  • Add a hover color transition to this Makepad 2.0 RoundedView button
  • Create an infinite loading spinner using Makepad Animator and Loop
  • How do I animate a Label widget in Makepad 2.0 without errors?

How to install makepad-2.0-animation

1Skills CLI (Vercel)

npx skills add ZhangHanDong/makepad-skills --skill makepad-2.0-animation -a claude-code

2Manually: put the files in place

~/.claude/skills/makepad-2.0-animation/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/makepad-2.0-animation/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about makepad-2.0-animation

How to install makepad-2.0-animation in Claude Code?

Run npx skills add ZhangHanDong/makepad-skills --skill makepad-2.0-animation -a claude-code in your terminal.

What does makepad-2.0-animation do?

It provides prompt rules and code templates for the Makepad 2.0 Animator subsystem, covering easing curves, state tracks, and shader variable animations.

Why does my Makepad widget ignore the animator block?

Several UI components, including Label and Slider, lack native Animator support. Makepad ignores the block without throwing an error, so you must wrap the component in a View.

Similar skills

All skills for Frontend and UI →

From the same set14

makepad-2.0-shaders This skill guides agents writing Makepad 2.0 shaders, from SDF2D shapes to custom widget drawing. Use it when shader work needs to follow Makepad’s GPU conventions. CX Codex +1 ★ 751repo stars makepad-2.0-performance A skill for tuning and debugging Makepad 2.0: draw batching, Splash VM garbage collection and texture caching explained. CX Codex +1 ★ 751repo stars makepad-2.0-migration Guides coding assistants through upgrading Rust UI code from Makepad 1.x to 2.0. Helps rewrite layout macros and lifecycle hooks. CX Codex +1 ★ 751repo stars makepad-2.0-layout This skill guides an agent through sizing widgets and arranging children in Makepad 2.0. Use it when building a screen or tracing an invisible container. CX Codex +1 ★ 751repo stars makepad-2.0-events The makepad-2.0-events skill gives your agent a map of event and action handling in Makepad 2.0, from Splash on_click to the Rust MatchEvent trait. CX Codex +1 ★ 751repo stars makepad-2.0-dsl Teaches agents Makepad 2.0 DSL syntax, Splash runtime scripts, property merging, and Rust widget registration. CX Codex +1 ★ 751repo stars makepad-2.0-design-judgment Entry skill for Makepad 2.0 architecture: routes syntax questions to specialized skills and anchors design decisions on data flow, component split, and GPU rendering. CX Codex +1 ★ 751repo stars makepad-2.0-app-structure Walks you through the skeleton of a Makepad 2.0 app: Rust entry point, Splash markup, event handling and hot reload. CX Codex +1 ★ 751repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor