Use this skill when writing, reviewing, debugging, or modernizing Swift code for iOS, macOS, server-side Swift, or shared packages. Trigger for Swift 5+ language features, structured concurrency, memory safety, protocols/generics, SwiftUI integration, and performance-sensitive code.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Use this skill when writing, reviewing, debugging, or modernizing Swift code for iOS, macOS, server-side Swift, or shared packages. Trigger for Swift 5+ language features, structured concurrency, memory safety, protocols/generics, SwiftUI integration, and performance-sensitive code.
compatibility
Supports Swift 5.0 through 6.0+. Adaptive to iOS, macOS, and Server-side Swift environments.
metadata
{"version":"1.0.0","category":"Language"}
Modern Swift (5.0+) Expert Skill
Trigger On
The user asks to write, debug, refactor, or review Swift code.
The project directory contains *.swift, Package.swift, or *.xcodeproj.
Development involves iOS (SwiftUI/UIKit), macOS, or Server-side Swift (Vapor).
Code modernization is needed (e.g., migrating to Structured Concurrency or Swift 6 language mode).
Workflow
Perceive (Version Awareness):
Identify the Swift version (e.g., check Package.swift or build settings).
Determine the platform (SwiftUI vs UIKit, Server vs App).