swift-patterns

Installation
SKILL.md

swift-patterns

Review, refactor, or build SwiftUI features with correct state management, modern API usage, optimal view composition, and performance-conscious patterns. Prioritize native APIs, Apple design guidance, and testable code structure. This skill focuses on facts and best practices without enforcing specific architectural patterns.

Workflow Decision Tree

1) Review existing SwiftUI code

→ Read references/workflows-review.md for review methodology

  • Check state management against property wrapper selection (see references/state.md)
  • Verify view composition and extraction patterns (see references/view-composition.md)
  • Audit list performance and identity stability (see references/lists-collections.md)
  • Validate modern API usage (see references/modern-swiftui-apis.md)
  • Check async work patterns with .task (see references/concurrency.md)
  • Verify navigation implementation (see references/navigation.md)
  • Use Review Response Template (below)
Installs
94
GitHub Stars
7
First Seen
Jan 26, 2026