swiftui-auditor

Community

Find and fix SwiftUI performance bottlenecks.

AuthorRoy-wonji
Version1.0.0
Installs0

System Documentation

What problem does it solve?

SwiftUI apps can suffer from janky UI, slow scrolling, and excessive re-rendering due to view invalidation storms, unstable identity in lists, layout thrashing, and expensive work placed inside view rendering.

Core Features & Use Cases

  • View invalidation optimization: Detects unnecessary view updates and helps optimize @Observable/@State usage to reduce wasted renders.
  • Identity and list performance: Finds unstable ForEach identity patterns and recommends identity stabilization and list efficiency improvements.
  • Layout, animation, and rendering fixes: Reviews GeometryReader usage, layout thrash risk, animation performance impact, and heavy computations in body, including caching and image-loading strategy.

Quick Start

Ask the skill to audit the attached SwiftUI files and produce a prioritized list of performance issues with Before/After code changes and how to validate improvements with Instruments.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: swiftui-auditor
Download link: https://github.com/Roy-wonji/claude-config/archive/main.zip#swiftui-auditor

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.