swiftui-dev

swiftui-dev is a skill for Claude Code, Codex from Orkas-AI/Orkas-Awesome-AgentSkills. It costs 131 tokens per session (1,297 once invoked), scanned A, a copy of swiftui-dev, MIT.

A skill for developing and profiling SwiftUI interfaces, Apple's framework for building iPhone, iPad, and Mac user interfaces with Swift. It covers view structure, state updates, architecture, and performance investigation.

In plain words
What is it for?
Use it to refactor SwiftUI views, review Observation and ViewModel choices, audit rendering, and record or analyze Apple Instruments performance traces.
Why use it?
It helps diagnose slow rendering, scrolling problems, excessive view updates, and unclear boundaries between interface code and application logic.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to refactor SwiftUI views, review Observation and ViewModel choices, audit rendering, and record or analyze Apple Instruments performance traces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orkas-ai/orkas-awesome-agentskills/swiftui-dev
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 Orkas-AI/Orkas-Awesome-AgentSkills --skill swiftui-dev
Clone the repo
git clone --depth 1 https://github.com/Orkas-AI/Orkas-Awesome-AgentSkills

Made for: Claude Code, 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-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/orkas-ai/orkas-awesome-agentskills/swiftui-dev/github.svg)](https://agentmods.dev/skills/orkas-ai/orkas-awesome-agentskills/swiftui-dev)
Your own site
<a href="https://agentmods.dev/skills/orkas-ai/orkas-awesome-agentskills/swiftui-dev"><img src="https://agentmods.dev/badge/skills/orkas-ai/orkas-awesome-agentskills/swiftui-dev/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-dev

Your own site · 80×15
<a href="https://agentmods.dev/skills/orkas-ai/orkas-awesome-agentskills/swiftui-dev"><img src="https://agentmods.dev/badge/skills/orkas-ai/orkas-awesome-agentskills/swiftui-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,297 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 86% 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.00131 $0.01297
Opus 5 $0.00066 $0.00648
Sonnet 5 $0.00026 $0.00259
Haiku 4.5 $0.00013 $0.00130

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

Security

Grade A, and why

swiftui-dev 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 7d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/extract_time_samples.py, scripts/record_time_profiler.sh, scripts/top_hotspots.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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

86% identical to swiftui-dev — 19 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.

product/skills/swiftui-dev/SKILL.md · 101 lines

How it starts

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

SwiftUI Dev

Use this skill for SwiftUI development, architecture, structure, performance, and Apple native app profiling. It combines:

  • SwiftUI view refactor and Observation/MV guidance.
  • SwiftUI code-first performance audit.
  • Native macOS/iOS Time Profiler CLI workflow with xctrace, atos, and included scripts.

Do not use this skill for web performance, server profiling, generic PR review, product planning, or non-Apple UI frameworks. For ordinary implementation work without SwiftUI architecture/performance/native profiling concerns, use the development skill.

Route The Work

User intent Read
Refactor SwiftUI View structure, split large body, review Observation / MV / ViewModel boundaries references/swiftui-refactor.md
SwiftUI page is slow, scrolling janks, body updates too often, Instruments trace needs interpretation references/swiftui-performance.md
Record/analyze macOS or iOS native Time Profiler traces from CLI, symbolicate and rank hotspots references/native-trace.md
Need deeper Apple/WWDC context for SwiftUI update causes, hangs, Instruments lanes Read the specific Apple summary files listed in the relevant reference

If the user provides only symptoms, start with code-first SwiftUI review. Ask for trace/screenshots only when code review is inconclusive or the user explicitly wants trace analysis.

Required Inputs

For SwiftUI code review:

  • Target view or feature code.
  • Data flow: @State, @Binding, @Environment, @Observable, @Query, services, models.
  • Symptoms and reproduction steps.
  • Device/OS/build configuration when performance is involved.

For native profiling:

  • App name and binary path, or existing .trace bundle.
  • Attach PID or launch binary path.
  • Slow interaction to exercise during capture.
  • Capture duration, defaulting to 90 seconds.
  • Matching symbols / binary and permission to launch or attach.

Proceed with explicit assumptions for code-only reviews. Stop before profiling if required tools or permissions are missing.

Read the full file on GitHub · 101 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. 7d ago First seen · 101 lines · 0 tokens per session scan A 30d129181a48

Subscribe to this mod's changes

swiftui-dev is a skill published in the GitHub repository Orkas-AI/Orkas-Awesome-AgentSkills (13 stars, last pushed 2mo ago), licensed MIT. It adds 131 tokens to every session and 1,297 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to swiftui-dev, differing in 19 lines, and is treated as a copy.

Related

Other skills, from other repositories