update-swiftui-apis▌
avdlee/swiftui-agent-skill · updated Apr 8, 2026
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.
Update SwiftUI APIs
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.
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 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:
- Call
searchAppleDocumentationwith the listed queries to discover relevant pages. - Call
fetchAppleDocumentationwith specific documentation paths to get full API details. - Look for deprecation notices, "Deprecated" labels, and "Use ... instead" guidance.
- Note the iOS version where the modern replacement became available.
- Optionally call
fetchAppleVideoTranscriptfor 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:
Section placement -- place under the correct version segment:
- "Always Use (iOS 15+)" for long-deprecated APIs
- "When Targeting iOS 16+" / "17+" / "18+" / "26+" for version-gated changes
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.
6. Open a pull request
- Create a branch from
mainnamedupdate/latest-apis-YYYY-MM(use current year and month). - Commit changes to
swiftui-expert-skill/references/latest-apis.md. - Open a PR via
gh pr createwith:- Title: "Update latest SwiftUI APIs (Month Year)"
- Body: Summary of new/changed entries, attribution to Sosumi MCP
Sosumi MCP Tool Reference
| 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 |
Tips
- Start broad with
searchAppleDocumentationqueries, then drill into specific paths withfetchAppleDocumentation. - Apple's deprecation docs typically say "Deprecated" in the page and link to the replacement.
- WWDC "What's new in SwiftUI" sessions are the best source for newly introduced replacements.
- When unsure about the exact iOS version for a deprecation, verify by checking the "Availability" section in the fetched documentation.
- If an API is deprecated but no direct replacement exists, note this rather than suggesting an incorrect alternative.
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.5★★★★★73 reviews- ★★★★★Shikha Mishra· Dec 24, 2024
Solid pick for teams standardizing on skills: update-swiftui-apis is focused, and the summary matches what you get after install.
- ★★★★★Advait Nasser· Dec 24, 2024
Useful defaults in update-swiftui-apis — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Meera Wang· Dec 20, 2024
We added update-swiftui-apis from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Naina Ghosh· Dec 16, 2024
I recommend update-swiftui-apis for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Aanya Gill· Dec 4, 2024
update-swiftui-apis fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Olivia Rahman· Nov 23, 2024
update-swiftui-apis has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Aanya Bansal· Nov 23, 2024
Registry listing for update-swiftui-apis matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Olivia Mensah· Nov 15, 2024
update-swiftui-apis is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Aanya Flores· Nov 11, 2024
update-swiftui-apis reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Aanya Ramirez· Nov 7, 2024
Keeps context tight: update-swiftui-apis is the kind of skill you can hand to a new teammate without a long onboarding doc.
showing 1-10 of 73