Swiftui Pro
twostraws/SwiftUI-Agent-Skill
Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance.
A skill your agent uses when reviewing or fixing SwiftUI performance issues, including unnecessary invalidation, unstable identity, broad state dependencies, expensive body work, heavy rows…
$ npx skills add Livsy90/iOS-Performance-Agent-Skills --skill swiftui-performance -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Livsy90/iOS-Performance-Agent-Skills swiftui-performance --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Livsy90/iOS-Performance-Agent-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/swiftui-performance .claude/skills/swiftui-performance && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "swiftui-performance" agent skill from https://github.com/Livsy90/iOS-Performance-Agent-Skills/tree/main/swiftui-performance into .claude/skills/swiftui-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swiftui-performance", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Livsy90/iOS-Performance-Agent-Skills/tree/main/swiftui-performanceType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Livsy90/iOS-Performance-Agent-Skills --skill swiftui-performance -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Livsy90/iOS-Performance-Agent-Skills swiftui-performance --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Livsy90/iOS-Performance-Agent-Skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/swiftui-performance .agents/skills/swiftui-performance && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "swiftui-performance" agent skill from https://github.com/Livsy90/iOS-Performance-Agent-Skills/tree/main/swiftui-performance into .agents/skills/swiftui-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swiftui-performance", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Livsy90/iOS-Performance-Agent-Skills --skill swiftui-performance -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Livsy90/iOS-Performance-Agent-Skills swiftui-performance --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Livsy90/iOS-Performance-Agent-Skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/swiftui-performance .cursor/skills/swiftui-performance && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "swiftui-performance" agent skill from https://github.com/Livsy90/iOS-Performance-Agent-Skills/tree/main/swiftui-performance into .cursor/skills/swiftui-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swiftui-performance", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Livsy90/iOS-Performance-Agent-Skills.git --path swiftui-performance--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Livsy90/iOS-Performance-Agent-Skills --skill swiftui-performance -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Livsy90/iOS-Performance-Agent-Skills swiftui-performance --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Livsy90/iOS-Performance-Agent-Skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/swiftui-performance .gemini/skills/swiftui-performance && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "swiftui-performance" agent skill from https://github.com/Livsy90/iOS-Performance-Agent-Skills/tree/main/swiftui-performance into .gemini/skills/swiftui-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swiftui-performance", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Livsy90/iOS-Performance-Agent-Skills swiftui-performanceInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Livsy90/iOS-Performance-Agent-Skills --skill swiftui-performance -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Livsy90/iOS-Performance-Agent-Skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/swiftui-performance .github/skills/swiftui-performance && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "swiftui-performance" agent skill from https://github.com/Livsy90/iOS-Performance-Agent-Skills/tree/main/swiftui-performance into .github/skills/swiftui-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swiftui-performance", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Livsy90/iOS-Performance-Agent-Skills --skill swiftui-performance -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Livsy90/iOS-Performance-Agent-Skills swiftui-performance --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Livsy90/iOS-Performance-Agent-Skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/swiftui-performance .opencode/skills/swiftui-performance && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "swiftui-performance" agent skill from https://github.com/Livsy90/iOS-Performance-Agent-Skills/tree/main/swiftui-performance into .opencode/skills/swiftui-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swiftui-performance", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
swiftui-performanceA skill your agent uses when reviewing or fixing SwiftUI performance issues, including unnecessary invalidation, unstable identity, broad state dependencies, expensive body work, heavy rows…
Swiftui Performance is an agent skill from Livsy90/iOS-Performance-Agent-Skills. Use this skill when reviewing or fixing SwiftUI performance issues, including unnecessary invalidation, unstable identity, broad state dependencies, expensive body work, heavy rows, scrolling hitches, layout/drawing cost, or async lifecycle work. Do not use it for general SwiftUI syntax, styling, UIKit-only performance, or generic profiling unless SwiftUI update behavior is central.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including reference files (for example `agents/openai.yaml`, `references/async-lifecycle-and-mainactor.md` and `references/body-cost-and-render-models.md`).
It sits in Mobile, covering iOS development. It works with SwiftUI. The repository describes itself as: A collection of AI-agent skills for reviewing, diagnosing, and improving performance in iOS applications. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit c259885. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Swiftui Performance loads about 1.6k tokens when it runs, and up to ~40k if it reads all its reference files. Until then it costs about 101 tokens; SKILL.md has 763 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Livsy90/iOS-Performance-Agent-Skills at commit c259885, republished under its MIT licence (© Livsy90). 763 words, ~1,562 tokens.
.claude/skills/swiftui-performance/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.Use this skill to review and refactor SwiftUI code with a performance-first mental model focused on change locality.
SwiftUI performance work should explain which change invalidates which part of the UI, why that work matters, and how to keep updates local.
Use this skill for:
Do not use this skill for:
Answer three questions first:
Then inspect:
body cheap, predictable, and free from heavy transformation work?.task, .onAppear, or explicit actions rather than started from body?A SwiftUI view is a value description of UI. Do not treat it as a long-lived UIKit-style object.
Inspect the smallest relevant code path before suggesting broad changes.
Check in this order:
body.Prefer targeted refactors over architectural rewrites.
Always separate:
Never invent timing numbers or claim profiling results unless the user provided evidence or a profiling command was actually run.
Prefer:
This parent view reads the whole model, so changes to that model can invalidate a large part of the screen.
Avoid:
This costs 500 ms.
Flag these patterns when they appear on an update or scrolling path:
.id(UUID()) or var id: UUID { UUID() }bodyForEach instead of preparing visible rows firstAnyView in large repeated collectionsBinding(get:set:) when a key-path binding would workGeometryReader, preferences, heavy shadows, masks, blurs, or overlays in every rowbody.onAppear pagination triggers inside rowsUse the smallest fix that addresses the cause:
body.equatable() only when visual equality is clear and cheaper than recomputing.task(id:) when work is tied to a changing input and should cancel/restart automaticallyDo not use .equatable(), memoization, or caching as blanket fixes. Explain the invalidation or rendering issue first.
Read references only when the task needs more detail:
references/identity-and-state.md — identity, .id, ForEach, @State, @StateObject, @ObservedObject, owned observable modelsreferences/observation-and-dependencies.md — Observation, ObservableObject, broad dependencies, environment readsreferences/body-cost-and-render-models.md — sorting, filtering, formatting, derived data, render modelsreferences/lists-pagination-and-rows.md — List, ScrollView, LazyVStack, rows, pagination, scrollingreferences/closures-bindings-and-equatable.md — closures, bindings, .equatable(), action handlersreferences/layout-drawing-and-animation.md — layout, drawing, modifiers, animation hitchesreferences/async-lifecycle-and-mainactor.md — .task, .onAppear, cancellation, MainActorreferences/profiling-validation.md — Instruments, xctrace, signposts, XCTest, MetricKitFor code reviews, answer with:
For profiling requests, answer with:
Keep the answer concrete. Do not say “SwiftUI is slow.” Explain the specific identity, dependency, rendering, layout, drawing, animation, or lifecycle issue.
SwiftUI performance improves when code makes change locality obvious.
© Livsy90, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 9 other files (references) in swiftui-performance of Livsy90/iOS-Performance-Agent-Skills.
Open the folder on GitHubat commit c259885
Swiftui Performance next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Swiftui Performance this skillLivsy90/iOS-Performance-Agent-Skills | 117 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Swiftui Protwostraws/SwiftUI-Agent-Skill | 5.6k | 2 repos | ~1.5k | Automated safety check: Pass | MIT | |
| Swiftui UI PatternsAFK-surf/OpenBridge | 430 | 4 repos | ~887 | Automated safety check: Pass | MIT | |
| Swiftui Performance Auditharperreed/dotfiles | 334 | 8 repos | ~1.4k | Automated safety check: Pass | None | |
| Hig Project Contextraintree-technology/hig-doctor | 143 | 5 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Hig Components Contentraintree-technology/hig-doctor | 143 | 5 repos | ~1.3k | Automated safety check: Pass | MIT |
twostraws/SwiftUI-Agent-Skill
Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance.
AFK-surf/OpenBridge
Best practices and example-driven guidance for building SwiftUI views and components.
harperreed/dotfiles
Audit and improve SwiftUI runtime performance from code review and architecture.
raintree-technology/hig-doctor
Create or update a shared Apple design context document that other HIG skills use to tailor guidance.
raintree-technology/hig-doctor
Apple Human Interface Guidelines for content display components.
liseami/ChunUI
Build iOS apps with the ChunUI design system (Monochrome texture extracted from the production app Zinner/Chat0IM).
Livsy90/iOS-Performance-Agent-Skills
A skill your agent uses for product-level iOS responsiveness and loading/feedback flows, including perceived latency, time to first feedback, progressive rendering, loading states, skeletons…
Livsy90/iOS-Performance-Agent-Skills
A skill your agent uses when choosing, running, or interpreting iOS performance profiling workflows, including Instruments traces, signposts, XCTest metrics, MetricKit, Xcode Organizer, hangs…
Livsy90/iOS-Performance-Agent-Skills
A skill your agent uses when reviewing Swift code for runtime-level performance costs, including heap allocation, ARC traffic, stack vs heap storage, closure capture contexts, method dispatch…
Livsy90/iOS-Performance-Agent-Skills
A skill your agent uses when diagnosing iOS app launch performance, startup regressions, first-frame readiness, or early responsiveness.
Livsy90/iOS-Performance-Agent-Skills
A skill your agent uses when reviewing Swift Concurrency performance and responsiveness, including task explosions, actor hopping, MainActor bottlenecks, cancellation, AsyncSequence cleanup…
Works with
Categories
A skill your agent uses when reviewing or fixing SwiftUI performance issues, including unnecessary invalidation, unstable identity, broad state dependencies, expensive body work, heavy rows…. Swiftui Performance is an agent skill from Livsy90/iOS-Performance-Agent-Skills. Use this skill when reviewing or fixing SwiftUI performance issues, including unnecessary invalidation, unstable identity, broad state dependencies, expensive body work, heavy rows, scrolling hitches, layout/drawing cost, or async lifecycle work.
Swiftui Performance fits situations like: fixing SwiftUI performance issues; including unnecessary invalidation; unstable identity; broad state dependencies.
Run `npx skills add Livsy90/iOS-Performance-Agent-Skills --skill swiftui-performance -a claude-code`. Or copy the skill folder (swiftui-performance in Livsy90/iOS-Performance-Agent-Skills) into .claude/skills/swiftui-performance in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Livsy90/iOS-Performance-Agent-Skills --skill swiftui-performance -a codex`. Or copy the skill folder (swiftui-performance in Livsy90/iOS-Performance-Agent-Skills) into .agents/skills/swiftui-performance in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Livsy90/iOS-Performance-Agent-Skills --skill swiftui-performance -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/swiftui-performance, .gemini/skills/swiftui-performance, .github/skills/swiftui-performance and .opencode/skills/swiftui-performance in your project.
SKILL.md names no scripts, command-line tools or credentials: Swiftui Performance is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Swiftui Performance is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 38k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Swiftui Performance: Swiftui Pro (twostraws/SwiftUI-Agent-Skill, 5.6k stars), Swiftui UI Patterns (AFK-surf/OpenBridge, 430 stars), Swiftui Performance Audit (harperreed/dotfiles, 334 stars) and Hig Project Context (raintree-technology/hig-doctor, 143 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Livsy90 (a GitHub user) maintains it in Livsy90/iOS-Performance-Agent-Skills, which has 117 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on July 12, 2026.
Source: Livsy90/iOS-Performance-Agent-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.