Swiftui Pro
Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance. Use when reading, writing, or…
- Type
- Skill
- Repository
- twostraws/SwiftUI-Agent-Skill
- GitHub stars
- 4.9k
- License
- MIT
- Repo last updated
- Apr 20, 2026
- Source file
- README.md
What Swiftui Pro is
Swiftui Pro is a skill published in the twostraws/SwiftUI-Agent-Skill repository on GitHub, which has about 4.9k stars. The repository describes itself as: “SwiftUI agent skill for Claude Code, Codex, and other AI tools.”
A skill is a folder with a SKILL.md file: frontmatter with a name and a description, followed by instructions Claude follows. Claude loads a skill automatically when a task matches its description, and you can also run it directly with a slash and its name.
Skills work in Claude Code and in Claude Cowork, which makes Swiftui Pro a portable way to give Claude the same method everywhere.
How to install Swiftui Pro
Claude Code
- Download the swiftui-pro folder from the repository.
- Save it as ~/.claude/skills/<skill-name>/SKILL.md for all projects, or .claude/skills/<skill-name>/SKILL.md for one project.
- Claude loads it automatically when a task matches; you can also run it with / and its name.
Claude Cowork
- Zip the skill folder so SKILL.md sits at the top level of the folder.
- Open Customize → Skills, click +, then upload the ZIP.
- Start a task that matches the description, or call it by name with /.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from README.md, shared under the repository's MIT license. Read the full file on GitHub.
SwiftUI Agent Skill for AI Coding Assistants
An agent skill that helps AI coding assistants write smarter, simpler, and more modern SwiftUI, including guidance on API usage, design, performance, and accessibility. Covers navigation, layout, animations, state management, VoiceOver, deprecated API, and more, targeting the mistakes LLMs actually make.
Also available:
- SwiftData Pro
- Swift Concurrency Pro
- Swift Testing Pro
Find more agent skills for Swift and Apple platform development at Swift Agent Skills.
The skill builds upon my existing AGENTS.md file, meaning that you can bring years of knowledge and practical experience into your coding agent of choice in just a few minutes. It uses the Agent Skills format, so it works smoothly with Claude Code, Codex, Gemini, Cursor, and more.
Installing SwiftUI Pro
You can install this skill into Claude Code, Codex, Gemini, Cursor, and more by using npx:
npx skills add https://github.com/twostraws/swiftui-agent-skill --skill swiftui-proIf you get the error npx: command not found, it means you don’t currently have Node installed. You need to run this command to install Node through Homebrew:
brew install nodeAnd if that fails it usually means you need to install Homebrew first.
When using npx, you can select exactly which agents you want to use during the installation. You can also select whether the skill should be installed just for one project, or whether it should be made available for all your projects.
Claude Code users can add the SwiftUI Agent Skill marketplace then install the plugin directly through Claude, like this:
/plugin marketplace add twostraws/SwiftUI-Agent-Skill
/plugin install swiftui-pro@swiftui-agent-skillAlternatively, you can clone this whole repository and install it however you want.
If you’re using Xcode, watch the YouTube video on How to Install and Use Agent Skills in Xcode for a walkthrough.
Using SwiftUI Pro
The skill is called SwiftUI Pro, and can be triggered in various ways. For example, in Claude Code you would use this:
> /swiftui-pro
And in Codex you would use this:
> $swiftui-pro
In both cases you can provide specific instructions if you want only a partial review. For example, /swiftui-pro Check for deprecated API on Claude, or $swiftui-pro Focus on accessibility in Codex.
You can also trigger the skill using natural language:
> Use the SwiftUI Pro skill to look for performance problems in this project.
Why Use an Agent Skill for SwiftUI?
This skill is built on thousands of hours of learning, experimenting, and building real-world SwiftUI projects. The rules contained here directly target common SwiftUI mistakes made by LLMs. They sometimes make buttons invisible to VoiceOver, they frequently use deprecated API, and they would often write code that causes surprise performance problems.
You can read more about why I created this skill in my article: SwiftUI Agent Skill - Write better code with Claude, Codex, and other AI tools.
Contributing
I welcome all contributions, whether that's adding new checks, improving existing checks, or editing this README – everyone is welcome!
- Keep your Markdown concise. There is a token cost to using skills, particularly with SKILL.md, so please respect the token budgets of users.
- Do not repeat things that LLMs already know, because it burns tokens for no benefit. Focus on edge cases, surprises, soft deprecations, and similar.
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Swiftui Pro?
Swiftui Pro is a skill for Claude Code and Claude Cowork from the twostraws/SwiftUI-Agent-Skill repository on GitHub. Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance. Use when reading, writing, or…
How do I install Swiftui Pro in Claude Code?
Download the swiftui-pro folder from the repository. Save it as ~/.claude/skills/<skill-name>/SKILL.md for all projects, or .claude/skills/<skill-name>/SKILL.md for one project. Claude loads it automatically when a task matches; you can also run it with / and its name.
Can I use Swiftui Pro in Claude Cowork?
Zip the skill folder so SKILL.md sits at the top level of the folder. Open Customize → Skills, click +, then upload the ZIP. Start a task that matches the description, or call it by name with /.
Is Swiftui Pro safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Remotion Best Practices Best practices for Remotion - Video creation in React Skill · remotion-dev/skills
- Mcp Config Configure MCP (Model Context Protocol) servers for Claude Code. Manage MCP servers at user or project scope with best practices to avoid… Skill · libukai/awesome-agent-skills
- Quickdesign Use the `quickdesign` CLI to generate AI media — UGC promo videos, image edits, product creatives, video upscales — through Seedance, Kling, Sora2, Nano Banana, and GPT Image. Invoke this skill whenever the user asks for a talking-avatar video, multi-segment ad / promo / explainer, image edit (object swap, angle change, state change), product photoshoot, or video upscale via QuickDesign. Skill · anthropics/claude-plugins-community
- Bb Methodology Use at the START of any bug bounty hunting session, when switching targets, or when feeling lost about what to do next. Master… Skill · awarexone/Agentic-Bug-Hunter
- Assets Copy Copy assets at given paths and store them at new paths. Refreshes the AssetDatabase at the end. Use 'assets-find' to locate the source… Skill · IvanMurzak/Unity-MCP
- Analyzing Dotnet Performance Scans .NET code for ~50 performance anti-patterns across async, memory, strings, collections, LINQ, regex, serialization, and I/O with… Skill · dotnet/skills
- Gemini Api Dev Use this skill when building applications with Gemini models, Gemini API, working with multimodal content (text, images, audio, video)… Skill · google-gemini/gemini-skills
- Text To Lottie Create, edit, or fix Lottie/Bodymovin JSON animations for the local Skia Skottie player. Use for text-to-Lottie, SVG/logo/type animation… Skill · diffusionstudio/lottie