Skip to content
TrustedSkillsbeta
Back to all skills

Swift Optimise

Listed
pproenca·vlatest·frontend·MIT

Rapidly 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. 1

    Run this in your project

    terminal
    $ npx skills add pproenca/dot-skills --skill swift-optimise -a claude-code
  2. Uses the open-source skills CLI and needs Node.js. Add -g to 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.

Nobody has reviewed this code. TrustedSkills indexes and links skills; it does not audit, run or scan them. A skill runs with whatever access you give your agent — read the source before you install it.

Automated safety checks

scanned

We could not read this skill's source, so none of the checks below were run.

Not scanned. none of the 171 skills in the repository match this slug — it was most likely renamed or removed upstream after the registry indexed it Source recorded as pproenca/dot-skills.
This is a static scan, not a review. It reads the skill's files; it does not run them, and it cannot tell you whether the skill is any good or whether the code does what its description says. A skill runs with whatever access you give your agent.
What each check looks for →

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 @MainActor isolation 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.