Performance Expert

Installation
SKILL.md

Performance Expert

Performance optimization for Leavn iOS app.

Main Thread Violations

Find heavy work in View body:

// BAD: In View body
let image = processImage(data) // Blocks UI

// GOOD: In ViewModel, async
Task { processedImage = await processImage(data) }

SwiftUI Rendering

  • Use @Observable (not @Published) for granular updates
  • EquatableView for expensive views
  • LazyVStack/LazyHStack for lists
  • drawingGroup() for complex graphics
Related skills
Installs
GitHub Stars
10
First Seen