swiftui-specialist

swiftui-specialist is an agent for Claude Code from johnrogers/claude-swift-engineering. It costs 24 tokens per session (760 once invoked), scanned A, original, MIT.

A specialist for building SwiftUI user-interface views that follow Apple's Human Interface Guidelines. SwiftUI is Apple's framework for describing app screens in code.

In plain words
What is it for?
Implement accessible iPhone and Apple-platform screens after the core application or TCA implementation is complete, including reusable view components and local view state.
Why use it?
It keeps screen-rendering code separate from business rules, network requests, storage, and other application work. That makes the view layer focused on displaying state and sending user actions.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the swift-engineering plugin — 17 skills, 3 commands, 11 agents shipped together

Good fit Implement accessible iPhone and Apple-platform screens after the core application or TCA implementation is complete, including reusable view components and local view state.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/johnrogers/claude-swift-engineering/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/johnrogers/claude-swift-engineering

Made for: Claude Code.

Or install swift-engineering, the plugin that ships this one along with the rest of its 17 skills, 3 commands, 11 agents.

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/johnrogers/claude-swift-engineering/swiftui-specialist/github.svg)](https://agentmods.dev/agents/johnrogers/claude-swift-engineering/swiftui-specialist)
Your own site
<a href="https://agentmods.dev/agents/johnrogers/claude-swift-engineering/swiftui-specialist"><img src="https://agentmods.dev/badge/agents/johnrogers/claude-swift-engineering/swiftui-specialist/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-specialist

Your own site · 80×15
<a href="https://agentmods.dev/agents/johnrogers/claude-swift-engineering/swiftui-specialist"><img src="https://agentmods.dev/badge/agents/johnrogers/claude-swift-engineering/swiftui-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 760 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.00024 $0.00760
Opus 5 $0.00012 $0.00380
Sonnet 5 $0.00005 $0.00152
Haiku 4.5 $0.00002 $0.00076

Measured 9d ago against content hash d5464d65dbad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 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.

plugins/swift-engineering/agents/swiftui-specialist.md · 108 lines

How it starts

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

SwiftUI View Implementation

Identity

You are an expert in SwiftUI and Apple Human Interface Guidelines.

Mission: Implement declarative views that are accessible and HIG-compliant. Goal: Produce beautiful, accessible SwiftUI views with NO business logic.

Context

IMPORTANT: Your system prompt contains today's date - use it for ALL API research, documentation, and deprecation checks. If you struggle with a framework/API, it may have changed since your training - search for current documentation. Platform: iOS 26.0+, Swift 6.2+, Strict concurrency

Views Are Declarative Only

Views MAY:

  • Render state from Observable objects or TCA Store
  • Send user intent via method calls or actions
  • Use @Environment, @State for local view state only
  • Apply view modifiers and compose other views

Views MUST NEVER:

  • Contain business logic
  • Perform side effects
  • Run async work directly (use .task modifier)
  • Access persistence layers directly
  • Make network requests

View Simplification Rules

  1. Extract independent parts into computed properties
  2. Break large views into smaller, composable views
  3. Create custom ViewModifiers for repeated modifier chains
  4. One view per file for non-trivial components
  5. Keep views dumb — no logic, no side effects

Skill Usage (REQUIRED)

You MUST invoke skills before implementing views. Pre-loaded skills provide context, but you must actively use the Skill tool for implementation details.

When implementing... Invoke skill
View patterns, @Observable swiftui-patterns
Advanced gestures, layout swiftui-advanced
Accessibility, navigation ios-hig
Concurrency in views modern-swift

Process: Before writing any view code, invoke relevant skills to ensure HIG compliance and modern patterns.

State Management

  • @State / @Binding for simple local view state only
  • @Observable classes for complex/shared state
  • @Environment for cross-cutting concerns
  • Avoid large @State variables (causes performance issues)

Read the full file on GitHub · 108 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. 9d ago First seen · 108 lines · 24 tokens per session scan A d5464d65dbad

Subscribe to this mod's changes

swiftui-specialist is an agent published in the GitHub repository johnrogers/claude-swift-engineering (228 stars, last pushed 7mo ago), licensed MIT. It adds 24 tokens to every session and 760 once invoked, about $0.0001 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-30.

Related

Other agents, from other repositories

Mobile App Builder

Specialized mobile application developer with expertise in native iOS/Android development and cross-platform frameworks.

SHAdd0WTAka/Zen-Ai-Pentest · 22 tokens

platform-adapter

Doc-driven platform integration agent. Converts web apps to LINE MINI App (LIFF SDK), PWA (Next.js), and Capacitor (iOS/Android); Expo & Tauri are secondary/legacy. Delegate when: user requests LINE, mobile/app-store, or desktop app conversion. Always pulls current official docs before writing platform code — no…

wasintoh/toh-framework · 92 tokens

rn-architect

React Native mobile implementer (frontend aspect). Replaces vanilla developer/node-architect/react-architect when react-native is in dependencies. Covers BOTH Expo (managed/dev-client) and bare RN CLI workflows. Knows React Navigation + Expo Router, native storage choice (AsyncStorage/MMKV/SecureStore/Keychain)…

AratKruglik/claude-sdlc · 159 tokens

tauri-desktop

Senior engineer for latency-critical, high-frequency streaming workloads. TRIGGER WHEN: building or reviewing Tauri v2 desktop apps with React: IPC and command design, capabilities and permissions, window and system tray, shell plugin, WebView tuning (WebView2, WKWebView, WebKitGTK), bundling, signing, auto-updates…

acaprino/daodan · 116 tokens

frontend-engineer

Frontend/Mobile Engineer. Implements UI, app logic, API integration. Follows Clean Architecture.

sandeep84397/agent-brain · 23 tokens

flutter-builder

Expert Flutter developer for implementing production-ready features with clean code, proper widget composition, and responsive design. Masters Flutter UI, state management implementation, and platform-specific integrations.

smicolon/ai-kit · 36 tokens