Swiftui Pro
twostraws/SwiftUI-Agent-Skill
Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance.
Audit and improve SwiftUI runtime performance. An agent skill from termio-sh/termio.
$ npx skills add termio-sh/termio --skill performance-audit -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install termio-sh/termio performance-audit --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/termio-sh/termio.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/swiftui-performance-audit .claude/skills/performance-audit && 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 "performance-audit" agent skill from https://github.com/termio-sh/termio/tree/main/skills/swiftui-performance-audit into .claude/skills/performance-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-audit", 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/termio-sh/termio/tree/main/skills/swiftui-performance-auditType 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 termio-sh/termio --skill performance-audit -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install termio-sh/termio performance-audit --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/termio-sh/termio.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/swiftui-performance-audit .agents/skills/performance-audit && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "performance-audit" agent skill from https://github.com/termio-sh/termio/tree/main/skills/swiftui-performance-audit into .agents/skills/performance-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-audit", 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 termio-sh/termio --skill performance-audit -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install termio-sh/termio performance-audit --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/termio-sh/termio.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/swiftui-performance-audit .cursor/skills/performance-audit && 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 "performance-audit" agent skill from https://github.com/termio-sh/termio/tree/main/skills/swiftui-performance-audit into .cursor/skills/performance-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-audit", 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/termio-sh/termio.git --path skills/swiftui-performance-audit--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 termio-sh/termio --skill performance-audit -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install termio-sh/termio performance-audit --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/termio-sh/termio.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/swiftui-performance-audit .gemini/skills/performance-audit && 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 "performance-audit" agent skill from https://github.com/termio-sh/termio/tree/main/skills/swiftui-performance-audit into .gemini/skills/performance-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-audit", 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 termio-sh/termio performance-auditInstalls 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 termio-sh/termio --skill performance-audit -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/termio-sh/termio.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/swiftui-performance-audit .github/skills/performance-audit && 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 "performance-audit" agent skill from https://github.com/termio-sh/termio/tree/main/skills/swiftui-performance-audit into .github/skills/performance-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-audit", 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 termio-sh/termio --skill performance-audit -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install termio-sh/termio performance-audit --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/termio-sh/termio.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/swiftui-performance-audit .opencode/skills/performance-audit && 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 "performance-audit" agent skill from https://github.com/termio-sh/termio/tree/main/skills/swiftui-performance-audit into .opencode/skills/performance-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-audit", 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.
performance-auditAudit and improve SwiftUI runtime performance. An agent skill from termio-sh/termio.
Performance Audit is an agent skill from termio-sh/termio. Audit and improve SwiftUI runtime performance. Use for requests to diagnose slow rendering, janky scrolling, high CPU/memory usage, excessive view updates, or layout thrash in SwiftUI apps.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Mobile, covering iOS development. It works with SwiftUI. The repository describes itself as: A terminal-first agentic development environment for agentic coding. Build for CLI/TUI agent. Runtime for Coding Agent, Tmux alternative. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 1a47d10. 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.
Shell commands in SKILL.md call:
xcodebuildFrom 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.
Performance Audit loads about 1.2k tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 360 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 termio-sh/termio at commit 1a47d10, republished under its MIT licence (© termio-sh). 360 words, ~1,161 tokens.
.claude/skills/performance-audit/SKILL.md (or your agent's skills folder).Audit SwiftUI view performance from instrumentation and baselining to root-cause analysis and concrete remediation steps.
id churn, UUID() per render)body (formatting, sorting, image decoding)GeometryReader, preference chains)If code review is inconclusive, explain how to collect data:
Ask for:
bodyBad:
var body: some View {
let formatter = NumberFormatter() // Slow allocation every render
Text(formatter.string(from: value))
}Good:
final class Formatters {
static let number = NumberFormatter()
}
var body: some View {
Text(Formatters.number.string(from: value))
}Bad:
var filtered: [Item] {
items.filter { $0.isEnabled } // Runs every body eval
}Good:
@State private var filtered: [Item] = []
.onChange(of: items) {
filtered = items.filter { $0.isEnabled }
}Bad:
ForEach(items.sorted(by: sortRule)) { item in
Row(item)
}Good:
let sortedItems = items.sorted(by: sortRule) // Compute once
ForEach(sortedItems) { item in
Row(item)
}Bad:
ForEach(items, id: \.self) { item in // \.self may not be stable
Row(item)
}Good:
ForEach(items, id: \.stableID) { item in
Row(item)
}Bad:
Image(uiImage: UIImage(data: data)!)Good:
// Decode/downsample off main thread, cache the result
@State private var image: UIImage?
.task {
image = await ImageLoader.load(data: data, targetSize: size)
}Bad:
@Observable class Model {
var items: [Item] = []
}
var body: some View {
Row(isFavorite: model.items.contains(item)) // Entire array dependency
}Good:
// Granular view models or per-item state to reduce update fan-out| Issue | Fix |
|---|---|
| Broad state changes | Narrow scope with @State/@Observable closer to leaves |
| Unstable identities | Use stable, unique IDs for ForEach |
| Heavy work in body | Precompute, cache, move to @State |
| Expensive subtrees | Use equatable() or value wrappers |
| Large images | Downsample before rendering |
| Layout complexity | Reduce nesting, use fixed sizing where possible |
Ask user to re-run same capture and compare with baseline:
Provide:
# Build for profiling
xcodebuild -scheme MyApp -configuration Release -destination 'platform=iOS Simulator,name=iPhone 15 Pro' build
# Open in Instruments
open -a Instruments© termio-sh, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/swiftui-performance-audit of termio-sh/termio.
Open the folder on GitHubat commit 1a47d10
Performance Audit 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 |
|---|---|---|---|---|---|---|
| Performance Audit this skilltermio-sh/termio | 540 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Swiftui Protwostraws/SwiftUI-Agent-Skill | 5k | 2 repos | ~1k | 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 | 142 | 5 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Hig Components Contentraintree-technology/hig-doctor | 142 | 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).
termio-sh/termio
Diagnose a termio hang, beachball, crash, or 'it froze again' from the evidence macOS and termio actually leave behind — live process samples, crash and CPU-burn reports, the unified log, the…
termio-sh/termio
Drive the running termio app via AppleScript / System Events to reach a UI state (focus the window, click a sidebar project, a terminal pane, a control), capture a pixel-accurate screenshot of just…
termio-sh/termio
Analyze / reverse-engineer the locally installed Dia Browser mac app (The Browser Company; bundle id company.thebrowser.dia; shares ArcCore with Arc).
termio-sh/termio
Drive App Store Connect from the terminal with the asc CLI — TestFlight builds, groups, testers and What to Test notes; App Store versions, metadata, keywords, screenshots and release notes…
termio-sh/termio
Turn vague customer or user feedback from pasted text, chat excerpts, or screenshots into a clear, evidence-backed GitHub issue without inventing requirements.
termio-sh/termio
Regenerate the landing site's OG/social card (web/landing/public/og.webp) by rendering a temporary in-app route with the real hero WebGL aurora and screenshotting it with headless Chrome.
Works with
Categories
Audit and improve SwiftUI runtime performance. An agent skill from termio-sh/termio. Performance Audit is an agent skill from termio-sh/termio. Audit and improve SwiftUI runtime performance.
Performance Audit fits situations like: requests to diagnose slow rendering; janky scrolling; high CPU/memory usage; excessive view updates.
Run `npx skills add termio-sh/termio --skill performance-audit -a claude-code`. Or copy the skill folder (skills/swiftui-performance-audit in termio-sh/termio) into .claude/skills/performance-audit in your project. Claude Code loads it when a task matches its description.
Run `npx skills add termio-sh/termio --skill performance-audit -a codex`. Or copy the skill folder (skills/swiftui-performance-audit in termio-sh/termio) into .agents/skills/performance-audit 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 termio-sh/termio --skill performance-audit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/performance-audit, .gemini/skills/performance-audit, .github/skills/performance-audit and .opencode/skills/performance-audit in your project.
Going by SKILL.md and its folder, Performance Audit needs the command-line tools its instructions call (xcodebuild).
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.
Performance Audit 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.2k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Performance Audit: Swiftui Pro (twostraws/SwiftUI-Agent-Skill, 5k stars), Swiftui UI Patterns (AFK-surf/OpenBridge, 430 stars), Swiftui Performance Audit (harperreed/dotfiles, 334 stars) and Hig Project Context (raintree-technology/hig-doctor, 142 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
termio-sh (a GitHub organization) maintains it in termio-sh/termio, which has 540 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 6, 2026.
Source: termio-sh/termio on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.