SwiftUI-Agent-Skill
Add expert SwiftUI Best Practices guidance to your AI coding tool (Agent Skills open format).
SwiftUI-Agent-Skill is an agent skill that provides expert SwiftUI best practices guidance to AI coding tools supporting the Agent Skills open format. It delivers comprehensive reference material covering state management, view composition, performance optimization, Swift Charts, macOS development, animations, and iOS 26+ Liquid Glass effects. The skill includes an executable Python toolchain for recording and analyzing Xcode Instruments traces, enabling AI agents to diagnose performance issues, hangs, and hitches. References load on-demand to keep context efficient while providing deep guidance for specific SwiftUI development tasks.
Key Features
Use Cases
- 01Code review of SwiftUI views for state management anti-patterns and performance issues
- 02Refactoring legacy SwiftUI code to adopt modern Observable framework and latest APIs
- 03Diagnosing and fixing scroll performance problems, animation hitches, and UI hangs
- 04Implementing accessible Swift Charts with VoiceOver support and Dynamic Type
- 05Building macOS multi-window applications with proper scene lifecycle management
- 06Adopting iOS 26+ Liquid Glass visual effects with backward compatibility
Related Skills
View moresuperpowers
An agentic skills framework & software development methodology that works.
skills
Skills for Real Engineers. Straight from my .agents directory.
skills
Public repository for Agent Skills
ponytail
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
SwiftUI-Agent-Skill — FAQ
What is SwiftUI-Agent-Skill?+
SwiftUI-Agent-Skill is an agent skill that adds expert SwiftUI development guidance to AI coding assistants. It provides best practices for state management, performance, charts, animations, macOS development, and iOS 26+ features, plus an Instruments trace analysis toolchain.
How do I install SwiftUI-Agent-Skill in Claude Code?+
Run '/plugin marketplace add AvdLee/SwiftUI-Agent-Skill' to add the marketplace, then '/plugin install swiftui-expert@swiftui-expert-skill' to install. For team-wide usage, configure your repository's .claude/settings.json with the enabledPlugins and extraKnownMarketplaces entries.
Which AI coding tools support this skill?+
SwiftUI-Agent-Skill works with Claude Code, ChatGPT (with Codex enabled), Codex CLI, Cursor, and any tool supporting the Agent Skills open format or Agent Plugins 1.0.0 spec. Client-specific manifests are included for each platform.
Do I need API keys or prerequisites to use this skill?+
No API keys are required. The skill itself is pure reference content. However, the Instruments trace recording and analysis features require Xcode command-line tools (xctrace) installed on macOS.
Is SwiftUI-Agent-Skill free to use?+
Yes, it is open-source and available under the MIT License at no cost.
How does the Instruments trace analysis work?+
The skill includes Python scripts that wrap xctrace to record new traces or analyze existing ones. It parses Time Profiler, Hangs, Animation Hitches, and SwiftUI update lanes, correlates issues with stack traces, and outputs structured JSON and markdown for the agent to reason about performance problems.
How do I install SwiftUI-Agent-Skill?+
Open the source repository on GitHub and follow its README. SwiftUI-Agent-Skill is a skill — MCP Agents Market links you directly to the official repo.
Is SwiftUI-Agent-Skill free?+
SwiftUI-Agent-Skill is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.