GSAP Code Analyzer
gsap_analyzeAudit GSAP animation code for performance, optimization, and accessibility problems. Detects layout-triggering properties, missing registerPlugin(), and v2 syntax, then returns scored issues with fix suggestions.
Instructions
Audit existing GSAP animation code for performance, optimization, and accessibility issues. Use when you want to check code before delivering it — detects layout-triggering properties, GSAP v2 syntax, missing registerPlugin(), stagger risks, and missing prefers-reduced-motion handling. Returns scored issues with severity and fix suggestions. For generating new animation code use gsap_tween or gsap_timeline instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The GSAP code to analyze | |
| checkPerformance | No | ||
| checkAccessibility | No | ||
| suggestOptimizations | No |