.agents/skills/update-swiftui-apis/SKILL.md
Scan Apple's SwiftUI documentation for deprecated APIs and update the SwiftUI Expert Skill with modern replacements. Use when asked to "update latest APIs", "refresh deprecated SwiftUI APIs", "check for new SwiftUI deprecations", "scan for API changes", or after a new iOS/Xcode release. Requires the Sosumi MCP to be available.
npx skillsauth add AvdLee/SwiftUI-Agent-Skill update-swiftui-apisInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Systematically scan Apple's developer documentation via the Sosumi MCP, identify deprecated SwiftUI APIs and their modern replacements, and update swiftui-expert-skill/references/latest-apis.md.
searchAppleDocumentation, fetchAppleDocumentation, fetchAppleVideoTranscript, fetchExternalDocumentation)Read swiftui-expert-skill/references/latest-apis.md to understand:
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.
For each category in the manifest:
searchAppleDocumentation with the listed queries to discover relevant pages.fetchAppleDocumentation with specific documentation paths to get full API details.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.
Compare findings against existing entries. Categorize results:
latest-apis.mdFollow the established format exactly. Each entry must include:
Section placement -- place under the correct version segment:
Entry format:
**Always use `modernAPI()` instead of `deprecatedAPI()`.**
\```swift
// Modern
View()
.modernAPI()
// Deprecated
View()
.deprecatedAPI()
\```
Quick Lookup Table -- add a row at the bottom of the file:
| `deprecatedAPI()` | `modernAPI()` | iOS XX+ |
Keep the attribution line at the top of the file:
Based on a comparison of Apple's documentation using the Sosumi MCP, we found the latest recommended APIs to use.
main named update/latest-apis-YYYY-MM (use current year and month).swiftui-expert-skill/references/latest-apis.md.gh pr create with:
| Tool | Parameters | Returns |
|------|-----------|---------|
| searchAppleDocumentation | query (string) | JSON with results[] containing title, url, description, breadcrumbs, tags, type |
| fetchAppleDocumentation | path (string, e.g. /documentation/swiftui/view/foregroundstyle(_:)) | Markdown documentation content |
| fetchAppleVideoTranscript | path (string, e.g. /videos/play/wwdc2025/10133) | Markdown transcript |
| fetchExternalDocumentation | url (string, full https URL) | Markdown documentation content |
searchAppleDocumentation queries, then drill into specific paths with fetchAppleDocumentation.development
Use when writing, reviewing, or refactoring SwiftUI code for iOS or macOS, including state management, view composition, performance, Liquid Glass adoption, or Instruments `.trace` capture/analysis for hangs, hitches, CPU hotspots, or excessive view updates.
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------