From animate-dev
This skill should be used when the user asks to "optimize performance", "check for memory leaks", "improve performance", "performance tuning", "調整效能", "效能優化", "檢查記憶體洩漏", or mentions performance issues in Adobe Animate or CreateJS projects.
How this skill is triggered — by the user, by Claude, or both
Slash command
/animate-dev:animate-performanceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
針對 Adobe Animate + CreateJS 專案進行系統性效能優化,識別並修復常見效能瓶頸。
針對 Adobe Animate + CreateJS 專案進行系統性效能優化,識別並修復常見效能瓶頸。
Required References:
references/common-patterns.md - 效能反模式識別與檢測策略references/fix-strategies.md - 具體修復程式碼範例| # | 問題類型 | 檢測關鍵字 | 優先級 |
|---|---|---|---|
| 1 | Event Listener Memory Leaks | addEventListener 無對應 removeEventListener | P0 |
| 2 | Redundant Event Bindings | init 函數中重複註冊事件 | P1 |
| 3 | Excessive Per-Frame Execution | Ticker.addEventListener("tick") 內有迴圈 | P1 |
| 4 | MovieClip Lifecycle Issues | MovieClip 建立後無 .stop() | P2 |
| 5 | Excessive stage.update() | stage.update() 在迴圈內 | P1 |
| 6 | Missing Cache | 複雜靜態圖形未使用 cache() | P3 |
| 7 | Resource Management | 一次載入所有資源、音訊未清理 | P3 |
詳見 references/common-patterns.md 取得完整的檢測模式與程式碼範例。
Required References:
references/common-patterns.md - 問題識別references/fix-strategies.md - 修復實作references/best-practices.md - 程式碼審查標準使用 performance-analyzer agent 掃描程式碼庫:
針對需要判斷的問題進行人工審查:
references/fix-strategies.md 取得修復範例驗證改善效果:
"Check this project for performance issues"
"Optimize the performance"
"檢查效能問題"
"效能優化"
performance-analyzer agent 會:
npx claudepluginhub tim80411/ai-agent-extension --plugin animate-devAudits and fixes animation performance issues: layout thrashing, compositor properties, scroll-linked motion, blur effects. Use when animations stutter or transitions jank.
Reviews iOS animation code in Swift files for correctness, performance, accessibility, and Apple API best practices including withAnimation, PhaseAnimator, matchedGeometryEffect.
Diagnoses and optimizes React Native app performance: slow startup, janky scrolling, stuttering animations, large bundles, high memory.