/apple-skills:guide-swiftui-performance-auditfrom apple-skills
Audits SwiftUI runtime performance from code review, diagnosing slow rendering, janky scrolling, high CPU/memory, excessive view updates, and layout thrash. Guides users through Instruments profiling when code review is insufficient.
Ships in apple-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Guide Skill — This is an expert workflow/pattern guide, not API reference documentation. Originally from Dimillian/Skills by Thomas Ricouard. MIT License.
Use this skill to diagnose SwiftUI performance issues from code first, then request profiling evidence when code review alone cannot explain the symptoms.
references/code-smells.md.references/profiling-intake.md.references/report-template.md.Collect:
@State, @Binding, environment dependencies, and observable models.Ask the user to classify the issue if possible:
For the full profiling intake checklist, read references/profiling-intake.md.
Focus on:
ForEach.body or view builders.GeometryReader, or preference chains.Use references/code-smells.md for the detailed smell catalog and fix guidance.
Provide:
If code review does not explain the issue, ask for runtime evidence:
Use references/profiling-intake.md for the exact checklist and collection steps.
Apply targeted fixes:
ForEach and lists.body into derived state updated from inputs, model-layer precomputation, memoized helpers, or background preprocessing. Use @State only for view-owned state, not as an ad hoc cache for arbitrary computation.equatable() only when equality is cheaper than recomputing the subtree and the inputs are truly value-semantic.Use references/code-smells.md for examples, Observation-specific fan-out guidance, and remediation patterns.
Ask the user to re-run the same capture and compare with baseline metrics. Summarize the delta (CPU, frame drops, memory peak) if provided.
Provide:
Use references/report-template.md when formatting the final audit.
references/profiling-intake.mdreferences/code-smells.mdreferences/report-template.mdreferences/ as they are supplied by the user.references/optimizing-swiftui-performance-instruments.mdreferences/understanding-improving-swiftui-performance.mdreferences/understanding-hangs-in-your-app.mdreferences/demystify-swiftui-performance-wwdc23.mdreferences/code-smells.md (opens in a new tab)references/demystify-swiftui-performance-wwdc23.md (opens in a new tab)references/optimizing-swiftui-performance-instruments.md (opens in a new tab)references/profiling-intake.md (opens in a new tab)references/report-template.md (opens in a new tab)references/understanding-hangs-in-your-app.md (opens in a new tab)references/understanding-improving-swiftui-performance.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub prisma-labs-dev/apple-skills --plugin apple-skills29 skills in this plugin
/apple-asoOptimize Apple App Store metadata in store.config.json for ASO (App Store Optimization). Use when working with store.config.json, App Store keywords, titles, subtitles, descriptions, or localizing app metadata. Helps maximize app visibility and downloads./apple-docs-indexIndex of Apple developer documentation for iOS, macOS, and related frameworks. Use when looking up what APIs exist in a framework, browsing available documentation, or deciding what docs to fetch. Covers SwiftUI, UIKit, Core Animation (QuartzCore), XCTest, HealthKit, Combine, SwiftData, and more./backgroundtasksAPI reference: BackgroundTasks. Query for BGTaskScheduler, app refresh, background processing.2 plugins ship this exact skill · first indexed Jun 27, 2026
Other plugins' skills for the same job