twostraws/SwiftUI-Agent-Skill
SwiftUI agent skill for Claude Code, Codex, and other AI tools.
What it solves
AI coding assistants often make common mistakes when writing SwiftUI code, such as using deprecated APIs, creating performance bottlenecks, or making elements invisible to VoiceOver. This project provides a specialized knowledge base (an "agent skill") that guides AI agents to write smarter, simpler, and more modern SwiftUI code.
How it works
It uses the Agent Skills format to provide a set of rules and guidance on API usage, design, and accessibility. This skill can be installed into AI coding tools like Claude Code, Codex, Gemini, and Cursor via npx or direct plugin installation. Once installed, the agent can be triggered using specific commands (e.g., /swiftui-pro) or natural language instructions to review code or provide guidance.
Who it’s for
Developers using AI coding assistants to build iOS applications with SwiftUI, who want to ensure their AI-generated code follows modern best practices and avoids common LLM-specific pitfalls.
Highlights
- Targeted Guidance: Focuses on navigation, layout, animations, state management, and accessibility (VoiceOver).
- LLM-Specific Fixes: Specifically targets mistakes that LLMs typically make in SwiftUI development.
- Broad Compatibility: Works across multiple AI agents including Claude Code, Codex, Gemini, and Cursor.
- Easy Installation: Supports installation via
npxor plugin marketplaces.
Related
- Project
- Project
- Project
- Project