swiftui-expert

swiftui-expert is a skill for Claude Code from Aarvion-AI/stackwise-skills. It costs 151 tokens per session (2,509 once invoked), scanned A, original, MIT.

A specialist guide for building native iPhone and iPad apps with SwiftUI, Apple’s framework for creating app interfaces in Swift.

In plain words
What is it for?
Creating or fixing SwiftUI screens, state handling, navigation, SwiftData storage, asynchronous networking, performance issues, and Swift Testing or UI tests.
Why use it?
It helps avoid outdated patterns and addresses current Swift 6 issues involving app state, concurrency, navigation, storage, networking, and testing.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the stackwise plugin — 15 skills shipped together

Good fit Creating or fixing SwiftUI screens, state handling, navigation, SwiftData storage, asynchronous networking, performance issues, and Swift Testing or UI tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aarvion-ai/stackwise-skills/swiftui-expert
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 Aarvion-AI/stackwise-skills --skill swiftui-expert
Clone the repo
git clone --depth 1 https://github.com/Aarvion-AI/stackwise-skills

Made for: Claude Code.

Or install stackwise, the plugin that ships this one along with the rest of its 15 skills.

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-expert

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aarvion-ai/stackwise-skills/swiftui-expert"><img src="https://agentmods.dev/badge/skills/aarvion-ai/stackwise-skills/swiftui-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,509 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 original No closer match found 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.00151 $0.02509
Opus 5 $0.00076 $0.01255
Sonnet 5 $0.00030 $0.00502
Haiku 4.5 $0.00015 $0.00251

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

Security

Grade A, and why

swiftui-expert 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 9d 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.

skills/swiftui-expert/SKILL.md · 146 lines

How it starts

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

SwiftUI Expert

Turns Claude into a senior iOS engineer who ships Swift 6 / iOS 18+ SwiftUI - Observation-based state, strict concurrency that compiles, SwiftData, NavigationStack - instead of the ObservableObject/NavigationView idioms that dominate training data.

When to Use This Skill

  • Building screens, components, or features in a SwiftUI app
  • Wiring state with the Observation framework (@Observable, @Bindable, @State) or migrating off ObservableObject/@Published
  • Fixing Swift 6 strict-concurrency compile errors (Sendable, actor isolation, @MainActor)
  • Navigation with NavigationStack/NavigationPath: programmatic routing, deep links, split views
  • Persistence with SwiftData (@Model, @Query) or deciding SwiftData vs Core Data
  • Async/await networking with URLSession and dependency injection via @Environment
  • Diagnosing unnecessary body re-evaluation, view-identity bugs, or slow lists
  • Writing Swift Testing (@Test, #expect) and XCTest/XCUITest suites, including accessibility identifiers for UI testability

Core Workflow

  1. Analyze - Read the project first: deployment target and SWIFT_VERSION/SWIFT_STRICT_CONCURRENCY (and Swift 6.2 default-isolation settings) in project.pbxproj or Package.swift, existing state pattern (Observation vs legacy ObservableObject), navigation setup, persistence layer, and test targets. List schemes/simulators with xcodebuild -list and xcrun simctl list devices available. Match the project's conventions; propose migration only when the task is a migration.
  2. Implement - Write the change with current idioms: @Observable classes owned by @State and injected via .environment(...), value-type views, NavigationStack with typed paths, structured concurrency (async let, TaskGroup) over unstructured Task {}, SwiftData @Model/@Query where the project uses it. Add .accessibilityIdentifier(...) to any interactive element a UI test will need.
  3. Verify build - Run xcodebuild -scheme <Scheme> -destination 'platform=iOS Simulator,name=iPhone 16' build (or swift build for a package); fix all reported issues and re-run until clean before proceeding. Treat concurrency warnings as errors - under Swift 6 language mode they are.
  4. Lint - Run swiftlint (use swiftlint --strict if the project's CI does); fix all reported issues and re-run until clean. Respect the project's .swiftlint.yml; do not disable rules inline to silence findings.
  5. Test - Write or update tests for the change (Swift Testing @Test/#expect for new tests; keep existing XCTest suites in their framework), then run xcodebuild -scheme <Scheme> -destination 'platform=iOS Simulator,name=iPhone 16' test (or swift test for a package); fix all failures and re-run until every test passes.
  6. Prove it works - Exercise the changed flow: confirm the relevant #Preview renders the states you touched (loading/error/data), or build-and-run on a simulator (xcrun simctl launch) and walk the flow. For performance work, verify in Instruments (SwiftUI template: View Body / Cause & Effect) that body re-evaluation actually dropped.

Read the full file on GitHub · 146 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 146 lines · 151 tokens per session scan A 30b925268b18

Subscribe to this mod's changes

swiftui-expert is a skill published in the GitHub repository Aarvion-AI/stackwise-skills (5 stars, last pushed 6d ago), licensed MIT. It adds 151 tokens to every session and 2,509 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

swift-patterns

Swift and SwiftUI development patterns for building native iOS/iPadOS applications. Use when implementing views, view models, data persistence, networking, concurrency, and navigation. Covers Swift 6.2, SwiftUI, SwiftData, iOS 26 features including Liquid Glass and Foundation Models.

shahtuyakov/claude-setup · 63 tokens

build-android-binary

Compile a PAM control's Android Kotlin module into the runtime-loadable DEX for a .ppmplugin. Creates a staged Gradle build with the pinned wrapper and react-android compile dependency, verifies manifest/module/package alignment and runtime-loading constraints, builds the release AAR, then runs d8 --min-api 24. Writes…

microsoft/power-platform-skills · 150 tokens

kotlin-patterns

Kotlin: coroutines, Flow, sealed/data classes, null safety, Ktor, Compose, KMP. Triggers: Kotlin, coroutine, Flow, suspend, Ktor, Jetpack Compose, KMP, kotlinx.

softspark/ai-toolkit · 51 tokens

swift-patterns

Swift/iOS: SwiftUI, Combine, async/await, actors, SPM, Core Data, UIKit interop. Triggers: Swift, SwiftUI, Combine, iOS, Xcode, actor, Core Data, @MainActor, @State.

softspark/ai-toolkit · 57 tokens

generators

Code generator skills that produce production-ready Swift code for common app components. Use when user wants to add logging, analytics, onboarding, review prompts, networking, authentication, paywalls, settings, persistence, error monitoring, CI/CD pipelines, localization, push notifications, deep linking, testing…

rshankras/claude-code-apple-skills · 176 tokens

android-development

Android development with Kotlin, Jetpack Compose, and modern Android architecture. Use when building Android apps, implementing Material Design, or following Android best practices.

travisjneuman/.claude · 33 tokens