</>MCP Agents Market
Skill

SwiftUI-Agent-Skill

by AvdLee3.5kPythonUpdated 2026-08-12

Add expert SwiftUI Best Practices guidance to your AI coding tool (Agent Skills open format).

Claude CodeChatGPTCodexCursor

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

Comprehensive SwiftUI guidance covering state management, view composition, performance, navigation, sheets, and accessibility
iOS 26+ Liquid Glass effects implementation patterns with fallback strategies
Swift Charts complete reference including marks, axes, selection, Chart3D, and accessibility
Executable Python toolchain wrapping xctrace for recording and analyzing Instruments traces
Automatic hang and hitch correlation with main-thread samples and structured JSON output for agent reasoning
macOS-specific coverage including multi-window scenes, Table views, and AppKit interop
Latest API migration guide tracking deprecated-to-modern patterns from iOS 15 through iOS 26+
Compatible with multiple AI clients via Agent Plugins 1.0.0 spec and client-specific manifests

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 more

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.

Related searches