Individual skill
swift-optimise
Swift 6.2 and SwiftUI performance optimization for iOS 26 clinic architecture codebases. Covers async/await concurrency patterns, Sendable/actor isolation, view/render performance, and animation performance while preserving modular MVVM-C boundaries across App, Feature, Domain, and Data layers. Use when profiling or optimizing Swift/SwiftUI behavior in clinic modules.
skills/.experimental/swift-optimise/SKILL.md
Source commit cf93c57cac89d6fc3e4194686000411567f5caf3
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Instructions only
- Last checked
- Nov 5, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 221
- Repository last updated
- Aug 15, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- engineering Derived category
- data Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 5,078 bytesassets/templates/_template.mddoc · 1,007 bytesmetadata.jsonasset · 1,049 bytesreferences/_sections.mddoc · 1,005 bytesreferences/anim-gesture-driven.mddoc · 3,166 bytesreferences/anim-matchedgeometry.mddoc · 3,898 bytesreferences/anim-spring.mddoc · 2,622 bytesreferences/anim-transition-effects.mddoc · 1,727 bytesreferences/anim-with-animation.mddoc · 2,351 bytesreferences/conc-actor-for-shared-state.mddoc · 1,896 bytesreferences/conc-asyncsequence-streams.mddoc · 2,290 bytesreferences/conc-combine-to-async.mddoc · 3,406 bytesreferences/conc-mainactor-isolation.mddoc · 2,597 bytesreferences/conc-swift6-sendable.mddoc · 3,104 bytesreferences/conc-task-id-pattern.mddoc · 2,699 bytesreferences/perf-async-image.mddoc · 3,114 bytesreferences/perf-canvas-timeline.mddoc · 3,559 bytesreferences/perf-drawinggroup.mddoc · 3,538 bytesreferences/perf-equatable-views.mddoc · 4,516 bytesreferences/perf-instruments-profiling.mddoc · 3,439 bytesreferences/perf-lazy-containers.mddoc · 3,132 bytesreferences/perf-task-modifier.mddoc · 2,795 bytesreferences/perf-view-decomposition.mddoc · 4,713 bytes
Read excerpt
# 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` + `DesignSystem` only (never `Data`, never sibling features)
- App target is the convergence point and owns `DependencyContainer`, concrete coordinators, and Route Shell wiring
- `Domain` stays pure Swift and defines models plus repository, `*Coordinating`, `ErrorRouting`, and `AppError` contracts
- `Data` owns SwiftData/network/sync/retry/background I/O and implements Domain protocols
- Read/write flow defaults to stale-while-revalidate reads and optimistic queued writes