update-swiftui-apis
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.
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o update-swiftui-apis.zip https://jpskill.com/download/23284.zip && unzip -o update-swiftui-apis.zip && rm update-swiftui-apis.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/23284.zip -OutFile "$d\update-swiftui-apis.zip"; Expand-Archive "$d\update-swiftui-apis.zip" -DestinationPath $d -Force; ri "$d\update-swiftui-apis.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
update-swiftui-apis.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
update-swiftui-apisフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 2
📖 Claude が読む原文 SKILL.md(中身を展開)
この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。
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.
同梱ファイル
※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。
- 📄 SKILL.md (4,595 bytes)
- 📎 references/scan-manifest.md (6,058 bytes)