swiftui-code-review

swiftui-code-review is a skill for Claude Code, Codex from beel-collab/presets.dev. It costs 45 tokens per session (901 once invoked), scanned A, original, MIT.

A SwiftUI code-review guide for checking Swift code that builds user interfaces on Apple platforms. It focuses on safe concurrency, data observation, and updates that must happen on the main actor, the part of an app responsible for changing the screen.

In plain words
What is it for?
Use it to review SwiftUI views, data models, and concurrency changes. It checks the deployment target and Swift tools version and flags APIs or patterns that do not fit the project.
Why use it?
It helps catch UI updates from the wrong execution context and other concurrency mistakes before they cause compiler errors or inconsistent screens. It also avoids hiding these problems with unsafe workarounds.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; $skill-name invocation.

Good fit Use it to review SwiftUI views, data models, and concurrency changes. It checks the deployment target and Swift tools version and flags APIs or patterns that do not fit the project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/beel-collab/presets.dev/swiftui-code-review
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.

Any agent
npx skills add beel-collab/presets.dev --skill swiftui-code-review
Clone the repo
git clone --depth 1 https://github.com/beel-collab/presets.dev

Made for: Claude Code, Codex.

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-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/beel-collab/presets.dev/swiftui-code-review/github.svg)](https://agentmods.dev/skills/beel-collab/presets.dev/swiftui-code-review)
Your own site
<a href="https://agentmods.dev/skills/beel-collab/presets.dev/swiftui-code-review"><img src="https://agentmods.dev/badge/skills/beel-collab/presets.dev/swiftui-code-review/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.

agentmods 80×15 button for swiftui-code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/beel-collab/presets.dev/swiftui-code-review"><img src="https://agentmods.dev/badge/skills/beel-collab/presets.dev/swiftui-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 901 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00045 $0.00901
Opus 5.5 $0.00018 $0.00360
Sonnet 5.5 $0.00009 $0.00180
Haiku 4.5 $0.00005 $0.00090

Measured 17d ago against content hash 750fdc384949, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

swiftui-code-review 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 17d 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.

antigravity/swiftui/swiftui-code-review/SKILL.md · 85 lines

How it starts

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

SwiftUI Code Review Skill for Antigravity CLI

Install

Install the native export at .agents/skills/swiftui-code-review/SKILL.md (one file shared with Codex). Copy that export, not this catalog file. Catalog fields such as tools and author are for presets.dev. Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read .agents/skills, so a second copy with the same name collides.

SwiftUI Code Review

Shared skill swiftui-code-review for SwiftUI. Codex and Antigravity CLI both read .agents/skills/swiftui-code-review/SKILL.md. Install this one file. Codex calls it with $swiftui-code-review or /skills. Cursor, GitHub Copilot, and Devin also read .agents/skills. A second copy with the same name collides. Do not install another tool's file there.

When to run

Run this review for a SwiftUI view, a model, or a concurrency change.

When to leave it

Stop for a non-Swift repository. Do not change the deployment target or the Swift tools version unless the user asked.

Steps

  1. Read the Swift tools version and the deployment target. An API used below that target is a high finding. @unchecked Sendable added in the diff is a high finding unless a comment proves the invariant.
  2. Check UI updates. A published property written from a non-main-actor task is a high finding.
  3. Search for try? and ! on decoded or optional values. Each one that hides a failure is a finding.
  4. Check task lifetime. .task is cancelled with the view. A plain Task { } with no stored handle and no cancel() is a finding. A task that never checks cancellation during a long loop is a finding.
  5. Note tests. Run the project's test action only if the user asked. Otherwise write not run.

Output

Findings with severity, file, line, the isolation or availability issue, and a fix.

## Findings
- high | path:line | what is wrong | what to do instead

## No findings
Say "No findings" and list the files you opened. A search you skipped is not a clean result.

## Example
Input: `ProfileView.body` starts `Task { await model.load() }`, so every redraw starts another load.
Output: high | ProfileView.swift:11 | the load is an unstructured task in `body` | use `.task { await model.load() }`. A `Task` inside a button action is not this finding.

Read the full file on GitHub · 85 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. 17d ago First seen · 85 lines · 45 tokens per session scan A 750fdc384949

Subscribe to this mod's changes

swiftui-code-review is a skill published in the GitHub repository beel-collab/presets.dev (3 stars, last pushed 7d ago), licensed MIT. It adds 45 tokens to every session and 901 once invoked, about $0.0002 per session on Opus 5.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-11-13.

Related

swiftui-code-review compared with skills from other repositories

swiftui-code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
swiftui-code-reviewbeel-collab/presets.devSkill37d agoMITA45Claude Code, Codex
antigravity-roottqtuan1201/TTBaseUIKitSkill234mo agoMITA57Claude Code, Codex
swift-reviewcamilooscargbaptista/cto-toolkitSkill98mo agoMITA23Claude Code
swift-code-reviewthiennc-tesoglobal/ios-skillsSkill32mo agononeA55Claude Code
swift-developmentsammcj/agentic-codingSkill1743d agoApache-2.0A13Claude Code, Codex
swift-expertpersonamanagmentlayer/pclSkill461mo agoApache-2.0A76Claude Code
ios-expertpersonamanagmentlayer/pclSkill461mo agoApache-2.0A64Claude Code