Skip to content

Animation & Motion

Motion Budget

Free

Set a budget for motion on one surface: what may move, for how long, and what must stay still.

Difficulty advanced
Version v1.1

Purpose

A premium pass for teams who want animation without a carnival.

Procedure

--- name: motion-budget description: Set a budget for motion on one surface: what may move, for how long, and what must stay still. ---

Motion Budget

Purpose

A premium pass for teams who want animation without a carnival.

Procedure

Inventory every animation on the surface (CSS, JS, libraries). Put each in one bucket:

  • Feedback: hover, press, focus. Cap at 200ms, opacity or color.
  • Structure: panel open, dialog, disclosure. Cap at 250ms, transform and opacity. Must have a reduced-motion instant path.
  • Orientation: a single progress or pending indicator. No looping decorative motion.
  • Forbidden on this surface: parallax, scroll hijacking, staggered list reveals, background video, bouncing icons, animated gradients.

Budget: at most one structural transition on screen at once. Feedback does not count against that cap.

Performance: no layout properties in the animation. No scroll listeners that set React state every frame. If a library was added for one fade, remove the library and use CSS.

Apply the budget to the files in scope. Delete motion that is over budget instead of "toning it down".

Report the inventory and what you removed. If the surface had no motion, say so and do not add any.

Example requests

1. Budget the shell

Request: Write a Motion Budget for the application shell and apply it. Expected: A short list of allowed transitions and the removal of anything else.

Dependencies

None. Work in the repository that is already open. Do not add packages unless the procedure names one.

Compatibility

This document follows the Agent Skills layout (a folder named motion-budget containing SKILL.md). Claude Code, Cursor, Codex, and Gemini CLI can load that file from the paths in the Skilling installation guide. GitHub Copilot does not load SKILL.md. Use the Copilot instructions copy, and narrow applyTo before you commit it.

Example prompts

Budget the shell

Write a Motion Budget for the application shell and apply it.

Expected: A short list of allowed transitions and the removal of anything else.

Choose the agent

This skill is installed for one agent at a time. Pick the section you are using.

Related

  • Motion Rules

    Add motion only to explain a change: 150–250ms, ease-out, and a reduced-motion path.

  • Scroll Restraint

    Use scroll-linked motion rarely, and never to hide content the reader needs.

  • Reduced Motion

    Audit animations and provide an equivalent instant state when the user asks for less motion.

Reviews

No reviews yet.

    Sign in to review.

    Report a problem

    Inaccurate steps, an unsafe instruction, or a licensing concern.

    Sign in to report.