/build-ios-apps:swiftui-performance-auditfrom build-ios-apps
Diagnose and fix SwiftUI performance bottlenecks. Use this skill when your app is slow, scrolling is janky, CPU/memory is high, body is called too often, or rendering is slow. Includes code-first review, profiling guidance, and remediation patterns.
Ships in build-ios-apps. 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.
Use this skill when you experience any of these symptoms:
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.
Unstable ForEach Identity:
// ❌ BAD: Creates new UUID each render, invalidates every cell
List {
ForEach(items) { item in
Text(item.name)
}
}
// ✅ GOOD: Stable ID keyed to model, cells persist correctly
List {
ForEach(items, id: \.id) { item in
Text(item.name)
}
}
Excessive @ObservableObject Redraws:
// ❌ BAD: Single @StateObject model forces entire hierarchy to update
@StateObject var model = DataModel()
// When model.count changes, even unrelated views redraw
// ✅ GOOD: Extract state into focused @State or smaller Observable
@State var count = 0 // Only views reading count redraw
@State var data: [Item] = [] // Separate from other state
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
Other plugins' skills for the same job
27 skills in this plugin
/asc-app-create-uiCreate a new App Store Connect app record via browser automation. Use when there is no public API for app creation and you need an agent to drive the New App form./asc-aso-auditAudit and optimize your app store presence. Use this skill when you need an ASO audit, want to improve app store ranking, optimize keywords, perform keyword analysis, or surface ranking gaps in App Store metadata./asc-build-lifecycleTrack build processing, find latest builds, and clean up old builds with asc. Use when managing build retention or waiting on processing./asc-cli-usageGuidance for using asc cli in this repo (flags, output formats, pagination, auth, and discovery). Use when asked to run or design asc commands or interact with App Store Connect via the CLI./asc-crash-triageTriage TestFlight crashes, beta feedback, and performance diagnostics using asc. Use when the user asks about TF crashes, TestFlight crash reports, beta tester feedback, app hangs, disk writes, launch diagnostics, or wants a crash summary for a build or app./asc-id-resolverResolve App Store Connect IDs (apps, builds, versions, groups, testers) from human-friendly names using asc. Use when commands require IDs.build-ios-apps@aredes-marketplace is listed by cristianoaredes/aredes-marketplace — review the source before installing
npx claudepluginhub cristianoaredes/aredes-marketplace --plugin build-ios-apps