Builds SwiftUI views using the modern MV architecture pattern where views stay thin and models own business logic. Shows you when to use @State versus @Bindable versus plain let properties with @Observable classes, how to wire environment dependencies, and how to structure async data loading with .task. Includes view composition patterns, custom ViewModifiers, and a review checklist for common mistakes. The architecture guidance is opinionated but practical: it pushes you toward splitting views instead of adding view models, and all the @Observable examples are properly marked @MainActor for Swift 6 concurrency. Targets iOS 26+ but most patterns work back to iOS 17.

skills.sh installs
4.7K
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill swiftui-patterns --agent claude-code

Installs into .claude/skills of the current project.

Files

SwiftUI Patterns

Modern SwiftUI patterns targeting iOS 26+ with Swift 6.3. Covers architecture, state management, view composition, environment wiring, async loading, design polish, and platform/share integration. Navigation, layout, animation, and Liquid Glass patterns live in dedicated sibling skills. Patterns are backward-compatible to iOS 17 unless noted.

Contents

Sponsors

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Documentation, Code Review & Quality, Debugging, Rust, Mobile Development
First seen
May 16, 2026

More from dpearson2699/swift-ios-skills

All 98
1jeffallan avatarvue-expertjeffallan/claude-skillsBuilds Vue 3 components with Composition API patterns, configures Nuxt 3 SSR/SSG projects, sets up Pinia stores, scaffolds Quasar/Capacitor mobile apps, impleme4.7Kskills.sh installs
2elastic avatarelasticsearch-onboardingelastic/agent-skillsHelp developers new to Elasticsearch get from zero to a working search experience. Guide them through understanding their intent, mapping their data, and buildi4.7Kskills.sh installs
3dotnet avatarcode-testing-agentdotnet/skillsMANDATORY ENTRY POINT for generating or writing tests. Invoke this skill before editing files whenever the user asks to generate tests, write/add unit tests, sc4.7Kskills.sh installs
4klerith avatarspecklerith/fernando-skillsDesigns and develops specs following the spec-driven method. Asks clarifying questions before proposing structure, and builds the spec section by section. Use i4.6Kskills.sh installs
5anthropics avatarsql-queriesanthropics/knowledge-work-pluginsWrite correct, performant SQL across all major data warehouse dialects (Snowflake, BigQuery, Databricks, PostgreSQL, etc.). Use when writing queries, optimizing4.6Kskills.sh installs
6grafana avatardatabase-observabilitygrafana/skillsSet up Grafana Cloud Database Observability for MySQL and PostgreSQL — enables `pg_stat_statements` / Performance Schema, creates a least-privilege monitoring u4.6Kskills.sh installs