Skill Detail

Implement, review, and optimize SwiftUI code with trace-backed diagnostics

Guide SwiftUI implementation and refactoring with current Apple patterns, then analyze Instruments traces to diagnose hangs, hitches, and expensive view updates.

Library & API ReferenceCustom Agents
Library & API Reference Custom Agents Security Reviewed
Tool match: swiftui-agent-skill MIT license
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill implement-review-and-optimize-swiftui-code-with-trace-backed-diagnostics Copy
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Tools required
Xcode Instruments traces; SwiftUI source files; custom skill-capable agent client
Install & setup
Copy the skill folder into your agent client’s local skills path, then invoke it for SwiftUI implementation, review, or .trace analysis tasks.
Author
Antoine van der Lee
Publisher
Individual
Last updated
Apr 23, 2026
Quick brief

This skill gives an agent a concrete SwiftUI operator workflow instead of a generic Apple or SwiftUI listing. The agent reviews existing SwiftUI code, routes issues through topic-specific references, flags deprecated APIs, suggests targeted refactors, and can move into trace-driven diagnosis when the user provides or records an Instruments .trace file. The upstream skill includes explicit guidance for state management, view composition, performance, accessibility, iOS 26+ gating, and trace analysis.

How it works

What this skill actually does

Use this when the user wants help implementing or refactoring SwiftUI code, reviewing architecture and performance decisions, or diagnosing runtime issues from Instruments traces. This is the right invocation shape when the user wants agent-guided code review and evidence-backed performance diagnosis rather than simply consulting SwiftUI docs or using Xcode normally.

The scope boundary is sharp: this is not a plain SwiftUI framework card. It is a workflow skill for code review, optimization, and trace-based diagnosis with explicit steps, references, and performance-analysis procedures.