swiftui-performance-audit

Installation
Summary

Diagnose and fix SwiftUI performance issues through code review and Instruments profiling guidance.

  • Classifies symptoms (slow rendering, janky scrolling, CPU spikes, memory growth, hangs, excessive view updates) and performs code-first review against common anti-patterns like invalidation storms, unstable list identity, and layout thrash.
  • Guides users through Instruments profiling when code review alone is inconclusive, with structured intake checklists and trace analysis.
  • Provides remediation patterns for state scope narrowing, identity stabilization, moving heavy work out of body, and image optimization, with before/after validation steps.
SKILL.md

SwiftUI Performance Audit

Quick start

Use this skill to diagnose SwiftUI performance issues from code first, then request profiling evidence when code review alone cannot explain the symptoms.

Workflow

  1. Classify the symptom: slow rendering, janky scrolling, high CPU, memory growth, hangs, or excessive view updates.
  2. If code is available, start with a code-first review using references/code-smells.md.
  3. If code is not available, ask for the smallest useful slice: target view, data flow, reproduction steps, and deployment target.
  4. If code review is inconclusive or runtime evidence is required, guide the user through profiling with references/profiling-intake.md.
  5. Summarize likely causes, evidence, remediation, and validation steps using references/report-template.md.

1. Intake

Collect:

  • Target view or feature code.
  • Symptoms and exact reproduction steps.
Related skills

More from dimillian/skills

Installs
6.9K
GitHub Stars
3.5K
First Seen
Jan 20, 2026