What it does
Use when writing, reviewing, or refactoring SwiftUI code for iOS or macOS, including state and `@Observable` data flow, view composition, resizable layouts, safe areas, display scale, performance,…
Expert guidance for any AI coding tool that supports the Agent Skills open format — SwiftUI state management, view composition, performance, SDK 27 changes, and Liquid Glass adoption.
This repository distills practical SwiftUI best practices into actionable, concise references for agents and code review workflows.
This repository is packaged as a portable Agent Plugin (spec 1.0.0): compatible clients discover the skill automatically from the root plugin.json manifest and the skills/ directory. Client-specific manifests for Claude Code, Cursor, Codex, and pi are included as well.
- Teams adopting modern SwiftUI APIs who want quick, correct defaults
- Developers reviewing or refactoring SwiftUI views and data flow
- Anyone shipping performant lists, scrolling, sheets, and navigation in SwiftUI
For more information, visit the skills.sh platform page.
From README.md in AvdLee/SwiftUI-Agent-Skill · a snapshot from Nov 24, 2026, so it may be a little out of date
Try it
- 1Add swiftui-skill to your AI
- 2Ask for something like this
Review this SwiftUI view for state-management mistakes.
Make my iOS app's layout work on iPad and large displays.
Adopt Liquid Glass in our tab bar the right way.
Example prompts written from the skill's instructions.
Safety
SafeDetails
All three scanners ran and found nothing that could steal your data or hijack your AI.
What it can do- Runs commands on your computer
- Asks for wide access to your files
- Scanners
- SkillSpector 2.12.0 · HoneyBadger 0.8.1 · agentscan 1.2.2
- Version scanned
204dba7AvdLee/SwiftUI-Agent-Skill- Scanned on
- Nov 10, 2026
- Raw reports
- full report skillspector honeybadger agentscan
- Secret scanPassed
- Dangerous commandsNoticed
agentscan: shell medium swiftui-expert-skill/scripts/instruments_parser/xctrace.py:106 Invokes subprocessCan run commands on your computer. (LLM06 Excessive Agency)agentscan: shell medium swiftui-expert-skill/scripts/instruments_parser/xctrace.py:35 Invokes subprocessCan run commands on your computer. (LLM06 Excessive Agency)agentscan: shell medium swiftui-expert-skill/scripts/record_trace.py:132 Invokes subprocessCan run commands on your computer. (LLM06 Excessive Agency) - Network callsPassed4 more in the raw reports.
- PermissionsNoticed
SkillSpector: AS3 MEDIUM swiftui-expert-skill/references/latest-apis.md:5 Skill EnumerationLooks up your other installed skills. (LLM06 Excessive Agency) - Prompt injectionNoticed
SkillSpector: MP3 HIGH swiftui-expert-skill/references/modifier-patterns.md:7 Memory ManipulationTries to change what your AI remembers. (LLM01 Prompt Injection)SkillSpector: P4 MEDIUM swiftui-expert-skill/references/latest-apis.md:104 Behavior ManipulationHas text that could steer your AI. (LLM01 Prompt Injection) - LicensePassed
- MaintenancePassed
No person has signed this one off yet.
Ships local Python scripts that record and parse Xcode Instruments traces with xctrace; no network.
An AI reviewer read the files and wrote this. It is not a scan, nobody approved it yet, and it never sets the label above.
Three open-source scanners (SkillSpector, HoneyBadger, agentscan) check this exact version. Heads up means it could steal your data or hijack your AI. What it can do is listed, not warned about. Scanners miss things.
How we check: only harm earns a Heads up, meaning prompt injection (OWASP LLM01) or data leaks (LLM02), in files the skill ships. Abilities like running commands (LLM06) are listed, not warned about. No AI is used for this step. OWASP
Details
- Stars
- 3.9kon GitHub
- Installs
- 37kon skills.sh
- Last updated
- Nov 6, 2026on GitHub
GitHub and skills.sh numbers are a snapshot from Nov 24, 2026, not live.
Community
Comments
How to add swiftui-skill to Claude
Press Add to your AI at the top of this page and pick Claude, or do it yourself:
- Download the skill. Keep the .zip as it is.
- On Claude's skills page, click +, then Create skill, then Upload a skill.
- Pick the file you downloaded and switch the skill on.
Works on every Claude plan, Free included. Code execution and file creation need to be on in Claude's settings. How to add a skill to Claude, step by step.
In ChatGPT
Skills are on ChatGPT Business, Enterprise, Healthcare and Edu plans. Download the skill. Keep the .zip as it is. In ChatGPT, open Plugins in the sidebar, then the Skills tab, then Create, then Upload from your computer. Pick the file you downloaded. ChatGPT checks it, then it's ready. More on ChatGPT.
For AI apps and agents: the skill's instructions as plain text, at the version we scanned.