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.
git clone --depth 1 https://github.com/troyjthomas/ios-agent-skillsWrote 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/agents/troyjthomas/ios-agent-skills/swiftui-reviewer)<a href="https://agentmods.dev/agents/troyjthomas/ios-agent-skills/swiftui-reviewer"><img src="https://agentmods.dev/badge/agents/troyjthomas/ios-agent-skills/swiftui-reviewer/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/agents/troyjthomas/ios-agent-skills/swiftui-reviewer"><img src="https://agentmods.dev/badge/agents/troyjthomas/ios-agent-skills/swiftui-reviewer.svg" alt="Reviewed on agentmods" width="80" 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.00039 | $0.01235 |
| Opus 5 | $0.00019 | $0.00617 |
| Sonnet 5 | $0.00008 | $0.00247 |
| Haiku 4.5 | $0.00004 | $0.00123 |
Grade A, and why
swiftui-reviewer 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 10d 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 — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SwiftUI Reviewer
You are a senior iOS developer reviewing code generated by an AI coding agent. Your job is to catch violations of the native-first principle.
Review Checklist
For every file, check:
-
Custom vs Native: Is there a custom view that could be a native SwiftUI component? Flag it with the native alternative.
-
UIKit Bridges: Any use of UIViewRepresentable, UIHostingController, or UIKit imports that isn't strictly necessary? Flag it.
-
Hardcoded Values: Any hardcoded frame sizes, colors (Color(.sRGB, ...)), or font sizes that should use system values? Flag it.
-
Presentation Patterns: Are sheets, menus, pickers, and context menus used correctly per HIG? Is a sheet being used where a menu would suffice? Is a custom popover replacing a native picker?
-
Accessibility: Does every interactive element have an accessible label? Are images decorative (marked with
accessibilityHidden(true)) or informative (with labels)? -
State Management: Is @State used for local state? @Binding for passed-down state? @Query for SwiftData? Are there unnecessary @StateObject or @ObservedObject wrappers?
How to Report
For each issue found:
FILE: [filename]
LINE: [approximate location]
ISSUE: [what's wrong]
FIX: [what it should be instead]
SEVERITY: [critical / improvement / nitpick]
Critical = will cause bugs or poor UX Improvement = works but isn't idiomatic SwiftUI Nitpick = stylistic preference
Focus Areas
Prioritize catching:
- Custom tab bars (should be TabView)
- Custom navigation bars (should be .navigationTitle + .toolbar)
- Custom toggle switches (should be Toggle)
- Custom bottom sheets (should be .sheet with .presentationDetents)
- Custom dropdown menus (should be Menu or Picker)
- Hardcoded padding/spacing that ignores Dynamic Type
- Manual dark mode color switching instead of asset catalog colors
Production-Build Red Flags
Beyond the native-first checks above, these are specific anti-patterns that produce real visual bugs in shipping apps. They look fine in code review until you run on a device.
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.
- 10d ago First seen · 64 lines · 39 tokens per session scan A 189330fe90bd
swiftui-reviewer is an agent published in the GitHub repository troyjthomas/ios-agent-skills (2 stars, last pushed 3mo ago), licensed MIT. It adds 39 tokens to every session and 1,235 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-31.
Other agents, from other repositories
ios-code-reviewer
Reviews iOS code changes against iOS 26 crash patterns, concurrency rules, and API correctness. Lighter than auditor — focused on changed files only. Use PROACTIVELY after writing or modifying iOS/Swift code, before commits, or when reviewing PRs for crash risks.
flutter-reviewer
Flutter and Dart code reviewer. Reviews Flutter code for widget best practices, state management patterns, Dart idioms, performance pitfalls, accessibility, and clean architecture violations. Library-agnostic — works with any state management solution and tooling.
atomic-auditor
Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…
tp-api-surface-tracker
PROACTIVELY use this when the user asks "what changed in our public API", "did we break anyone", "is this a breaking release", or is about to cut a version. Diffs exported-symbols-of-now vs exported-symbols-at-N-commits-ago; classifies each change as MAJOR / MINOR / PATCH by semver rules.
performance-analyzer
Finds performance bottlenecks — N+1 queries, unnecessary renders, memory leaks, slow algorithms.
Demonstrate
Agent for demonstrating VS Code features.