
Swift Optimise
A comprehensive performance optimization guide for Swift 6.2 and SwiftUI targeting iOS 26, organized into 19 rules across concurrency, rendering, and animation. Built for teams using modular MVVM-C architecture with strict separation between Feature, Domain, and Data layers. The concurrency section is the standout here, covering the full migration path from Combine to async/await, MainActor isolation, Sendable conformance, and actor-based shared state. The render performance rules are solid baseline advice (lazy containers, view decomposition, Canvas for complex graphics), while the animation section covers the standard SwiftUI toolkit. Use this when you're upgrading to Swift 6 strict concurrency or need a structured checklist for profiling and optimizing clinic-style modular codebases.
- skills.sh installs
- 285
- GitHub stars
- 222
- last updated
- Aug 21, 2026
Install
$ npx -y skills add pproenca/dot-skills --skill swift-optimise --agent claude-codeInstalls into .claude/skills of the current project.
Files
Apple Swift/SwiftUI Performance Optimization Best Practices
Comprehensive guide for Swift and SwiftUI performance optimization. Contains 19 rules across 3 categories covering modern concurrency, render performance, and animation performance. Targets iOS 26 / Swift 6.2 with @Observable and Swift 6 strict concurrency.
Clinic Architecture Contract (iOS 26 / Swift 6.2)
All guidance in this skill assumes the clinic modular MVVM-C architecture:
- Feature modules import
Domain+DesignSystemonly (neverData, never sibling features) - App target is the convergence point and owns
DependencyContainer, concrete coordinators, and Route Shell wiring Domainstays pure Swift and defines models plus repository,*Coordinating,ErrorRouting, andAppErrorcontractsDataowns SwiftData/network/sync/retry/background I/O and implements Domain protocols- Read/write flow defaults to stale-while-revalidate reads and optimistic queued writes
- ViewModels call repository protocols directly (no default use-case/interactor layer)
When to Apply
Sponsors
Details
- Repository
- github.com/pproenca/dot-skills
- Categories
- Code Review & Quality, Debugging, Mobile Development, Design & UI/UX
- First seen
- Jun 3, 2026
More from pproenca/dot-skills
All 100- Ios Testing281
- Swift Refactor281
- Dev Rfc279
- Swift Ui Architect273
- Ios Taste272
- Ios Storyboard270
- Rails Design System270
- Swift Data268
- Ios Chaos Monkey267
- Ios Navigation267
- Nginx C Module Perf260
- React Native Elements258
- Effect Ts257
- Bug Review256
- Nginx C Module Debug253
- Rails Application Ui Blocks251
- Rust Write Tests248
- Rust Implement246
- Domain Architect242
- Graph Schema233
- Exec Plan232
- Framer Motion Best Practices187
- Rust124
- Zod7.2K