swiftui-expert-skill
Skill by pablopunk
Helps an AI assistant write, review, and improve SwiftUI code. It covers state management, performance, macOS APIs, and iOS 26+ Liquid Glass adoption. Built for developers building or refactoring SwiftUI features.
Install swiftui-expert-skill
Built from the published package, never by AI.
git clone --depth 1 https://github.com/pablopunk/SwiftShift /tmp/SwiftShift && mkdir -p ~/.claude/skills && cp -r /tmp/SwiftShift/.agents/skills/swiftui-expert-skill ~/.claude/skills/swiftui-expert-skillRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/pablopunk/SwiftShift /tmp/SwiftShift && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/SwiftShift/.agents/skills/swiftui-expert-skill ~/.gemini/antigravity-cli/skills/swiftui-expert-skillAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install swiftui-expert-skill in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
SwiftUI Expert Skill is an agent skill that helps an AI assistant write, review, or improve SwiftUI code. It covers state management, view composition, performance, macOS-specific APIs, and iOS 26+ Liquid Glass adoption. The skill is organized around a topic router that points the assistant to reference files for each topic, such as animations, accessibility, Swift Charts, and macOS scenes.
Before each task the assistant is told to check a reference file of deprecated-to-modern API transitions. It flags deprecated APIs, validates #available gating with fallbacks, and presents performance changes as suggestions rather than requirements. It does not enforce a specific architecture, and it adopts Liquid Glass only when the user asks. It is aimed at developers building, refactoring, or reviewing SwiftUI features.
Written from the project's SKILL.md and checked against it.
What it can do
- Write new SwiftUI featuresDesigns data flow first, then structures views and applies animation patterns for a new feature.
- Review SwiftUI codeFlags deprecated APIs and runs the topic router on the code under review.
- Improve existing viewsReplaces deprecated APIs and extracts complex view bodies into subviews.
- State management guidanceCovers property wrappers, data flow, and @Observable migration.
- Performance patternsSuggests hot-path optimizations and update control as optional improvements.
- Lists and ForEachCovers stable identity in ForEach and Table usage.
- AnimationsCovers basic, transition, and advanced animation patterns.
- AccessibilityCovers VoiceOver, Dynamic Type, grouping, and traits.
- Swift ChartsCovers chart marks, axes, selection, styling, and chart accessibility.
- macOS views and scenesCovers macOS scenes, window styling, and macOS-specific views.
What you need
- A SwiftUI codebase to review or extend
- iOS 26+ for Liquid Glass APIs
Try asking
- Review this SwiftUI view for state management issues
- Refactor this view and extract its body into subviews
- Add Liquid Glass styling to this screen, since I want it
Good to know
- Liquid Glass is adopted only when the user explicitly requests it
- Performance changes are presented as suggestions, not requirements
- Does not enforce a specific architecture such as MVVM or VIPER
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/swiftui-expert-skill/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
references/accessibility-patterns.md6 KB -
references/animation-advanced.md10 KB -
references/animation-basics.md7 KB -
references/animation-transitions.md7 KB
Show all 20 files
-
references/charts-accessibility.md6 KB -
references/charts.md17 KB -
references/image-optimization.md7 KB -
references/latest-apis.md15 KB -
references/layout-best-practices.md7 KB -
references/liquid-glass.md11 KB -
references/list-patterns.md12 KB -
references/macos-scenes.md9 KB -
references/macos-views.md11 KB -
references/macos-window-styling.md9 KB -
references/performance-patterns.md12 KB -
references/scroll-patterns.md8 KB -
references/sheet-navigation-patterns.md11 KB -
references/state-management.md14 KB -
references/view-structure.md13 KB
Alternatives to swiftui-expert-skill
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
swiftui-expert-skill: common questions
Does this skill use Liquid Glass by default?
No. The skill adopts Liquid Glass only when the user explicitly requests it.
Does it check for deprecated SwiftUI APIs?
Yes. It consults a reference file of deprecated-to-modern API transitions from iOS 15 through iOS 26 before each task.
Which platforms does it cover?
It covers iOS, including iOS 26+ features with #available gating, and macOS-specific APIs and scenes.
How do I install swiftui-expert-skill?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is swiftui-expert-skill free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is swiftui-expert-skill safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to swiftui-expert-skill?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
