Swiftui UI Patterns
Best practices and example-driven guidance for building SwiftUI views and components. Use when creating or refactoring SwiftUI UI, designing tab architecture with TabView, composing screens, or needing component-specific patterns and examples.
Install
npx skills add 199-biotechnologies/swiftui-claude-skills --skill swiftui-ui-patternsgit clone --depth 1 https://github.com/199-biotechnologies/swiftui-claude-skills.git /tmp/swiftui-claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/swiftui-claude-skills/swiftui-ui-patterns ~/.claude/skills/swiftui-ui-patternsPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# SwiftUI UI Patterns
## Quick start
Choose a track based on your goal:
### Existing project
- Identify the feature or screen and the primary interaction model (list, detail, editor, settings, tabbed).
- Find a nearby example in the repo with `rg "TabView\("` or similar, then read the closest SwiftUI view.
- Apply local conventions: prefer SwiftUI-native state, keep state local when possible, and use environment injection for shared dependencies.
- Choose the relevant component reference from `references/components-index.md` and follow its guidance.
- Build the view with small, focused subviews and SwiftUI-native data flow.
### New project scaffolding
- Start with `references/app-scaffolding-wiring.md` to wire TabView + NavigationStack + sheets.
- Add a minimal `AppTab` and `RouterPath` based on the provided skeletons.
- Choose the next component reference based on the UI you need first (TabView, NavigationStack, Sheets).
- Expand the route and sheet enums as new screens are added.
## General rules to follow
- Use modern SwiftUI state (`@State`, `@Binding`, `@Observable`, `@Environment`) and avoid unnecessary view models.
- Prefer composition; keep views small and focused.
- Use async/await with `.task` and explicit loading/error states.
- Maintain existing legacy patterns only when editing legacy files.
- Follow the project's formatter and style guide.Details
- Skill name
swiftui-ui-patterns- Repository
- 199-biotechnologies/swiftui-claude-skills
- Path
swiftui-ui-patterns/SKILL.md- Repo updated
- 19 March 2026
FAQ
What does the Swiftui UI Patterns skill do?
Best practices and example-driven guidance for building SwiftUI views and components. Use when creating or refactoring SwiftUI UI, designing tab architecture with TabView, composing screens, or needing component-specific patterns and examples.
How do I install the Swiftui UI Patterns skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add 199-biotechnologies/swiftui-claude-skills --skill swiftui-ui-patterns. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Swiftui UI Patterns popular?
It lives in 199-biotechnologies/swiftui-claude-skills, which has 9 GitHub stars and 0 forks.
Related skills
On Device AI
9199-biotechnologies/swiftui-claude-skills
Build iOS 26+ apps with Apple's Foundation Models framework for on-device AI. Use when implementing @Generable structured output, LanguageModelSession, Tool protocol, streaming responses, or any on-device LLM integration. Covers the 3B parameter model available on M1+ devices with Apple Intelligence enabled.
Swift Concurrency Pro
9199-biotechnologies/swiftui-claude-skills
Reviews Swift code for concurrency correctness, modern API usage, and common async/await pitfalls. Use when reading, writing, or reviewing Swift concurrency code.
Swiftui Liquid Glass
9199-biotechnologies/swiftui-claude-skills
Implement, review, or improve SwiftUI features using the iOS 26+ Liquid Glass API. Use when asked to adopt Liquid Glass in new SwiftUI UI, refactor an existing feature to Liquid Glass, or review Liquid Glass usage for correctness, performance, and design alignment.
SwiftUI UI/UX Review
9199-biotechnologies/swiftui-claude-skills
This skill should be used when the user asks to "review SwiftUI UI", "analyze iOS interface", "check UI/UX patterns", "review liquid glass implementation", "audit SwiftUI accessibility", "check iOS 26 design compliance", "review onboarding flow", "analyze navigation patterns", "review animations", "check animation performance", "audit motion design", "review transitions", "analyze micro-interactions", or mentions SwiftUI design review, UI audit, UX analysis, iOS 26 liquid glass, HIG compliance, accessibility review, animation review, spring animations, keyframe animations, PhaseAnimator, match
Brandkit
4echoleesong/claude-skills-plugin
Premium brand-kit image generation skill for creating high-end brand-guidelines boards, logo systems, identity decks, and visual-world presentations. Trained for minimalist, cinematic, editorial, dark-tech, luxury, cultural, security, gaming, developer-tool, and consumer-app brand systems. Optimized for intentional logo concepting, refined composition, sparse typography, strong symbolic meaning, premium mockups, art-directed imagery, and flexible grid layouts.
Layer Game UI
10layerai/skills
Use when making game UI with Layer: buttons, panels, frames, dialogue boxes, tabs, tooltips, HUD elements, ability and inventory icons, currency symbols, or card and badge plates. Also when a button must stretch to any width without distorting its corners, when a UI kit must import into Unity, Godot or CSS, or when an icon set must read at 64px and match approved icons. Keywords: game UI, 9-slice, nine-slice, UI kit, button, panel, frame, HUD, icon set, NinePatch, border-image.
Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.