SwiftUI-Agent-Skill: Skill for Claude Code

.agents/skills/update-swiftui-apis/SKILL.md

update-swiftui-apis is a skill for Claude Code from AvdLee/SwiftUI-Agent-Skill. It costs 77 tokens per session (1,079 once invoked), scanned A, original, MIT.

A maintenance skill that checks Apple's SwiftUI documentation, SwiftUI being Apple's toolkit for building app interfaces, for outdated APIs and newer replacements.

In plain words
What is it for?
Scanning the documented API areas, comparing old and modern SwiftUI approaches, and updating the latest-API reference when the required documentation service is available.
Why use it?
It keeps the skill's API guidance current as iOS and Xcode change, avoiding recommendations based on deprecated code.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

This is AvdLee/SwiftUI-Agent-Skill's own configuration. It tells Claude Code how to work on SwiftUI-Agent-Skill itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything SwiftUI-Agent-Skill configures →

Part of the swiftui-expert plugin — 2 skills shipped together

About the project

AvdLee/SwiftUI-Agent-Skill is a portable set of expert guidance for AI coding tools that work with SwiftUI, Apple’s framework for building app interfaces. It helps teams and developers review, refactor, and write SwiftUI code involving state, view structure, performance, and newer visual APIs. The catalogue entries provide the skill and plugin instructions that agents use to apply this guidance.

AvdLee/SwiftUI-Agent-Skill · 3,508 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to AvdLee/SwiftUI-Agent-Skill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AvdLee/SwiftUI-Agent-Skill/main/.agents/skills/update-swiftui-apis/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/AvdLee/SwiftUI-Agent-Skill

Made for: Claude Code.

Or install swiftui-expert, the plugin that ships this one along with the rest of its 2 skills.

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 update-swiftui-apis

README.md
[![agentmods](https://agentmods.dev/badge/skills/avdlee/swiftui-agent-skill/update-swiftui-apis/github.svg)](https://agentmods.dev/skills/avdlee/swiftui-agent-skill/update-swiftui-apis)
Your own site
<a href="https://agentmods.dev/skills/avdlee/swiftui-agent-skill/update-swiftui-apis"><img src="https://agentmods.dev/badge/skills/avdlee/swiftui-agent-skill/update-swiftui-apis/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 update-swiftui-apis

Your own site · 80×15
<a href="https://agentmods.dev/skills/avdlee/swiftui-agent-skill/update-swiftui-apis"><img src="https://agentmods.dev/badge/skills/avdlee/swiftui-agent-skill/update-swiftui-apis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,079 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. Third-party audits
  • Socket pass 18 Mar 2026
  • Snyk warn 28 Feb 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00077 $0.01079
Opus 5 $0.00039 $0.00540
Sonnet 5 $0.00015 $0.00216
Haiku 4.5 $0.00008 $0.00108

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

Security

Grade A, and why

update-swiftui-apis 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

.agents/skills/update-swiftui-apis/SKILL.md · 104 lines

How it starts

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

Update SwiftUI APIs

Systematically scan Apple's developer documentation via the Sosumi MCP, identify deprecated SwiftUI APIs and their modern replacements, and update skills/swiftui-expert-skill/references/latest-apis.md.

Prerequisites

  • Sosumi MCP must be enabled and available (provides searchAppleDocumentation, fetchAppleDocumentation, fetchAppleVideoTranscript, fetchExternalDocumentation)
  • Write access to this repository (or a fork)

Workflow

1. Understand current coverage

Read skills/swiftui-expert-skill/references/latest-apis.md to understand:

  • Which deprecated-to-modern transitions are already documented
  • The version segments in use (iOS 15+, 16+, 17+, 18+, 26+)
  • The Quick Lookup Table at the bottom

2. Load the scan manifest

Read references/scan-manifest.md (relative to this skill). It contains the categorized list of API areas, documentation paths, search queries, and WWDC video paths to scan.

3. Scan Apple documentation

For each category in the manifest:

  1. Call searchAppleDocumentation with the listed queries to discover relevant pages.
  2. Call fetchAppleDocumentation with specific documentation paths to get full API details.
  3. Look for deprecation notices, "Deprecated" labels, and "Use ... instead" guidance.
  4. Note the iOS version where the modern replacement became available.
  5. Optionally call fetchAppleVideoTranscript for WWDC sessions that announce API changes.

Batch related searches together for efficiency. Focus on finding new deprecations not yet in latest-apis.md.

4. Compare and identify changes

Compare findings against existing entries. Categorize results:

  • New deprecations: APIs not yet documented in latest-apis.md
  • Corrections: Existing entries that need updating (wrong version, better replacement available)
  • New version segments: If a new iOS version introduces deprecations, add a new section

5. Update latest-apis.md

Follow the established format exactly. Each entry must include:

Read the full file on GitHub · 104 lines

Files

What ships with it

1 file 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.

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. 10d ago First seen · 104 lines · 77 tokens per session scan A b28f731c2a46

Subscribe to this mod's changes

update-swiftui-apis is a skill published in the GitHub repository AvdLee/SwiftUI-Agent-Skill (3,508 stars, last pushed 28d ago), licensed MIT. It adds 77 tokens to every session and 1,079 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-08-30.

Related

Other skills, from other repositories

orca-emulator-android

Android device and emulator control from inside Orca over adb, with the live device view in Orca's emulator pane. Use when driving an adb-connected emulator or phone on Windows, Linux, or macOS: booting AVDs, taps, swipes, typing, hardware buttons, rotation, app install and launch, runtime permissions, the…

stablyai/orca · 102 tokens

android-tombstone-symbolication

Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app…

dotnet/skills · 176 tokens

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.

callstack/agent-device · 55 tokens

winapp-maui

Package and sign .NET MAUI Windows apps with winapp, resolving the resizetizer manifest dependency. Use when packaging or signing a .NET MAUI Windows app, building a MAUI MSIX or signed unpackaged build in CI, or fixing 'manifest contains unresolved placeholders ($placeholder$)' errors from winapp package.

microsoft/winappCli · 71 tokens

react-native-ease-refactor

Scan for Animated/Reanimated code and migrate to EaseView.

appandflow/react-native-ease · 18 tokens

apple-search-ads

When the user wants to set up, optimize, or scale Apple Search Ads (ASA) campaigns — including keyword bidding, match types, campaign structure, Creative Product Sets, CPP routing, and ROAS optimization. Use when the user mentions "Apple Search Ads", "ASA", "Search Ads", "Search tab ads", "Today tab ads", "CPT"…

Eronred/aso-skills · 127 tokens