Swift Optimise
ListedRapidly optimizes frontend code for performance gains through automated refactoring and resource reduction.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add pproenca/dot-skills --skill swift-optimise -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
pproenca
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
We could not read this skill's source, so none of the checks below were run.
About this skill
What it does
This skill provides a comprehensive guide to optimizing Swift and SwiftUI applications for performance. It offers 19 rules categorized by priority (critical, high, and medium) covering modern concurrency, render/scroll performance, and animation performance. The guidance is tailored for iOS 26 and Swift 6.2, emphasizing features like @Observable and strict concurrency. This skill assumes a clinic modular MVVM-C architecture.
When to use it
- When migrating to Swift 6's strict concurrency (Sendable, actor isolation).
- When replacing Combine publishers with async/await.
- When implementing
@MainActorisolation and actor-based concurrency. - Before optimizing scroll or render performance.
- When building performant spring animations and transitions.
Key capabilities
- Guidance on adopting Swift 6 strict concurrency practices (Sendable).
- Recommendations for migrating from Combine to async/await.
- Strategies for decomposing views to reduce state invalidation.
- Best practices for optimizing scroll and render performance using lazy containers, Canvas, and TimelineView.
- Techniques for creating high-performance animations and transitions.
- Suggestions on utilizing SwiftUI Instruments for profiling.
Example prompts
- "How can I replace a Combine publisher with async/await?"
- "What's the best way to decompose views in Swift 6?"
- "Show me how to use Canvas and TimelineView for high-performance rendering."
Tips & gotchas
- This skill assumes familiarity with the clinic modular MVVM-C architecture.
- The guidance is specifically targeted for iOS 26 and Swift 6.2; some recommendations may not be applicable to older versions.
- Always profile your application using SwiftUI Instruments before implementing any optimization techniques.