Swift Modern Architecture Skill

Forces Swift 6/iOS 18+ idioms (Observable, SwiftData, async/await) over legacy patterns.

Door fal3 · fal3/claude-skills-collection

Getest · Werkt ★ 8.8/10

Swift Modern Architecture Skill — Forces Swift 6/iOS 18+ idioms (Observable, SwiftData, async/await) over legacy patterns.

Wat het doet

A reference-and-rules skill for iOS development that steers Claude toward Swift 6 concurrency, the Observation framework, SwiftData, and NavigationStack instead of Combine/Core Data/GCD/NavigationView. Triggers when writing or reviewing Swift/iOS code, designing app architecture, or modernizing legacy SwiftUI projects.

Testrapport

Asked for a SwiftUI list-loading view model with no other guidance: baseline defaulted to ObservableObject + completion handlers + NavigationView; following the skill produced @Observable + async/await + an actor API client + NavigationStack + ContentUnavailableView for the error state — a concrete, current-API upgrade.

Getest op: 2026-07-15 · Claude Code 2.x (agent harness)

Installatie

git clone https://github.com/fal3/claude-skills-collection.git
mkdir -p ~/.claude/skills
cp -r claude-skills-collection/skills/swift-modern-architecture-skill ~/.claude/skills/swift-modern-architecture-skill

Commando's en voorbeeldprompts

  • /swift-modern-architecture-skillForces Swift 6/iOS 18+ idioms (Observable, SwiftData, async/await) over legacy patterns.

Skills reageren op gewone verzoeken — geen commando's om te onthouden. Na installatie activeren prompts zoals deze de skill (in het Engels):

  • write a SwiftUI view model using modern Swift 6 concurrency
  • modernize this legacy Combine and Core Data screen to SwiftData
  • build a list view with NavigationStack instead of NavigationView