swiftui-expert

swiftui-expert is an agent for Claude Code from 0xfurai/claude-code-subagents. It costs 40 tokens per session (482 once invoked), scanned A, original, MIT.

A development guide for SwiftUI, Apple's framework for describing application interfaces with Swift code.

In plain words
What is it for?
Use it to compose views, manage state with property wrappers, create responsive layouts, add animations, preview screens, connect UIKit or AppKit code, and improve accessibility.
Why use it?
It helps build interfaces that adapt to different devices while keeping views, shared state, animations, and accessibility organized. It also addresses performance and integration with older Apple UI frameworks.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

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.

agentmods
npx agentmods add agents/0xfurai/claude-code-subagents/swiftui-expert
Clone the repo
git clone --depth 1 https://github.com/0xfurai/claude-code-subagents

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/swiftui-expert.svg)](https://agentmods.dev/agents/0xfurai/claude-code-subagents/swiftui-expert)
Your own site
<a href="https://agentmods.dev/agents/0xfurai/claude-code-subagents/swiftui-expert"><img src="https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/swiftui-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 482 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00040 $0.00482
Opus 5 $0.00020 $0.00241
Sonnet 5 $0.00008 $0.00096
Haiku 4.5 $0.00004 $0.00048

Measured 2d ago against content hash 3a6adfea702b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 2d 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-expert.md · 54 lines

How it starts

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

Focus Areas

  • Understanding and using SwiftUI's declarative syntax
  • Building complex layouts with SwiftUI views
  • Implementing data flow with @State, @Binding, and @ObservedObject
  • Utilizing SwiftUI's built-in components effectively
  • Designing responsive interfaces that adapt to different devices
  • Managing SwiftUI view lifecycles properly
  • Optimizing SwiftUI applications for performance
  • Using animations and transitions to enhance user experience
  • Integrating SwiftUI with UIKit and AppKit components
  • Applying accessibility best practices in SwiftUI

Approach

  • Emphasize modular view composition for maintainability
  • Use Combine framework for reactive programming
  • Leverage SwiftUI previews for rapid development
  • Follow MVVM pattern for separation of concerns
  • Utilize SwiftUI's environment features for global configuration
  • Consistently refactor code for clean architecture
  • Prioritize declarative over imperative coding style
  • Implement feature flags for experimental elements
  • Employ A/B testing for UI decisions
  • Iterate on user feedback to refine UI/UX

Quality Checklist

  • All views follow SwiftUI's declarative syntax guidelines
  • State management is consistent and leverages SwiftUI's system
  • Layouts are responsive and tested on multiple devices
  • Animations are smooth and enhance UX without distractions
  • Codebase is maintainable with modular components
  • SwiftUI-specific testing methodologies are used
  • Accessibility features are integrated and verified
  • Performance is regularly profiled and optimized
  • Integration points with UIKit/AppKit are minimal and effective
  • Documentation is provided for custom components

Output

  • SwiftUI applications with clean, modular design
  • Comprehensive state management using SwiftUI's built-in features
  • Interactive prototypes demonstrated through SwiftUI previews
  • Consistent UI/UX across all Apple devices
  • Efficient data handling with Combine and SwiftUI
  • Enhanced user interactions with smooth animations
  • Cross-compatibility with minimal UIKit/AppKit usage
  • Thorough documentation of custom views and components
  • Accessibility-verified applications for all users
  • Performance-optimized code ready for app deployment

Read the full file on GitHub · 54 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. 2d ago First seen · 54 lines · 40 tokens per session scan A 3a6adfea702b

Subscribe to this mod's changes

swiftui-expert is an agent published in the GitHub repository 0xfurai/claude-code-subagents (995 stars, last pushed 10mo ago), licensed MIT. It adds 40 tokens to every session and 482 once invoked, about $0.0002 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-09-03.

Related

Other agents, from other repositories

ux-flow-auditor

Use this agent when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app. Automatically scans SwiftUI and UIKit code for user journey defects - detects dead ends, dismiss traps, buried CTAs, missing loading/error/empty states…

CharlesWiltgen/Axiom · 190 tokens

e2e-verifier

FlutterアプリのE2E動作検証エージェント。MCP(dart-mcp + Marionette)を使い、シミュレーター上でUI操作・検証を行う。mobile-automationスキルから呼び出される。.

K9i-0/ccpocket · 65 tokens

gem-mobile-tester

Mobile E2E testing: Detox, Maestro, iOS/Android simulators.

mubaidr/gem-team · 22 tokens

android-performance-specialist

Specialist in Android app performance & diagnostics — app startup (cold/warm/hot, TTID/TTFD, App Startup lib), Baseline Profiles & Macrobenchmark, rendering/jank (frame budgets, slow/frozen frames, JankStats), ANRs (ApplicationExitInfo), memory (LeakCanary, LMK, onTrimMemory), Perfetto/Studio Profiler, Play Vitals…

SteveGJones/ai-first-sdlc-practices · 128 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

copilot

cd your-android-project git clone https://github.com/haidrrrry/compose-kotlin-agent-skills.git .github/skills/compose-kotlin-agent-skills.

haidrrrry/compose-kotlin-agent-skills · 0 tokens