swiftui-agent-skill
An expert SwiftUI agent skill for AI coding assistants, providing guidance on modern API usage, performance, and accessibility.

Suggested prompts
Use the SwiftUI Pro skill to look for performance problems in this project.
Run the SwiftUI Pro skill and focus on identifying any deprecated API usage.
Use the SwiftUI Pro skill to review the current interface for accessibility and VoiceOver support.
About this skill
SwiftUI Pro
SwiftUI Pro is an agent skill designed for AI coding assistants, helping them write smarter, simpler, and more modern SwiftUI code. It includes guidance on API usage, design, performance, and accessibility, specifically targeting common mistakes made by LLMs. The skill covers navigation, layout, animations, state management, VoiceOver, deprecated API, and more.
Use Cases
- Developers using AI coding assistants (such as Claude Code, Codex, Gemini, Cursor, etc.) to write SwiftUI code
- Scenarios where you want to improve the quality of AI-generated code and reduce common mistakes
- When you need to review or optimize a SwiftUI project
Core Capabilities
- Guidance on correct SwiftUI API usage
- Best practice suggestions for design
- Detection and remediation of performance issues
- Enhanced accessibility (e.g., VoiceOver) support
- Identification of deprecated API and alternative recommendations
- Coverage of navigation, layout, animations, state management, and other core areas
How It Works
- The user triggers the skill through an AI coding assistant, for example by using
/swiftui-proin Claude Code,$swiftui-proin Codex, or via natural language (e.g., "Use the SwiftUI Pro skill to look for performance problems in this project.") - The skill analyzes the user's SwiftUI code based on a set of built-in rules.
- The user receives improvement suggestions, including specific fixes and best practice guidance.
What You Need to Provide
- A SwiftUI project (code)
- Optional additional instructions for a partial review, such as "Check for deprecated API" or "Focus on accessibility"
What You Will Get
- Code review results: improvement suggestions covering performance, accessibility, API usage, deprecated API, and more
- Specific code fixes or alternative solutions
Usage Examples
- In Claude Code:
/swiftui-proor/swiftui-pro Check for deprecated API - In Codex:
$swiftui-proor$swiftui-pro Focus on accessibility - Natural language trigger:
Use the SwiftUI Pro skill to look for performance problems in this project.
Important Notes
- This skill depends on the chosen AI coding assistant and does not run independently.
- The skill is built on extensive practical experience but cannot guarantee coverage of all edge cases.
- Users should verify and adjust the generated suggestions according to their own project requirements.