Motion design coder

From 45ck/content-machine · View interactive version

Motion design coder is an AI agent skill from the GitHub repository 45ck/content-machine. Use when generating or improving SVG, HTML, CSS, React, or Remotion animations for content-machine videos so motion is frame-driven, smooth, readable, performant, and safe for captions/platform chrome.

How to use this skill

Skill file

Motion Design Coder

Use When

animation.

icon motion, transitions, or generated visual systems.

workflow instead of generic "make it premium" styling.

Core Rule

Plan motion before code. Every moving element needs a beat, timing window,

purpose, safe-zone check, and review frame.

For Remotion output, treat every component as:

frame number + input props -> one deterministic image

If an animation depends on browser time, render order, Math.random(),

unloaded assets, or CSS animation clocks, it is not ready for a rendered

short.

Workflow

  1. Identify the surface:
  1. Write a motion brief:
  1. Use existing repo tokens before inventing new values:
  1. For Remotion, use frame-driven primitives. Read

remotion-patterns.md.

  1. For SVG, HTML, and CSS, use transform/opacity-first patterns. Read

svg-html-css-patterns.md.

  1. If external inspiration or component sources are needed, use

CODE0 first

and rebuild original, deterministic motion rather than copying

unclear assets.

For concrete motifs, read

source-inspired-patterns.md.

  1. When prompting Claude Code, Codex CLI, or another coding agent, use

agent-prompting-patterns.md

so the agent produces a motion brief, code constraints, and review

frames instead of generic animation styling.

  1. Before approval, apply

motion-quality-gates.md.

  1. If rendering a full short, hand off to

CODE0 and preserve the motion

plan for publish review.

Output Expectations

When advising, return:

When coding, produce:

Good Defaults

Hard Blocks

transform can do the same job.

loop is intentionally deterministic at every rendered frame.

renders without recording a performance reason.

seeded values.

moving, cards and background text should mostly hold.

Artifact Targets

Use

assets/motion-token-template.json

as a seed when an implementation needs a concrete token shape.

Validation Checklist

interpolate, spring, or standard transition primitives.

states.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.