Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

swiftui-performance-audit

Skill by AstraFoundry

Audits SwiftUI runtime performance from code review, then guides profiling with Instruments when code review is not enough. It is for developers diagnosing slow rendering, janky scrolling, high CPU or memory use, and excessive view updates.

  • Score 85
  • 302 stars
  • AGPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install swiftui-performance-audit

Built from the published package, never by AI.

git clone --depth 1 https://github.com/AstraFoundry/KumoApp /tmp/KumoApp && mkdir -p ~/.claude/skills && cp -r /tmp/KumoApp/.claude/skills/swiftui-performance-audit ~/.claude/skills/swiftui-performance-audit

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install swiftui-performance-audit in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The swiftui-performance-audit skill diagnoses SwiftUI runtime performance problems such as slow rendering, janky scrolling, high CPU or memory use, excessive view updates, and layout thrash. It starts with a code-first review of the target view. The review checks for invalidation storms, unstable identity in lists and ForEach, heavy work in body, layout complexity, large image decoding on the main thread, and broad animations. When code review is inconclusive, it guides the user through Instruments profiling.

The skill then summarizes likely causes, evidence, fixes, and validation steps in an audit report. Suggested remediation covers narrowing state scope, stabilizing identities, moving work out of body, downsampling images, and reducing layout complexity. It is aimed at developers working on SwiftUI apps. If code is not available, it asks for the target view, data flow, reproduction steps, and deployment target.

Written from the project's SKILL.md and checked against it.

What it can do

  • Code-first reviewChecks SwiftUI code for invalidation storms, unstable identity, heavy body work, layout thrash, and broad animations.
  • Profiling guidanceGuides the user through Instruments profiling with a checklist when code review alone cannot explain the issue.
  • Remediation patternsSuggests narrowing state scope, stabilizing ForEach identities, downsampling images, and reducing layout complexity.
  • Audit reportSummarizes likely causes, evidence, remediation, and validation steps using a report template.

What you need

  • Instruments profiling run by the user, when code review is not enough
  • SwiftUI code, or a description of the target view, data flow, and reproduction steps

Try asking

  • Audit my SwiftUI list for janky scrolling and unstable ForEach identity
  • Review this SwiftUI view and explain why it re-renders so often
  • Guide me through an Instruments trace for high CPU in my SwiftUI app

Good to know

  • Runtime diagnosis depends on user-run Instruments profiling when code review is inconclusive.
  • Web search for current Apple documentation is suggested when Instruments or SwiftUI guidance may have changed.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/swiftui-performance-audit/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB
  • agents/openai.yaml242 B
  • references/code-smells.md4 KB
  • references/demystify-swiftui-performance-wwdc23.md2 KB
  • references/optimizing-swiftui-performance-instruments.md2 KB
Show all 9 files
  • references/profiling-intake.md2 KB
  • references/report-template.md1 KB
  • references/understanding-hangs-in-your-app.md1 KB
  • references/understanding-improving-swiftui-performance.md2 KB

Alternatives to swiftui-performance-audit

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

swiftui-performance-audit: common questions

Does this skill need Instruments to work?

It asks for Instruments profiling only when code review alone cannot explain the symptoms. The user collects the trace and shares the evidence.

Can I use it if I only have a description of the problem?

Yes. If code is not available, it asks for the smallest useful slice: target view, data flow, reproduction steps, and deployment target.

How does it check whether a fix worked?

It asks the user to re-run the same capture and compare with baseline metrics, then summarizes the CPU, frame drop, and memory peak changes if provided.

How do I install swiftui-performance-audit?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is swiftui-performance-audit free?

The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.

Is swiftui-performance-audit safe to use?

It scores 85 of 100. Grades: maintenance A, licence C, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to swiftui-performance-audit?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

swiftui-performance-audit Install

Add to stack

Loading.