swiftui-expert-skill

The swiftui-expert-skill provides guidance for writing, reviewing, and refactoring SwiftUI code for iOS and macOS. It includes workflows for performance optimization, API migration, and Instruments trace analysis.

25.5K
Installs
5
Use cases
5/10
Quality

Is swiftui-expert-skill safe to install?

Review the source first

Review the source first: our audit of swiftui-expert-skill's source files found 6 shell commands, 0 external URLs, file reads and writes (high risk). Every command and URL listed appears verbatim in the skill's source. The skill executes Python scripts for profiling and trace analysis, which involves reading and writing files to the local filesystem and interacting with system processes.

How we audit skills: our security review methodology.

Who is this skill for?

Developers working on SwiftUI applications who need assistance with state management, performance tuning, API updates, and debugging via Instruments.

What can you do with it?

  • Reviewing existing SwiftUI code for deprecated APIs and performance issues
  • Refactoring view bodies and state management for better performance
  • Implementing new SwiftUI features with correct data flow and animation patterns
  • Recording and analyzing Instruments .trace files to identify CPU hotspots and view update issues
  • Applying version-specific API gating with #available

How good is this skill?

Quality score: 5/10. The skill documentation is comprehensive, providing clear operating rules, a structured task workflow, and a detailed reference list for various SwiftUI topics.

What does the skill file contain?

SKILL.md
# SwiftUI Expert Skill

## Operating Rules

- Consult `references/latest-apis.md` at the start of every task to avoid deprecated APIs
- Prefer native SwiftUI APIs over UIKit/AppKit bridging unless bridging is necessary
- Focus on correctness and performance; do not enforce specific architectures (MVVM, VIPER, etc.)
- Encourage separating business logic from views for testability without mandating how
- Follow Apple's Human Interface Guidelines and API design patterns
- Only adopt Liquid Glass when explicitly requested by the user (see `references/liquid-glass.md`)
- Present performance optimiz...

Frequently asked questions

Does this skill enforce a specific architecture like MVVM?

No. The skill focuses on correctness and performance and does not mandate specific architectures.

How should I handle deprecated APIs?

Consult references/latest-apis.md at the start of every task to identify and replace deprecated APIs with modern equivalents.

Can the skill record Instruments traces?

Yes. The skill provides workflows to record traces using scripts/record_trace.py and analyze them using scripts/analyze_trace.py.

What should I do if a view is performing poorly?

Analyze the trace to identify expensive views, use --fanin-for to find the source of invalidations, and consult references/performance-patterns.md.

Data sourced from avdlee/swiftui-agent-skill on GitHub. Install counts from skills.sh. The summary and security audit are derived from the skill's source files: every command and URL listed appears verbatim in the source.

Related skills

audit-website

58.0K

Developers, SEO specialists, and website administrators who need to automate website health monitoring, technical debugging, and performance optimization

The audit-website skill enables AI agents to perform comprehensive website audits using the squirrelscan CLI. It evaluates websites against 240+ rules across 22 categories, including SEO, performance, security, and accessibility. The skill generates LLM-optimized reports, identifies issues, and provides actionable recommendations for remediation.

highseoauditsquirrelscan

swiftui-pro

21.8K

SwiftUI developers seeking to improve code quality and ensure adherence to modern Apple development standards

The swiftui-pro skill reviews SwiftUI code for modern API usage, maintainability, and performance. It validates code against a set of local reference files covering accessibility, data flow, navigation, and Swift best practices.

lowSwiftUISwifttwostraws

react-native-best-practices

19.0K

React Native developers and engineers performing performance audits or optimization tasks

A performance optimization guide for React Native applications, providing structured workflows for debugging FPS, TTI, bundle size, memory leaks, and native module performance.

highreact-nativeexpocallstackincubator

fixing-motion-performance

18.0K

Frontend developers and UI engineers who need to optimize animation performance and resolve jank in web applications

The fixing-motion-performance skill audits and suggests improvements for UI animation performance. It identifies layout thrashing, inefficient compositor usage, and problematic scroll-linked motion within CSS and JavaScript animation stacks.

lowperformanceanimationibelick