Review SwiftUI code for deprecated APIs, accessibility gaps and performance pitfalls. SwiftUI Pro reports issues by file with suggested fixes.
swiftui-pro
Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance. Use when reading, writing, or reviewing SwiftUI projects.
Informations de source
- Dépôt
- twostraws/SwiftUI-Agent-Skill
- Dernière activité de la source
- 20 avril 2026 à 08:02
- Langue détectée de SKILL.md
- anglais
- Étoiles
- 4 863
- Forks
- 177
SwiftUI Pro: review SwiftUI APIs, accessibility and performance
Review SwiftUI code for modern API usage, data flow, navigation, accessibility and performance. Findings include file locations, the violated rule and a suggested code change.
Examples
The source illustrates replacing foregroundColor() with foregroundStyle() and giving an icon-only button an accessible label. Paul Hudson’s announcement highlights deprecated APIs, accessibility and performance.
Uses
Use a full review or load only the references relevant to a focused check. The accessibility references cover Dynamic Type, VoiceOver and Reduce Motion.
Prerequisites
The README supports Claude Code, Codex, Gemini CLI and other compatible agents. Supply the SwiftUI project and its conventions. The source defaults new apps to iOS 26 and Swift 6.2+.
How to use
The README provides this scoped installation:
npx skills add https://github.com/twostraws/swiftui-agent-skill --skill swiftui-pro
For a focused review, its Claude Code example is:
/swiftui-pro Check for deprecated API
The Codex example is $swiftui-pro Focus on accessibility.
Limitations
The report skips files without genuine issues and ends with a prioritized summary. It is a source-guided code review; the source does not claim that reading the Skill proves a successful build or runtime check. The Skill is MIT licensed.
Options d'installation
Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.
Vérifiez les fichiers source
Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.
Affichage de SKILL.md
- name
- swiftui-pro
- description
- Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance. Use when reading, writing, or reviewing SwiftUI projects.
- license
- MIT
- metadata
- {"author":"Paul Hudson","version":"1.1"}