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 agentmods add skills/gaelic-ghost/socket/swiftui-app-architecture-workflownpx skills add gaelic-ghost/socket --skill swiftui-app-architecture-workflowgit clone --depth 1 https://github.com/gaelic-ghost/socketWrote 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/gaelic-ghost/socket/swiftui-app-architecture-workflow)<a href="https://agentmods.dev/skills/gaelic-ghost/socket/swiftui-app-architecture-workflow"><img src="https://agentmods.dev/badge/skills/gaelic-ghost/socket/swiftui-app-architecture-workflow.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00088 | $0.02718 |
| Opus 5 | $0.00044 | $0.01359 |
| Sonnet 5 | $0.00018 | $0.00544 |
| Haiku 4.5 | $0.00009 | $0.00272 |
Grade A, and why
swiftui-app-architecture-workflow 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 yesterday.
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 — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SwiftUI App Architecture Workflow
Purpose
Provide a docs-first workflow for SwiftUI app-structure decisions in Apple apps. This skill owns ownership-boundary guidance, direct concrete feature-service guidance, transport-choice guidance, focused-context guidance, and anti-pattern correction for SwiftUI app composition across scenes, commands, focus, environment, preferences, and reusable view structure.
It is not the Apple-docs router, not the accessibility workflow, and not the Xcode execution workflow.
SwiftUI View File Rule
SwiftUI is declarative component UI, closer to React, F# Fabulous, and Elm than to imperative AppKit or UIKit code. Each independently reusable View must stand on its own: render from its inputs and framework-managed state, own its local presentation state, and expose intent through narrow actions. Do not make an external ViewModel, store, coordinator, manager, service, or observable object part of a reusable view's public API.
Use the project's explicit three-letter prefix for every project-owned view file and declaration. Name a view GEAWhateverView.swift and an extracted custom modifier GEAWhateverViewModifier.swift. Never use + filenames. Prefer the memberwise initializer Swift synthesizes for a view's stored value, binding, and action properties; do not write an explicit initializer unless it adds real behavior that a memberwise initializer cannot express.
A view component that is complex enough to edit or preview independently must have its own file. Simple private computed view properties and small private helper views may remain in the owning file while they keep that component easy to preview, navigate, and edit. Extract them as soon as they clutter that workflow.
Name an extracted child from its complete composition owner: a toggle card inside GEASettingsSheetView.swift becomes GEASettingsSheetToggleCard.swift. This rule also applies outside views, such as GEAWhateverServiceAdapter.swift.
Extract a custom ViewModifier when a view accumulates more than eight chained modifiers, or earlier when a coherent chain is reusable or obscures the view body. Use view-local @Observable state only when plain @State, derived values, bindings, and small local helpers no longer keep the component readable; create and own that state inside the component with @State, never as an external ViewModel dependency. Runtime/domain values use bare names such as GEAWhatever; persistence Model naming belongs to swiftdata-workflow.
What ships with it
9 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 999 B
- references/anti-patterns-and-corrections.md 4.2 KB
- references/app-and-scene-structure.md 7.5 KB
- references/architecture-decision-rules.md 3.4 KB
- references/commands-and-focus.md 4.3 KB
- references/environment-and-preferences.md 6.5 KB
- references/focus-and-focused-context.md 5.6 KB
- references/navigation-splitview-sidebar-and-inspector.md 8.3 KB
- references/snippets/apple-xcode-project-core.md 26 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.
- yesterday First seen · 182 lines · 88 tokens per session scan A e7306818cee4
swiftui-app-architecture-workflow is a skill published in the GitHub repository gaelic-ghost/socket (7 stars, last pushed 9d ago), licensed Apache-2.0. It adds 88 tokens to every session and 2,718 once invoked, about $0.0004 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.
Other skills, from other repositories
app-store-optimization
Improves visibility and conversion in the App Store and Google Play — metadata, keywords, screenshots, ratings, and the listing experience that turns an impression into an install. Use this to audit or optimize an app listing, plan a launch listing, diagnose poor install conversion, or improve store search visibility.
flutter-ui
Build Flutter UI from Figma MCP or image input. Scans src for design tokens (colors, sizes, text styles), existing components, and naming conventions before writing a single line of code. Never hard-codes values.
flutter-dart-code-review
Library-agnostic Flutter/Dart code review checklist covering widget best practices, state management patterns (BLoC, Riverpod, Provider, GetX, MobX, Signals), Dart idioms, performance, accessibility, security, and clean architecture.
setup
Start DeployGate onboarding — set up app distribution from first upload to team-wide deployment.
pipeline
Use when the user wants a feature idea taken end-to-end in one autonomous run — phrases like "run the whole pipeline", "take this feature from idea to finished branch", "brainstorm then build it autonomously", "do everything from idea to merged", "implement all phases without stopping". Triggers when they want…
sdk-setup
Add the DeployGate SDK to your Android app for crash reporting and screen capture.