From apple-dev
Use when the user wants to check for latest Swift/SwiftUI API changes, or says 'fetch API updates', 'check WWDC changes'. Fetches latest Swift/SwiftUI API changes from WWDC session notes and updates project references.
npx claudepluginhub n0rvyn/indie-toolkit --plugin apple-devThis skill uses the workspace's default tool permissions.
Fetches Swift/SwiftUI API changes for a given year and appends new sections to the appropriate
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Fetches Swift/SwiftUI API changes for a given year and appends new sections to the appropriate
apple-dev/references/swift-api-changes-*.md reference file.
Extract the target year from the invocation:
/fetch-swift-api-updates 2025 → year = 2025, target file = swift-api-changes-ios26.md/fetch-swift-api-updates 2024 → year = 2024, target file = swift-api-changes-ios18.mdMap year to iOS version:
Run the following searches:
WebSearch: "WWDC {year} SwiftUI new API site:github.com"
WebSearch: "What's new SwiftUI {year} site:hackingwithswift.com OR site:swiftbysundell.com OR site:artemnovichkov.com"
WebSearch: "Swift {version} changelog release notes {year} wwdcnotes"
For each significant API found in search results, fetch from sources in priority order:
Priority 1: GitHub repositories (README, sample code)
WebFetch: github.com URL for the API or sample project
Priority 2: Technical blogs
WebFetch: artemnovichkov.com / swiftbysundell.com / hackingwithswift.com article
Priority 3: WWDC session notes (plain text)
WebFetch: wwdcnotes.com session page
Priority 4: developer.apple.com (fallback — likely to fail due to JS rendering)
WebFetch: developer.apple.com — if empty or JS error, fall back to search snippet
If all WebFetch attempts fail: use the WebSearch snippet directly and note "⚠️ content from search snippet only, verify with full docs."
For each significant API, extract:
Before adding a section, check if it already exists in the target file:
Grep("<keyword>", "apple-dev/references/swift-api-changes-{ios-version}.md")
If the keyword already exists in a <!-- section: marker → skip (already documented).
For each new API not already documented, format as:
---
<!-- section: {APIName} keywords: {keyword1}, {keyword2}, {keyword3} -->
## {API Title} (iOS {version})
**Minimum OS**: iOS {version}
{Description}
### Correct Usage
```swift
// ✅ Correct pattern
{code example}
// ❌ {mistake description}
{bad code}
<!-- /section -->
Append the formatted sections to the appropriate `swift-api-changes-*.md` file.
### Step 6: Report
Output a summary:
Target: swift-api-changes-ios{version}.md Year: {year}
## Graceful Degradation
If WebSearch returns few results (topic too new or obscure):
- Document what was found with a note: "⚠️ Limited information available — may need manual update after WWDC sessions are published."
- Do not fabricate API details. Only document what was found in search results.
If the target reference file doesn't exist yet:
- Create it with the standard header format (see existing files as template)
- Then append sections normally