/agentic-awesome-skills:swiftui-performance-auditfrom agentic-awesome-skills
Audits SwiftUI performance issues by reviewing code for common smells like invalidation storms, unstable identity, and layout thrash, then guides profiling with Instruments when needed.
Ships in agentic-awesome-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.
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.mdIf a row sorts 5,000 items each time a favorite changes, record that code path as a
hypothesis; compare the same scrolling/favorite interaction before and after a
model-owned cached sort on the same device/build. Do not invent CPU or hitch deltas.
An async .task may inherit MainActor; moving CPU-heavy code into it does not by
itself offload work. Preserve actor isolation/Sendable rules when moving decoding
and computation, and cancel obsolete tasks. Singleton mutable formatters need actor
or synchronization discipline and locale-change invalidation.
Reference summaries are paraphrases, not verbatim Apple transcripts or current tool compatibility claims. Trace exports/memory graphs may contain private text, identifiers and credentials; minimize and redact before sharing through an approved channel. No profiling or compilation is performed by merely applying this review checklist.
agents/openai.yaml (opens in a new tab)references/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
Three short reads, in order
Generated from the plugin's indexed repository (sickn33/agentic-awesome-skills) — no native marketplace selected
npx claudepluginhub p/sickn33-antigravity-awesome-skills3 plugins in 2 repositories ship this exact skill · first indexed Oct 24, 2026
3,195 skills in this plugin
/007Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project./00-andruia-consultantUsar al iniciar o mejorar un proyecto de IA: diagnostica código y restricciones, propone skills existentes y redacta tareas y un plan de implementación en español./10-andruia-skill-smithUsar para crear o mejorar una skill de Andru.ia: define entradas y resultados, redacta SKILL.md con ejemplos y límites, valida la estructura y prepara una PR.Other plugins' skills for the same job