swiftui-performance-audit

swiftui-performance-audit is a skill for Codex from flaqai/ios-application-development-skills. It costs 32 tokens per session (1,055 once invoked), scanned A, a copy of swiftui-performance-audit, MIT.

A code-first review process for diagnosing SwiftUI runtime performance problems. SwiftUI is Apple's framework for building app interfaces, and runtime performance concerns how smoothly those interfaces update and respond.

In plain words
What is it for?
Use it to inspect SwiftUI code, collect the smallest useful reproduction details, guide profiling when needed, and document causes and validation steps.
Why use it?
It helps narrow down likely causes of slow rendering, dropped frames, high CPU use, memory growth, hangs, or excessive view updates before profiling.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to inspect SwiftUI code, collect the smallest useful reproduction details, guide profiling when needed, and document causes and validation steps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/flaqai/ios-application-development-skills/swiftui-performance-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add flaqai/ios-application-development-skills --skill swiftui-performance-audit
Clone the repo
git clone --depth 1 https://github.com/flaqai/ios-application-development-skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for swiftui-performance-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/flaqai/ios-application-development-skills/swiftui-performance-audit/github.svg)](https://agentmods.dev/skills/flaqai/ios-application-development-skills/swiftui-performance-audit)
Your own site
<a href="https://agentmods.dev/skills/flaqai/ios-application-development-skills/swiftui-performance-audit"><img src="https://agentmods.dev/badge/skills/flaqai/ios-application-development-skills/swiftui-performance-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for swiftui-performance-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/flaqai/ios-application-development-skills/swiftui-performance-audit"><img src="https://agentmods.dev/badge/skills/flaqai/ios-application-development-skills/swiftui-performance-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,055 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 94% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.01055
Opus 5 $0.00016 $0.00528
Sonnet 5 $0.00006 $0.00211
Haiku 4.5 $0.00003 $0.00105

Measured 10d ago against content hash 6fc6bd4d49b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

swiftui-performance-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

94% identical to swiftui-performance-audit — 3 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/ios-application-development-skills/skills/swiftui-performance-audit/SKILL.md · 108 lines

How it starts

The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SwiftUI Performance Audit

Quick start

Use this skill to diagnose SwiftUI performance issues from code first, then request profiling evidence when code review alone cannot explain the symptoms.

Workflow

  1. Classify the symptom: slow rendering, janky scrolling, high CPU, memory growth, hangs, or excessive view updates.
  2. If code is available, start with a code-first review using references/code-smells.md.
  3. If code is not available, ask for the smallest useful slice: target view, data flow, reproduction steps, and deployment target.
  4. If code review is inconclusive or runtime evidence is required, guide the user through profiling with references/profiling-intake.md.
  5. Summarize likely causes, evidence, remediation, and validation steps using references/report-template.md.

1. Intake

Collect:

  • Target view or feature code.
  • Symptoms and exact reproduction steps.
  • Data flow: @State, @Binding, environment dependencies, and observable models.
  • Whether the issue shows up on device or simulator, and whether it was observed in Debug or Release.

Ask the user to classify the issue if possible:

  • CPU spike or battery drain
  • Janky scrolling or dropped frames
  • High memory or image pressure
  • Hangs or unresponsive interactions
  • Excessive or unexpectedly broad view updates

For the full profiling intake checklist, read references/profiling-intake.md.

2. Code-First Review

Focus on:

  • Invalidation storms from broad observation or environment reads.
  • Unstable identity in lists and ForEach.
  • Heavy derived work in body or view builders.
  • Layout thrash from complex hierarchies, GeometryReader, or preference chains.
  • Large image decode or resize work on the main thread.
  • Animation or transition work applied too broadly.

Use references/code-smells.md for the detailed smell catalog and fix guidance.

Provide:

  • Likely root causes with code references.
  • Suggested fixes and refactors.
  • If needed, a minimal repro or instrumentation suggestion.

Read the full file on GitHub · 108 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 108 lines · 32 tokens per session scan A 6fc6bd4d49b4

Subscribe to this mod's changes

swiftui-performance-audit is a skill published in the GitHub repository flaqai/ios-application-development-skills (4 stars, last pushed 26d ago), licensed MIT. It adds 32 tokens to every session and 1,055 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to swiftui-performance-audit, differing in 3 lines, and is treated as a copy.

Related

Other skills, from other repositories

mobile-debugging

Remote JavaScript console and debugging on mobile. Use for phone/tablet console errors, responsive testing, Eruda, and vConsole.

jamditis/claude-skills-journalism · 31 tokens

dredge

When something goes wrong during a build — including when the report can't be reproduced at all — diagnose what type of failure it is before deciding how to respond. Targeted fix, hard reset, full rethink, or a reproduction gap — the right response depends on the right diagnosis.

partikularwaters/Banka · 59 tokens

compose-ui-builder

Author and edit a Compose UI design over MCP against a compose-preview serve deployment — create a screen or a Wear widget, insert and edit nodes, and export the Kotlin, PNG or SVG. Use when asked to build, change, or review a UI Builder design (a URL like /ui-builder/ / ), to turn a design into Compose code, or to…

yschimke/skills · 87 tokens

prove-checks

Prove a passing check was capable of failing before recording it as evidence. Use when a test, CI job, build-and-diff, smoke test or rehearsal comes back green and that green is about to be treated as proof - especially when the check depends on a setup mutation (a sed/awk rewrite, an env var, a secret, a fixture…

sergeyklay/.agents · 221 tokens

python-performance-optimization

Profile and optimize Python code using cProfile, memory profilers, and performance best practices.

Jartan-LLC/grimoire · 23 tokens

logging-patterns

Logging conventions -- level usage, formatting style, structured output.

Jartan-LLC/grimoire · 16 tokens