Toolverse
All skills

swiftui-performance-audit

by steipete

Audit and improve SwiftUI runtime performance from code review and architecture. Use for requests to diagnose slow rendering, janky scrolling, high CPU/memory usage, excessive view updates, or layout thrash in SwiftUI apps, and to provide guidance for user-run Instruments

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
steipete
Category
Mobile
Views
1

About this skill

Audit and improve SwiftUI runtime performance from code review and architecture. Use for requests to diagnose slow rendering, janky scrolling, high CPU/memory usage, excessive view updates, or layout thrash in SwiftUI apps, and to provide guidance for user-run Instruments profiling when code review alone is insufficient.

How to use

  1. Przygotuj kod do analizy — jeśli masz konkretny widok SwiftUI, który działa wolno, skopiuj jego kod. Jeśli znasz tylko objawy (np. zacinające się przewijanie, wysoka temperatura procesora), przygotuj opis problemu i kroki do jego reprodukcji.

  2. Poproś umiejętność o analizę kodu — przekaż kod widoku, przepływ danych (state, environment, observable models) i dokładny opis objawów. Umiejętność przeanalizuje kod w poszukiwaniu typowych pułapek: burz unieważniania widoków, niestabilnych identyfikatorów w listach, ciężkich operacji w body, zagmatwanych hierarchii layoutu, dużych obrazów bez zmniejszania rozmiaru i nadmiernych animacji.

  3. Przeanalizuj wyniki — otrzymasz listę prawdopodobnych przyczyn z odwołaniami do konkretnych linii kodu oraz sugerowane poprawki i refaktoryzacje.

  4. Jeśli analiza kodu nie wyjaśnia problemu, przejdź do profilowania — umiejętność poprosi Cię o zbieranie danych za pomocą Instruments (w wersji Release). Otwórz Instruments, wybierz szablon SwiftUI, odtwórz dokładnie problem (przewijanie, nawigacja, animacja) i przechwyć ścieżkę czasową SwiftUI oraz Time Profiler.

  5. Udostępnij wyniki profilowania — wyeksportuj ślad lub zrób zrzut ekranu pasów SwiftUI i drzewa wywołań Time Profiler. Umiejętność przeanalizuje dane i poda konkretne rekomendacje optymalizacji.

Related skills

xcodebuildmcp

by cameroncooke

Official skill for XcodeBuildMCP. Use when doing iOS/macOS/watchOS/tvOS/visionOS work (build, test, run, debug, log, UI automation).

Mobile
2225

android-kotlin-development

by aj-geddes

Develop native Android apps with Kotlin. Covers MVVM with Jetpack, Compose for modern UI, Retrofit for API calls, Room for local storage, and navigation architecture.

Mobile
152396

vercel-react-native-skills

by vercel-labs

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or

Mobile
1745

swift-best-practices

by sammcj

This skill should be used when writing or reviewing Swift code for iOS or macOS projects. Apply modern Swift 6+ best practices, concurrency patterns, API design guidelines, and migration strategies. Covers async/await, actors, MainActor, Sendable, typed throws, and Swift 6

Mobile
36140

mobile-android-design

by wshobson

Master Material Design 3 and Jetpack Compose patterns for building native Android apps. Use when designing Android interfaces, implementing Compose UI, or following Google's Material Design guidelines.

Mobile
38181

senior-architect

by alirezarezvani

Comprehensive software architecture skill for designing scalable, maintainable systems using ReactJS, NextJS, NodeJS, Express, React Native, Swift, Kotlin, Flutter, Postgres, GraphQL, Go, Python. Includes architecture diagram generation, system design patterns, tech stack

Mobile
184296