Fixing Motion Performance logo

Fixing Motion Performance

Community
hsynozdamar-byte
fixing-motion-performance

Audit and fix animation performance: layout thrashing, compositor properties, scroll-linked motion, blur. Use when animations stutter or jank.

Overview

Publisherhsynozdamar-byte
Repositoryclaude-skills-edited
Skill namefixing-motion-performance
Stars
63
Forks
1
Bundled files
2
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by hsynozdamar-byte on GitHub. Read the source before you install it.

Installation

Install the Fixing Motion Performance AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/hsynozdamar-byte/claude-skills-edited/tree/main/skills/fixing-motion-performance
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hsynozdamar-byte/claude-skills-edited.git /tmp/claude-skills-edited
mkdir -p .claude/skills
cp -r /tmp/claude-skills-edited/skills/fixing-motion-performance .claude/skills/fixing-motion-performance
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Fixing Motion Performance in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Fixing Motion Performance on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Fixing Motion Performance is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Fixing motion performance

Fix animation jank within the project's existing animation stack (CSS, WAAPI, Motion, rAF, GSAP). Keep the library: migrate or mix animation APIs only when the user asks, and never half-migrate a component.

/fixing-motion-performance applies these rules to animation work in the conversation. /fixing-motion-performance <file> reviews a file and reports each violation as the quoted line, one sentence on why it matters, and a code-level fix.

Apply when adding or changing animations, refactoring janky interactions, building scroll-linked or reveal-on-scroll motion, animating layout, filters, masks, gradients or CSS variables, or reviewing will-change, transforms and measurement code.

Cost ladder

Pick the cheapest rendering stage that matches the intent; state the constraint (surface size, duration, interaction need) behind any heavier choice.

  • Composite: transform, opacity. The default for motion.
  • Paint: color, borders, gradients, masks, images, filters. Fine on small, isolated elements.
  • Layout: size, position, flow, grid, flex. Reserve for one-shot effects on small surfaces.

Downgrade the technique before removing the motion: opacity and translate first, blur last.

Rules by priority

1. Layout stays out of the frame loop (critical)

  • Batch DOM reads before writes; measure once, then animate via transform or opacity (FLIP for layout-like effects).
  • Give every requestAnimationFrame loop a stop condition.
  • Keep one animation system per element; two systems that each measure or mutate layout fight each other.

2. Scroll (high)

  • Drive scroll-linked motion with Scroll or View Timelines (animation-timeline: view()), not scrollTop, scrollY or scroll events.
  • Use IntersectionObserver for visibility, and pause or stop animations that are off-screen.
  • Scroll-linked motion on large surfaces stays on the compositor.

3. Paint and CSS variables (medium-high)

  • Large containers animate transform and opacity only.
  • Animate transform, opacity and position directly, not through CSS variables. When a variable must animate, scope it to the element and keep it from inheriting, since an inherited animated variable invalidates every descendant.

4. Layers (medium)

  • Compositor motion needs layer promotion; confirm it with devtools instead of assuming.
  • Set will-change only while animating, on specific elements, and keep promoted layers few and small.

5. Blur and filters (medium)

  • Blur animates at 8px or less, in short one-time effects, on small surfaces. Continuous blur and blur on large surfaces get replaced by opacity and translate.

6. View transitions (low)

  • Use them for navigation-level changes. Interaction-heavy UI and anything that needs interruption or cancellation uses another mechanism. Treat size changes inside a transition as layout-triggering.

7. JS-driven animation

  • Use it only when the interaction requires it (gestures, physics). One-shot effects are acceptable more often than continuous motion.

Before and after snippets (transform vs width, scroll-timeline vs scroll listener, FLIP): references/fixes.md.

Review

Report critical violations first (layout in the frame loop, mixed animation systems), then the rest in priority order. Give a concrete alternative for each note.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Fixing Motion Performance AI skill do?

Audit and fix animation performance: layout thrashing, compositor properties, scroll-linked motion, blur. Use when animations stutter or jank.

Why use Fixing Motion Performance on TypingMind?

Because you install it once and use it with any model. Fixing Motion Performance is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Fixing Motion Performance in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hsynozdamar-byte/claude-skills-edited/tree/main/skills/fixing-motion-performance. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Fixing Motion Performance?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Fixing Motion Performance?

As many as you like. As long as a model supports skills, you can use Fixing Motion Performance with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Fixing Motion Performance AI skill free?

It is published on GitHub by hsynozdamar-byte. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇