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 mathisk2095/jko-claude-plugins --skill swiftui-expertgit clone --depth 1 https://github.com/mathisk2095/jko-claude-pluginsWrote 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/mathisk2095/jko-claude-plugins/swiftui-expert)<a href="https://agentmods.dev/skills/mathisk2095/jko-claude-plugins/swiftui-expert"><img src="https://agentmods.dev/badge/skills/mathisk2095/jko-claude-plugins/swiftui-expert.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.1 | $0.00162 | $0.02040 |
| Opus 5 | $0.00081 | $0.01020 |
| Sonnet 5 | $0.00032 | $0.00408 |
| Haiku 4.5 | $0.00016 | $0.00204 |
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 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.
How it starts
The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SwiftUI Expert
Provide expert guidance on SwiftUI development. Detect the project's deployment target and Swift version from Package.swift, .xcodeproj, or project settings and adapt guidance accordingly. Apply modern API usage, clean code principles, design craft, accessibility, and performance best practices. Do not invent APIs — if unsure, say so.
Core Principles
- Target the latest stable iOS and Swift unless the project specifies otherwise. Check the deployment target before suggesting version-gated APIs.
- Prefer SwiftUI-native solutions. Avoid UIKit unless explicitly needed or for gaps SwiftUI cannot fill.
- Do not introduce third-party frameworks without asking first.
- Each type (struct, class, enum) belongs in its own file. Flag files with multiple type definitions.
- Use a feature-based folder structure, not layer-based (no "ViewModels/" folder).
- Code must adhere to Apple's Human Interface Guidelines.
Modern API — Always Use
Replace deprecated API immediately. See references/modern-api.md for the complete table.
Key replacements:
foregroundStyle()notforegroundColor()clipShape(.rect(cornerRadius:))notcornerRadius()NavigationStack/NavigationSplitViewnotNavigationView@ObservablenotObservableObject/@Published/@StateObject/@ObservedObjectnavigationDestination(for:)notNavigationLink(destination:)TabAPI nottabItem()sensoryFeedback()not UIKit haptics#PreviewnotPreviewProvidercontainerRelativeFrame()orvisualEffect()notGeometryReader(when possible)Task.sleep(for:)notTask.sleep(nanoseconds:)@Entrymacro for custom environment/focus/transaction keys
State Management
@Statemust beprivate. It is owned by the view that creates it.@Observableclasses must be@MainActor(unless the project uses default MainActor isolation).- Use
@Statefor ownership of@Observableobjects,@Bindablefor bindings to them,@Environmentfor passing them. - Never use
@AppStorageinside@Observableclasses — it will not trigger view updates. - Never create
Binding(get:set:)in body — use@State+onChange(). - Nested
@Observableworks fine. NestedObservableObjectdoes not propagate changes. - For
@Observableclasses, mark properties you don't want tracked with@ObservationIgnored.
What ships with it
10 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.
- references/accessibility.md 4.0 KB
- references/animation.md 4.5 KB
- references/concurrency.md 4.3 KB
- references/design-craft.md 11 KB
- references/liquid-glass.md 4.6 KB
- references/modern-api.md 5.0 KB
- references/navigation.md 4.0 KB
- references/performance.md 5.1 KB
- references/state-data.md 3.6 KB
- references/view-composition.md 4.8 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.
- 7d ago First seen · 141 lines · 162 tokens per session scan A 82f798ebe979
swiftui-expert is a skill published in the GitHub repository mathisk2095/jko-claude-plugins (3 stars, last pushed yesterday), licensed MIT. It adds 162 tokens to every session and 2,040 once invoked, about $0.0008 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.
Other skills, from other repositories
swiftui-expert
This skill should be used when SwiftUI work requires judgment about Observation and state ownership, view identity or lifecycle, navigation, app-target concurrency, persistence, Apple-platform behavior, accessibility, performance, or architecture. Trigger on "review this SwiftUI screen", "why isn't this view…
validate-mobile
Run a Maestro flow on an explicitly selected iOS or Android device and report behavioral evidence.
build-android-binary
Compile a PAM control's Android Kotlin module into the runtime-loadable DEX for a .ppmplugin. Creates a staged Gradle build with the pinned wrapper and react-android compile dependency, verifies manifest/module/package alignment and runtime-loading constraints, builds the release AAR, then runs d8 --min-api 24. Writes…
build-ios-binary
Compile a PAM control's iOS Obj-C/Swift module into the FLAT device-slice .framework for a .ppmplugin bundle (never an .xcframework — the wrap CI won't descend into one). Mac-only (Xcode). Builds from a throwaway staged copy so canonical ios/ and the podspec stay untouched, references React-Core headers only (React is…
peekaboo
Provides runtime observation and interaction for native macOS interfaces through accessibility state and screenshots. Use when the task depends on visible or interactive state in a running SwiftUI/AppKit app: what is rendered, focused, selected, enabled, reachable through menus/windows/dialogs, or experienced across a…
mobile-flows-maestro
This skill should be used when Maestro is explicitly requested or already present and the task is to author, run, or debug iOS/Android Maestro flows; use Maestro MCP; or handle Maestro selectors, system UI, permissions, Keychain, JavaScript, waits, device state, flakiness, or CI. Evidence includes a .maestro directory…