update-swiftui-apis
Skill3.7k starsChanged 4 months agoMITView on GitHub
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.
- Commits and pushes
Trending
Quiet since October.about the whole repository
Who's talking about AvdLee/SwiftUI-Agent-Skill
- @zeero26.bsky.social“SwiftLeeの人がSwiftUIのAgentSkillリリースしてた これは期待 AvdLee/SwiftUI-Agent-Skill: Add expert SwiftUI Best Practices …”Bluesky · Jan 31, 2026 · 6 likes
- @avanderlee.com“If you use agents for SwiftUI work, give them better context. My SwiftUI Expert Agent Skill focuses on …”Bluesky · Jul 18, 2026 · 3 likes
- @peterfriese.dev“Teach your AI agent SwiftUI best practices! 🎓 Antoine van der Lee and Omar Elsayed released an Agent Skill …”Bluesky · Jan 28, 2026 · 3 likes
- @avanderlee.com“Get it here: github.com/AvdLee/Swift...”Bluesky · Sep 19, 2026 · 2 likes
- @avanderlee.com“If you work on SwiftUI views, my SwiftUI Expert Agent Skill gives your agent focused guidance on state, …”Bluesky · Jul 20, 2026 · 2 likes
The biggest 5 of 24 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 24
Talked about on GitHub and Bluesky (24 times).
On GitHub · 18
- Oct 4, 2026claude-code-plugins.github.avdlee.swiftui-agent-skill: init at 5.2.1 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-marketplaces.github.avdlee.swiftui-agent-skill: init at 5.2.1 — sudosubin/agents.nix0 reactions
- Oct 4, 2026agent-plugins.github.avdlee.swiftui-agent-skill: init at 5.2.1 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.avdlee.swiftui-agent-skill: 5.1.0 → 5.2.1 — sudosubin/agents.nix0 reactions
- Oct 3, 2026chore(deps): update dependency avdlee/swiftui-agent-skill/skills/swiftui-expert-skill to v5 — AlonsoFloo/skills0 reactions
13 more on GitHub
- Sep 28, 2026chore(deps): update dependency avdlee/swiftui-agent-skill/skills/swiftui-expert-skill to v5 - autoclosed — AlonsoFloo/skills0 reactions · 1 comment
- Sep 26, 2026[Candidate] avdlee/swiftui-agent-skill/skills/swiftui-expert-skill - swiftui-expert-skill — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] avdlee/swiftui-agent-skill/.agents/skills/update-swiftui-apis - update-swiftui-apis — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 25, 2026agent-skills.github.avdlee.swiftui-agent-skill: init at 5.1.0 — sudosubin/agents.nix0 reactions
- Jun 18, 2026Add bootstrap-ios skill — RayFernando1337/rayfernando-skills0 reactions
- May 25, 2026Swift dev skills: install Axiom/AvdLee + create OSSignposter/benchmark/memory skills — fairchild/workspacessays it tested it0 reactions · 1 comment
- Mar 15, 2026Embed Swift & Spezi-Specific Skills & Embed In Future CLI Setup — StanfordSpezi/SpeziVibe0 reactions
- Feb 20, 2026swiftui-expert-skill — AAswordman/OperitSkillMarket0 reactions
- Feb 15, 2026[Bookshelf] SwiftUI Agent Skill の導入 — yuta24/Bookshelf0 reactions · 1 comment
- Feb 7, 2026SwiftUIの実装精度が悪いのでSkillを追加する — WHITS-ISLAND/inspirehub-mobile0 reactions
- Jan 31, 2026New skill: /avdlee-swiftui-expert-skill (safe risk) — aiskillstore/marketplace0 reactions
- Jan 29, 2026[FEATURE] Add support for installation with `npx skills add` — pzep1/xcode-build-skill0 reactions · 3 comments
- Jan 25, 2026Restructure repository to Agent Skills open format — efremidze/swift-patterns-skill0 reactions · 3 comments
On Bluesky · 6
- Jan 31, 2026SwiftLeeの人がSwiftUIのAgentSkillリリースしてた これは期待 AvdLee/SwiftUI-Agent-Skill: Add expert SwiftUI Best Practices guidance to your AI coding tool… — @zeero26.bsky.social6 likes and reposts
- Jul 18, 2026If you use agents for SwiftUI work, give them better context. My SwiftUI Expert Agent Skill focuses on state, layout, performance, modern… — @avanderlee.com3 likes and reposts · 1 reply
- Jan 28, 2026Teach your AI agent SwiftUI best practices! 🎓 Antoine van der Lee and Omar Elsayed released an Agent Skill to help AI tools review and… — @peterfriese.dev3 likes and reposts
- Sep 19, 2026Get it here: github.com/AvdLee/Swift... — @avanderlee.com2 likes and reposts
- Jul 20, 2026If you work on SwiftUI views, my SwiftUI Expert Agent Skill gives your agent focused guidance on state, view composition, performance, and… — @avanderlee.com2 likes and reposts
1 more on Bluesky
- May 1, 2026https://github.com/AvdLee/SwiftUI-Agent-Skill — @tom-doerr.bsky.social1 likes and repost
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- swiftui-expert-skillSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 7 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Sosumi MCP: must be enabled and available (provides searchAppleDocumentation, fetchAppleDocumentation, fetchAppleVideoTranscript, …
- Distinctive: line 13
Write access to this repository (or a fork)
- Very specific: line 19
Read skills/swiftui-expert-skill/references/latest-apis.md to understand:
- Very specific: line 26
Read references/scan-manifest.md (relative to this skill).
- Very specific: line 32
Call searchAppleDocumentation with the listed queries to discover relevant pages.
- Very specific: line 33
Call fetchAppleDocumentation with specific documentation paths to get full API details.
- Distinctive: line 34
Look for deprecation notices, "Deprecated" labels, and "Use ...
- Distinctive: line 45
New version segments: If a new iOS version introduces deprecations, add a new section
- Distinctive: line 49
Follow the established format exactly.
- Distinctive: line 77
Keep the attribution line at the top of the file:
- Very specific: line 82
Create a branch from main named update/latest-apis-YYYY-MM (use current year and month).
- Very specific: line 83
Commit changes to skills/swiftui-expert-skill/references/latest-apis.md.
- Very specific: line 99
Start broad with searchAppleDocumentation queries, then drill into specific paths with fetchAppleDocumentation.
- Distinctive: line 102
When unsure about the exact iOS version for a deprecation, verify by checking the "Availability" section in the fetched documentation.
- Distinctive: line 103
If an API is deprecated but no direct replacement exists, note this rather than suggesting an incorrect alternative.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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:
- 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
skills/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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

