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.
npx skills add Xopoko/build-swift-apps --skill ios-swiftui-architectgit clone --depth 1 https://github.com/Xopoko/build-swift-appsWrote 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.
[](https://agentmods.dev/skills/xopoko/build-swift-apps/ios-swiftui-architect)<a href="https://agentmods.dev/skills/xopoko/build-swift-apps/ios-swiftui-architect"><img src="https://agentmods.dev/badge/skills/xopoko/build-swift-apps/ios-swiftui-architect/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.
<a href="https://agentmods.dev/skills/xopoko/build-swift-apps/ios-swiftui-architect"><img src="https://agentmods.dev/badge/skills/xopoko/build-swift-apps/ios-swiftui-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00043 | $0.00740 |
| Opus 5 | $0.00022 | $0.00370 |
| Sonnet 5 | $0.00009 | $0.00148 |
| Haiku 4.5 | $0.00004 | $0.00074 |
Grade A, and why
ios-swiftui-architect 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
iOS SwiftUI Architect
Use for iOS SwiftUI UI structure and component choices. Read the nearest local example before introducing a new pattern.
Start
- Existing project: identify screen model (list/detail/editor/settings/tab), search for nearby examples (
rg "TabView\\(", etc.), then readreferences/components-index.md. - New app: start with
references/app-wiring.mdfor TabView + NavigationStack + sheets, then expand route/sheet enums as screens appear. - For scroll-driven reveals, read
references/scroll-reveal.mdbefore hand-rolling gestures.
Rules
- Prefer
@State,@Binding,@Observable, and@Environment; avoid unnecessary view models. - If iOS 16 or earlier is supported, use
ObservableObjectwith@StateObjectat the owner and@ObservedObjectfor injection. - Keep views small, composed, and project-formatted.
- Use
.task/.task(id:)with loading/error states; readreferences/async-state.mdfor cancellation/debouncing. - Put shared app services in
@Environment; keep feature-local dependencies as explicit inputs. - Prefer newest SwiftUI APIs that match deployment target and call out minimum OS.
- Maintain legacy patterns only inside legacy files.
- Sheets: prefer
.sheet(item:), avoidif letinside sheet bodies, let sheets calldismiss()internally. - Scroll reveals: derive one normalized progress value from scroll offset instead of parallel gesture state machines when possible.
State Ownership
| Scenario | Pattern |
|---|---|
| Local UI state | @State |
| Child mutates parent value | @Binding |
| Root-owned iOS 17+ reference model | @State with @Observable |
| Injected iOS 17+ observable | explicit stored property |
| Shared service/config | @Environment(Type.self) |
| iOS 16 legacy model | @StateObject owner, @ObservedObject injected |
Choose ownership first; do not introduce a reference model when value state is enough.
New View Workflow
- Define state ownership, dependencies, and minimum OS.
- Sketch hierarchy, routing, and presentation; read navigation/sheet/deeplink refs when complex.
- Build and verify before widening call-site changes.
- Add async loading and explicit error/loading UI when needed.
- Add previews for primary/secondary states and accessibility IDs/labels for interactive UI.
- Validate build/previews/state propagation/list identity/observation scope. If build fails, fix the exact error before continuing.
What ships with it
30 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.
- agents/openai.yaml 266 B
- references/app-wiring.md 6.3 KB
- references/async-state.md 2.8 KB
- references/components-index.md 3.5 KB
- references/controls.md 1.6 KB
- references/deeplinks.md 1.7 KB
- references/focus.md 2.3 KB
- references/form.md 3.0 KB
- references/grids.md 1.8 KB
- references/haptics.md 2.0 KB
- references/input-toolbar.md 1.4 KB
- references/lightweight-clients.md 2.5 KB
- references/list.md 2.7 KB
- references/loading-placeholders.md 1.2 KB
- references/matched-transitions.md 1.6 KB
- references/media.md 2.0 KB
- references/menu-bar.md 2.2 KB
- references/navigationstack.md 4.2 KB
- references/overlay.md 1.2 KB
- references/performance.md 1.9 KB
- references/previews.md 1.6 KB
- references/scroll-reveal.md 5.1 KB
- references/scrollview.md 2.3 KB
- references/searchable.md 1.7 KB
- references/sheets.md 4.2 KB
- references/split-views.md 2.0 KB
- references/tabview.md 3.0 KB
- references/theming.md 1.7 KB
- references/title-menus.md 2.1 KB
- references/top-bar.md 1.3 KB
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.
- 11d ago First seen · 70 lines · 43 tokens per session scan A a4aa1c75aae7
ios-swiftui-architect is a skill published in the GitHub repository Xopoko/build-swift-apps (45 stars, last pushed 14d ago), licensed MIT. It adds 43 tokens to every session and 740 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-08-30.
Other skills, from other repositories
mobile-rn-screen
Polish an existing React Native screen to feel intentional, native, and human-crafted. Use for "this screen looks off", "feels clunky on iOS", "Android version looks wrong", "jank when scrolling", "button is unreachable", or any RN-specific UX polish pass.
apple-hig-sf-symbols
Use when choosing, reviewing, or implementing SF Symbols in an Apple-platform app — picking meaningful symbols, keeping the same concept on the same symbol everywhere, and handling variants, rendering modes, and accessibility.
Audit Apple-platform UI work against Human Interface Guidelines with HIG Doctor
Run a repeatable HIG compliance audit over app code before shipping UI changes, then use the findings to guide remediation.
apple-hig-feedback-status
Use when designing or implementing feedback, status, progress, alerts, errors, success states, and live activity indicators in Apple-platform apps — inline status, banners, alerts, notifications, and loading states.
apple-hig-settings
Use when designing, reviewing, or implementing Settings/Preferences for Apple-platform apps — what belongs in Settings vs Inspector/Toolbar, grouped forms, native controls, secure storage, launch at login, and destructive actions.
apple-hig-sidebars
Use when designing, reviewing, or implementing a sidebar for an Apple-platform app — top-level navigation only, grouped sections, NavigationSplitView, consistent SF Symbols, and safe compact-width behavior.