본문으로 건너뛰기
Skillpedia
모바일 앱48k · #6068

update-swiftui-apis

하는 일

Apple의 공식 문서에서 SwiftUI의 오래된(사용 중단된, deprecated) 부분을 확인하고, 최신 버전으로 업데이트하는 도구입니다. 코드를 최신 상태이고 호환되도록 유지하는 데 도움이 됩니다.

사용하는 경우

  • ✓SwiftUI 코드가 최신 API를 사용하는지 확인하고 싶을 때.
  • ✓새 iOS나 Xcode 버전이 출시된 뒤.
  • ✓프로젝트에서 사용 중단된 API에 대한 경고를 보게 될 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/update-swiftui-apis/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/update-swiftui-apis/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“사용 중단된 SwiftUI API를 확인하고, 최신 버전으로 업데이트해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 도구는 Apple 문서에서 '사용 중단'으로 표시된 API를 검색하고, 최신 대체 방법을 찾습니다. 그다음 이 정보를 담은 참고 파일을 업데이트합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Update SwiftUI APIs

When to Use

Use this skill when you need 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...

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:

  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

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

  1. Create a branch from main named update/latest-apis-YYYY-MM (use current year and month).
  2. Commit changes to swiftui-expert-skill/references/latest-apis.md.
  3. Open a PR via gh pr create with:
    • 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 searchAppleDocumentation queries, then drill into specific paths with fetchAppleDocumentation.
  • 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.

…

자주 묻는 질문

'사용 중단(deprecated)'은 무슨 뜻인가요?

함수나 코드가 더 이상 권장되지 않는다는 뜻입니다. 앞으로 제거되거나, 더 좋은 버전이 이미 나왔다는 의미입니다.

이것을 쓰려면 기술 지식이 필요한가요?

아니요, AI에게 업데이트를 확인해 달라고 요청하기만 하면 됩니다. 나머지 작업은 도구가 뒤에서 처리합니다.

'Sosumi MCP'는 무엇인가요?

AI가 Apple 문서에 접근해 검색하는 데 쓰는 내부 도구입니다.

상세 정보

작성자의 원본 설명

Scan Apple's SwiftUI documentation for deprecated APIs and update the SwiftUI Expert Skill with modern replacements.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#6068
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬