swiftui-performance-developer

Installation
SKILL.md

SwiftUI Performance Developer (Smart Router)

Purpose

Audit SwiftUI view performance through code review and provide guidance for Instruments profiling when needed.

When Auto-Activated

  • Diagnosing slow rendering, janky scrolling, high CPU/memory
  • Excessive view updates or layout thrash
  • Keywords: performance, slow, jank, hitch, laggy, stuttering, CPU, memory, update

Workflow Decision Tree

  1. Code provided -> Start with Code-First Review
  2. Only symptoms described -> Ask for code/context, then Code-First Review
  3. Code review inconclusive -> Guide user to profile with Instruments

Fundamental Performance Insight (WWDC24)

SwiftUI views are value types (structs) that describe UI state - they are NOT long-lived objects. Breaking up one view into multiple subviews doesn't hurt performance because views are just declarative descriptions.

Related skills
Installs
2
GitHub Stars
479
First Seen
Jan 23, 2026