SwiftUI-Agent-Skill
SwiftUI agent skill for Claude Code, Codex, and other AI tools.
SwiftUI Agent Skill is a developer resource that teaches AI coding assistants to write better SwiftUI code by providing guidance on modern APIs, performance, accessibility, and common mistakes. Created by Paul Hudson of Hacking with Swift, the skill targets errors that large language models frequently make when generating SwiftUI code, including deprecated API usage, VoiceOver accessibility issues, and performance pitfalls. It works with Claude Code, Codex, Gemini, Cursor, and other AI assistants that support the Agent Skills format, and can be installed via npx or directly through Claude's plugin marketplace.
Key Features
Use Cases
- 01Reviewing AI-generated SwiftUI code for accessibility compliance and VoiceOver support
- 02Identifying deprecated SwiftUI APIs and updating to modern equivalents
- 03Catching performance issues in SwiftUI views before they reach production
- 04Teaching AI assistants to generate more idiomatic and maintainable SwiftUI code
- 05Performing targeted code reviews focusing on specific areas like navigation or animations
- 06Ensuring AI-generated SwiftUI code follows Apple platform best practices
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 (SwiftUI Pro) is an agent skill that provides AI coding assistants with expert guidance on writing modern, performant, and accessible SwiftUI code. It targets common mistakes that large language models make when generating SwiftUI code, including deprecated APIs, accessibility issues, and performance problems.
How do I install SwiftUI Agent Skill?+
You can install it using npx with the command 'npx skills add https://github.com/twostraws/swiftui-agent-skill --skill swiftui-pro'. Claude Code users can also install it via the marketplace with '/plugin marketplace add twostraws/SwiftUI-Agent-Skill' followed by '/plugin install swiftui-pro@swiftui-agent-skill'.
Which AI coding assistants work with SwiftUI Agent Skill?+
The skill works with Claude Code, Codex, Gemini, Cursor, and other AI assistants that support the Agent Skills format. You can trigger it using commands like '/swiftui-pro' in Claude Code or '$swiftui-pro' in Codex.
Do I need an API key to use SwiftUI Agent Skill?+
No API key is required for the skill itself. You only need Node.js installed (via Homebrew if necessary) to use the npx installation method. The skill works within your existing AI coding assistant setup.
Is SwiftUI Agent Skill free to use?+
Yes, it is open source and available under the MIT License, which permits free commercial use, modification, distribution, and private use.
What are the prerequisites for SwiftUI Agent Skill?+
You need Node.js installed on your system for the npx installation method. If you don't have it, install it via Homebrew with 'brew install node'. The skill is designed for Swift 6.2+ and iOS 26+ development.
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.