What problem does it solve? Swift code in active iOS projects often accumulates nesting, duplication, dead code, and outdated patterns that make it harder to read, debug, and maintain. This Skill refactors Swift code for clarity without changing behavior, API shape, or Swift 6 concurrency semantics. ## Core Features & Use Cases - Behavior-preserving refactoring: Simplifies code while keeping outputs, side effects, error semantics, actor isolation, Sendable, and public API contracts intact. - Modern Swift 6 patterns: Applies structured concurrency, SwiftUI data-flow conventions (@State, @Binding, Observation), and Swift API Design Guidelines where appropriate. - Tight scope control: Works only on the files, snippets, or diffs you name, falling back to uncommitted changes when no target is given. - Use Case: After landing a feature branch, ask the agent to simplify the touched SwiftUI view models and services; it removes redundant wrappers and nesting while keeping @MainActor isolation and test intent unchanged. ## Quick Start Ask the agent to simplify the Swift files in your current uncommitted changes while preserving behavior and concurrency annotations.