Skip to content
dylantarre avatar

Performance Optimization

Diagnostic guide that maps animation jank to Disney's 12 principles with concrete CSS fixes and a checklist.

CCM score
46 of 100
Quality grade
Quality grade B, 77 of 100
skills.sh installs
648
GitHub stars
753
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers slow or janky animation diagnosis across five principle-based categories, from pose-to-pose timing to staging off-screen elements
  • Includes five quick fixes (CSS over JS, transform over position properties, sparing will-change, fewer simultaneous animations, mobile complexity reduction) and an eight-item troubleshooting checklist
  • Enforces animating only transform and opacity and keeping simultaneous animations under three to four
  • Designed for front-end developers debugging frame drops, with a CSS example contrasting GPU-friendly and layout-triggering patterns

Quality grade

  • Safety25% of the grade100

    The skill is a benign CSS and animation performance guide with no attempt to steer graders or move data.

  • Tool boundary15% of the grade80

    Declares no allowed-tools in its frontmatter. No scripts: it teaches a procedure. It is a procedure teaching how to diagnose and fix animations, with no bundled code doing the work.

  • Workflow quality25% of the grade40

    Craft grade 40 of 100 for specificity, expertise, examples, economy and scope.

  • Discoverability10% of the grade83

    Name performance-optimization is lowercase with hyphens. Description of 58 characters. The description states when to use it (slow, janky animation, frame drops) but gives no explicit when-not-to-use guidance.

  • Provenance and upkeep15% of the grade75

    Last push 11 months ago. MIT license. Owner account 13 years old.

  • Portability10% of the grade100

    Relative paths only.

Rubric 2026-12.5 · graded December 4, 2026How we grade

Install

$ npx -y skills add dylantarre/animation-principles --skill performance-optimization -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Performance Optimization

Diagnose and fix slow or janky animations using Disney's 12 principles.

Problem Indicators

  • Frame rate drops below 60fps
  • Stuttering or choppy motion
  • UI feels sluggish
  • Battery drain on mobile
  • Layout thrashing

Diagnosis by Principle

Straight Ahead vs Pose-to-Pose

Issue: Calculating every frame in real-time Fix: Use pose-to-pose (keyframe) animation. Let the browser interpolate between states using CSS transitions or will-change.

Timing

Issue: Too many simultaneous animations Fix: Stagger animations. Offset start times by 50-100ms to reduce concurrent calculations.

Secondary Action

Issue: Too many secondary effects Fix: Remove non-essential secondary animations on low-power devices. Use prefers-reduced-motion query.

Solid Drawing

Issue: Animating expensive properties (width, height, top, left) Fix: Only animate transform and opacity. These are GPU-accelerated and skip layout/paint.

Staging

Issue: Animating off-screen elements Fix: Only animate what's visible. Use Intersection Observer to pause off-screen animations.

Quick Fixes

Details

Repository
github.com/dylantarre/animation-principles
Categories
Animation & Motion, Frontend & UI Code
License
MIT
First seen
Jun 3, 2026

Questions

What does the performance-optimization skill do for slow animations?

The performance-optimization skill diagnoses and fixes slow or janky animations, such as frame rate drops, stuttering motion and layout thrashing, using Disney's 12 principles. It points to fixes like animating only transform and opacity, staggering simultaneous animations, and using will-change sparingly.

How do I install the performance-optimization skill?

Run npx -y skills add dylantarre/animation-principles --skill performance-optimization -y in a project to install the performance-optimization skill. Once installed, the agent can use its checklist to find and fix frame drops in animations.

Which skills lead the Animation & Motion category next to performance-optimization?

The performance-optimization skill sits in the Animation & Motion category on Claude Marketplaces, alongside remotion-render, hyperframes-registry, hyperframes-animation, remotion-best-practices and hyperframes-core. Its own focus is narrower, on diagnosing why an animation runs slowly rather than on building the animation itself.

Who should use the performance-optimization skill?

The performance-optimization skill suits developers whose animations drop below 60fps, stutter, drain battery on mobile or feel sluggish in the UI. It gives a troubleshooting checklist, including checking DevTools for long frames and testing with CPU throttling.

More from dylantarre/animation-principles

All 144

Similar to Performance Optimization

More Animation & Motion