Provides guidance for building native Apple platform apps with Swift, SwiftUI, and UIKit. Covers state management, modern concurrency, navigation, and Apple HIG.
Ships in tjn-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Comprehensive guide for building native Apple platform applications.
| Platform | Minimum Target | Current |
|---|---|---|
| iOS | iOS 15.0+ | iOS 17+ |
| iPadOS | iPadOS 15.0+ | iPadOS 17+ |
| tvOS | tvOS 15.0+ | tvOS 17+ |
| watchOS | watchOS 8.0+ | watchOS 10+ |
import SwiftUI
@main
struct MyApp: App {
var body: some Scene {
WindowGroup {
ContentView()
}
}
}
struct ContentView: View {
@State private var count = 0
var body: some View {
VStack(spacing: 20) {
Text("Count: \(count)")
.font(.largeTitle)
Button("Increment") {
count += 1
}
.buttonStyle(.borderedProminent)
}
.padding()
}
}
// Local state
@State private var text = ""
// Binding (child components)
@Binding var isPresented: Bool
// Observable object
@StateObject private var viewModel = MyViewModel()
@ObservedObject var viewModel: MyViewModel
// Environment
@Environment(\.dismiss) private var dismiss
@Environment(\.colorScheme) private var colorScheme
@EnvironmentObject var appState: AppState
// App Storage (UserDefaults)
@AppStorage("username") private var username = ""
// Async/await
func fetchData() async throws -> [Item] {
let url = URL(string: "https://api.example.com/items")!
let (data, _) = try await URLSession.shared.data(from: url)
return try JSONDecoder().decode([Item].self, from: data)
}
// In View
.task {
do {
items = try await fetchData()
} catch {
errorMessage = error.localizedDescription
}
}
// Main actor for UI updates
@MainActor
class ViewModel: ObservableObject {
@Published var items: [Item] = []
func load() async {
items = try? await fetchData()
}
}
// NavigationStack with typed destinations
struct ContentView: View {
@State private var path = NavigationPath()
var body: some View {
NavigationStack(path: $path) {
List(items) { item in
NavigationLink(value: item) {
Text(item.name)
}
}
.navigationDestination(for: Item.self) { item in
DetailView(item: item)
}
}
}
}
// Modern List
List {
ForEach(items) { item in
ItemRow(item: item)
}
.onDelete(perform: delete)
.onMove(perform: move)
}
.listStyle(.insetGrouped)
.searchable(text: $searchText)
.refreshable {
await refresh()
}
// LazyVGrid
LazyVGrid(columns: [
GridItem(.adaptive(minimum: 150))
]) {
ForEach(items) { item in
ItemCard(item: item)
}
}
Detailed material is in separate files so this overview stays short. Read only the file whose topic matches the task; each one is self-contained. Paths are relative to the folder that holds this SKILL.md (in the full toolkit install, ~/.claude/skills/ios-development/).
| Topic | File | Covers |
|---|---|---|
| UIKit (Legacy/Complex UI) | references/uikit-legacy-complex-ui.md | View Controller Lifecycle; Auto Layout |
| Data Persistence | references/data-persistence.md | Core Data; SwiftData (iOS 17+); Keychain |
| Networking | references/networking.md | URLSession |
| Apple Human Interface Guidelines | references/apple-human-interface-guidelines.md | iOS Design Principles; Key Metrics; Safe Areas |
| Platform-Specific | references/platform-specific.md | iPadOS Specifics; tvOS Specifics |
| App Store Requirements | references/app-store-requirements.md | Required Assets; Privacy; App Transport Security |
| Testing | references/testing.md | Unit Tests; UI Tests |
| Project Structure | references/project-structure.md | 24 lines |
| Best Practices | references/best-practices.md | DO:; DON'T: |
| @Observable Macro (iOS 17+, Replacing ObservableObject) | references/observable-macro-ios-17-replacing-observableobject.md | Migration from ObservableObject |
| SwiftUI 6 New Views and Modifiers | references/swiftui-6-new-views-and-modifiers.md | 44 lines |
| Swift 6 Concurrency | references/swift-6-concurrency.md | 46 lines |
| Minimum Target: iOS 17+ | references/minimum-target-ios-17.md | 15 lines |
| visionOS and Spatial Computing | references/visionos-and-spatial-computing.md | 50 lines |
| watchOS Development | references/watchos-development.md | 40 lines |
references/app-store-requirements.md (opens in a new tab)references/apple-human-interface-guidelines.md (opens in a new tab)references/best-practices.md (opens in a new tab)references/data-persistence.md (opens in a new tab)references/minimum-target-ios-17.md (opens in a new tab)references/networking.md (opens in a new tab)references/observable-macro-ios-17-replacing-observableobject.md (opens in a new tab)references/platform-specific.md (opens in a new tab)references/project-structure.md (opens in a new tab)references/swift-6-concurrency.md (opens in a new tab)references/swiftui-6-new-views-and-modifiers.md (opens in a new tab)references/testing.md (opens in a new tab)references/uikit-legacy-complex-ui.md (opens in a new tab)references/visionos-and-spatial-computing.md (opens in a new tab)references/watchos-development.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
183 skills in this plugin
/accessibility-a11yWCAG 2.2 compliance, ARIA patterns, keyboard navigation, screen readers, automated testing/agent-accessibility-expertSpecialist subagent: WCAG compliance, screen reader compatibility, and inclusive design patterns. Use when auditing accessibility, fixing a11y issues, or designing inclusive UIs./agent-android-developerSpecialist subagent: Expert Android developer specializing in Kotlin, Jetpack Compose, and modern Android architecture/agent-api-designerSpecialist subagent: Designs REST and GraphQL APIs following best practices. Use when creating new APIs, reviewing API design, or writing OpenAPI specifications./agent-api-integration-specialistSpecialist subagent: Third-party API integration, webhook handling, OAuth flows, rate limiting, and SDK wrapping specialist. Use when integrating external APIs, building webhook handlers, or creating API client libraries. Trigger phrases: API integration, webhook, third-party API, SDK wrapper, OAuth flow, rate limiting, retry strategy, API client, REST client, webhook handler./agent-audio-engineerSpecialist subagent: Expert audio engineer for recording, mixing, mastering, and sound design/tjn-skills:ios-developmentfrom tjn-skills
npx claudepluginhub travisjneuman/.claude --plugin tjn-skillsOther plugins' skills for the same job