Swiftui Expert Skill
Use when writing, reviewing, or refactoring SwiftUI code for iOS or macOS, including state management and `@Observable` data flow, view composition and invalidation/performance, lists and `ForEach` identity, environment usage, localization, animations, Liquid Glass adoption, migrating soft-deprecated APIs, or Instruments `.trace` capture/analysis for hangs, hitches, CPU hotspots, or excessive view updates.
- Type
- Skill
- Author
- avdlee
- Category
- Frontend
- GitHub stars
- 3.8K
- Installs
- 35.2K
- Last updated
- October 6, 2026
Install
npx skills add https://github.com/avdlee/swiftui-agent-skill --skill swiftui-expert-skillUse cases
- Write SwiftUI code for iOS or macOS with proper state management.
- Review and refactor existing SwiftUI views for performance.
- Analyze Instruments .trace files for hangs, hitches, or CPU hotspots.
Frequently Asked Questions
What SwiftUI topics does this skill cover?
It covers state management and @Observable data flow, view composition and invalidation, lists and ForEach identity, environment usage, localization, and animations.
Does it help with Instruments .trace analysis?
Yes, it covers capturing or analyzing Instruments .trace files for hangs, hitches, CPU hotspots, and excessive view updates.
Who is this skill aimed at?
It's aimed at developers working on existing SwiftUI codebases as much as new ones.
About this skill
Assists with writing, reviewing, and refactoring SwiftUI code for iOS and macOS, covering state management and @Observable data flow, view composition and invalidation, lists and ForEach identity, environment usage, localization, and animations. It also covers Liquid Glass adoption, migrating soft-deprecated APIs, and capturing or analyzing Instruments .trace files for hangs, hitches, CPU hotspots, and excessive view updates. It's aimed at developers working on existing SwiftUI codebases as much as new ones.
Summary written with AI assistance from the project's public description.
More from avdlee
Swift Concurrency
Diagnose Swift Concurrency issues, refactor callback-based code to async/await, and guide Swift 6 migration when working with tasks, actors, @MainA...
by avdlee
Swift Testing Expert
Expert guidance for Swift Testing: test structure, #expect/#require macros, traits and tags, parameterized tests, test plans, parallel execution, a...
by avdlee
SwiftUI Agent Skill
SwiftUI best practices for state management, view composition, performance, modern SDK APIs, and Liquid Glass.
by AvdLee
Swift Concurrency Agent Skill
Expert guidance on Swift Concurrency: async/await, actors, tasks, Sendable conformance, and Swift 6 migration patterns.
by AvdLee
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh