# Update Swiftui Apis

Scan Apple's SwiftUI documentation for deprecated APIs and update the SwiftUI Expert...

- Repository: https://github.com/AvdLee/SwiftUI-Agent-Skill (3804 stars)
- Category: AI and agents
- License: MIT
- Last updated: 2026-10-06
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add AvdLee/SwiftUI-Agent-Skill --skill update-swiftui-apis -g -a claude-code -y`
Codex: `npx skills add AvdLee/SwiftUI-Agent-Skill --skill update-swiftui-apis -g -a codex -y`
Cursor: `npx skills add AvdLee/SwiftUI-Agent-Skill --skill update-swiftui-apis -g -a cursor -y`
Gemini CLI: `npx skills add AvdLee/SwiftUI-Agent-Skill --skill update-swiftui-apis -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add AvdLee/SwiftUI-Agent-Skill`

## Description

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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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

The rest: https://github.com/AvdLee/SwiftUI-Agent-Skill/blob/HEAD/.agents/skills/update-swiftui-apis/SKILL.md
