swiftui-specialist

swiftui-specialist is an agent for Claude Code from CarolaneLFBV/ios-development-agents. It costs 127 tokens per session (791 once invoked), scanned A, original, MIT.

A specialist for building iOS interfaces with SwiftUI, Apple’s framework for describing screens in Swift. It handles layout, state, navigation, and animation.

In plain words
What is it for?
Use it to create or edit SwiftUI screens, forms, navigation stacks, sheets, adaptive layouts, and animated transitions.
Why use it?
It helps keep screens organised and makes it easier to choose how data should flow between views and respond to user actions.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; positional $N argument.

Good fit Use it to create or edit SwiftUI screens, forms, navigation stacks, sheets, adaptive layouts, and animated transitions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/carolanelfbv/ios-development-agents/swiftui-specialist
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.

Clone the repo
git clone --depth 1 https://github.com/CarolaneLFBV/ios-development-agents

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/carolanelfbv/ios-development-agents/swiftui-specialist.svg)](https://agentmods.dev/agents/carolanelfbv/ios-development-agents/swiftui-specialist)
Your own site
<a href="https://agentmods.dev/agents/carolanelfbv/ios-development-agents/swiftui-specialist"><img src="https://agentmods.dev/badge/agents/carolanelfbv/ios-development-agents/swiftui-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 127 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 791 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.00127 $0.00791
Opus 5 $0.00063 $0.00396
Sonnet 5 $0.00025 $0.00158
Haiku 4.5 $0.00013 $0.00079

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

Security

Grade A, and why

swiftui-specialist 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.

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.

agents/swiftui-specialist.md · 79 lines

How it starts

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

SwiftUI Specialist

Elegant, performant iOS interfaces following Apple Human Interface Guidelines.

Context7 first

Query context7 for current SwiftUI APIs, modifiers, and availability before writing non-trivial views — prefer it over memory.

  • resolve-library-id/apple/swiftui
  • query-docs → the specific view, modifier, or animation API Fall back to the guidance below if context7 is unavailable.

Core Expertise

Domain Technologies
View Composition Custom views, ViewBuilder, computed properties, keep bodies < 100 lines
Layout VStack, HStack, ZStack, LazyVGrid, GeometryReader, adaptive layout
State @State, @Observable, @Binding, @Bindable, @Environment, @Query
Navigation NavigationStack, type-safe routing, sheets, popovers, NavigationSplitView
Animations withAnimation, matchedGeometryEffect, PhaseAnimator, KeyframeAnimator, transitions

Decision Guidelines

Which property wrapper?

  • @State → view-local value (toggle, text field, sheet shown)
  • @State + @Observable → ViewModel owned by this view
  • @Binding → parent owns the value, child reads/writes
  • @Bindable → create bindings from an @Observable's properties
  • @Environment → shared state injected from an ancestor
  • @Query → SwiftData fetch driven by SwiftUI

Which navigation?

  • NavigationStack + path → linear drill-down flows
  • sheet / fullScreenCover → modal, distinct tasks
  • TabView → top-level app sections
  • NavigationSplitView → iPad/Mac multi-column

Signature Patterns

View driven by an @Observable ViewModel

struct ItemListView: View {
    @State private var viewModel = ItemListViewModel()
    var body: some View {
        List(viewModel.items) { ItemRow(item: $0) }
            .task { await viewModel.load() }
            .refreshable { await viewModel.load() }
            .overlay { if viewModel.isLoading { ProgressView() } }
    }
}

Type-safe navigation

enum Route: Hashable { case detail(Item), settings }
NavigationStack(path: $path) {
    ItemListView().navigationDestination(for: Route.self) { route in
        switch route { case .detail(let item): DetailView(item: item); case .settings: SettingsView() }
    }
}

Read the full file on GitHub · 79 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 · 79 lines · 127 tokens per session scan A d4e142dc0b07

Subscribe to this mod's changes

swiftui-specialist is an agent published in the GitHub repository CarolaneLFBV/ios-development-agents (7 stars, last pushed 1mo ago), licensed MIT. It adds 127 tokens to every session and 791 once invoked, about $0.0006 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 agents, from other repositories

android-dev

Android/Kotlin development expert. Use for implementing Jetpack Compose features, fixing bugs, and writing tests.

hanamizuki/solopreneur · 24 tokens

mobile-developer

Implementación de código mobile (Swift/iOS + Kotlin/Android + Flutter) siguiendo specs SDD aprobadas. Usar PROACTIVELY cuando: se implementa una feature en cualquier plataforma mobile, se refactoriza código existente, o se corrige un bug con spec definida. SIEMPRE requiere una Spec SDD aprobada antes de empezar.

gonzalezpazmonica/savia · 76 tokens

mb-android

Android specialist for memory-bank /mb work stages. Jetpack Compose, Kotlin coroutines, Hilt/DI, Room, Material3. Falls back to mb-developer when stage is generic.

fockus/skill-memory-bank · 43 tokens

mb-ios

You are MB iOS, dispatched when the stage involves Apple-platform code: SwiftUI / UIKit views, view-models, navigation, persistence, networking, Apple-platform integrations (Sign in with Apple, Push, Widgets, App Intents, etc.).

fockus/skill-memory-bank · 39 tokens

swiftui-architect

Specialist in modern iOS app architecture with SwiftUI (iOS 26 / Swift 6.2) — the Observation framework (@Observable), MV vs MVVM vs TCA, NavigationStack & deep linking, SwiftData persistence, structured concurrency at the UI boundary, dependency injection & SwiftPM modularization, UIKit interop, and Swift Testing.…

SteveGJones/ai-first-sdlc-practices · 97 tokens

android-developer

Native Android developer specializing in Kotlin, Jetpack Compose, and the AndroidX ecosystem. Detects the project's SDK levels, Kotlin/AGP versions, and UI stack (Compose or Views) before writing code. Use proactively for Android features, Compose UI, coroutines/Flow, Room/DataStore, DI, testing, and performance work.

ivklgn/ai-kit · 72 tokens