Communityコーディング&開発github.com

dimillian/swiftui-performance-audit

コードレビューとアーキテクチャからSwiftUIのランタイムパフォーマンスを監査・改善します。遅いレンダリング、カクつくスクロール、高いCPU/メモリ使用量、過剰なビュー更新、SwiftUIアプリのレイアウトスラッシュといった問題の診断や、コードレビューだけでは不十分な場合のユーザーによるInstrumentsプロファイリングのガイダンスを提供します。

swiftui-performance-audit とは?

このスキルは、SwiftUIアプリケーションのパフォーマンス問題をコードレビューとアーキテクチャ分析を通じて診断・改善するための高度なツールです。対象となる問題は、レンダリングの遅延、スクロールのカクつき、CPUやメモリの過剰消費、不必要なビュー更新、レイアウトスラッシュなど多岐にわたります。コードレビューだけでは特定が難しい場合には、Instrumentsを使った詳細なプロファイリング手順を提供し、開発者が実際にパフォーマンスボトルネックを測定・修正できるようガイドします。このスキルは、SwiftUIのパフォーマンスベストプラクティス(EquatableViewの活用、@State/@Bindingの適切なスコープ、動的なスタックとLazyスタックの使い分け、OpaqueTypeの利用など)に基づいて、特定のコード改善案を提示します。対応プラットフォームはiOS、macOS、iPadOS、watchOS、tvOSなどSwiftUIが動作するすべてのプラットフォームで利用可能であり、開発者がアプリの応答性と効率性を向上させるための実践的なアドバイスを提供します。

対応~Claude Code~Codex CLI~Cursor
Part ofMobile
npx skills add https://github.com/dimillian/skills/tree/main/skills/swiftui-performance-audit

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

swiftui-performance-audit は何をしますか?

コードレビューとアーキテクチャからSwiftUIのランタイムパフォーマンスを監査・改善します。遅いレンダリング、カクつくスクロール、高いCPU/メモリ使用量、過剰なビュー更新、SwiftUIアプリのレイアウトスラッシュといった問題の診断や、コードレビューだけでは不十分な場合のユーザーによるInstrumentsプロファイリングのガイダンスを提供します。

Individual skills in this repo

This repo contains 7 individual skills — each has its own dedicated page.

dimillian/app-store-changelog

Create user-facing App Store release notes by collecting and summarizing all user-impacting changes since the last git tag (or a specified ref). Use when asked to generate a comprehensive release changelog, App Store "What's New" text, or release notes based on git history or tags.

dimillian/ios-debugger-agent

Use XcodeBuildMCP to build, run, launch, and debug the current iOS project on a booted simulator. Trigger when asked to run an iOS app, interact with the simulator UI, inspect on-screen state, capture logs/console output, or diagnose runtime behavior using XcodeBuildMCP tools.

dimillian/macos-spm-app-packaging

Scaffold, build, and package SwiftPM-based macOS apps without an Xcode project. Use when you need a from-scratch macOS app layout, SwiftPM targets/resources, a custom .app bundle assembly script, or signing/notarization/appcast steps outside Xcode.

dimillian/swift-concurrency-expert

Swift Concurrency review and remediation for Swift 6.2+. Use when asked to review Swift Concurrency usage, improve concurrency compliance, or fix Swift concurrency compiler errors in a feature or file. Concrete actions include adding Sendable conformance, applying @MainActor annotations, resolving actor isolation warnings, fixing data race diagnostics, and migrating completion handlers to async/await.

dimillian/swiftui-liquid-glass

Implement, review, or improve SwiftUI features using the iOS 26+ Liquid Glass API. Use when asked to adopt Liquid Glass in new SwiftUI UI, refactor an existing feature to Liquid Glass, or review Liquid Glass usage for correctness, performance, and design alignment.

dimillian/swiftui-ui-patterns

Best practices and example-driven guidance for building SwiftUI views and components, including navigation hierarchies, custom view modifiers, and responsive layouts with stacks and grids. Use when creating or refactoring SwiftUI UI, designing tab architecture with TabView, composing screens with VStack/HStack, managing @State or @Binding, building declarative iOS interfaces, or needing component-specific patterns and examples.

dimillian/swiftui-view-refactor

Refactor and review SwiftUI view files with strong defaults for small dedicated subviews, MV-over-MVVM data flow, stable view trees, explicit dependency injection, and correct Observation usage. Use when cleaning up a SwiftUI view, splitting long bodies, removing inline actions or side effects, reducing computed `some View` helpers, or standardizing `@Observable` and view model initialization patterns.

関連スキル