Macos Swiftui Patterns
Build macOS SwiftUI scenes and components with desktop patterns. Use when shaping windows, commands, toolbars, settings, split views, or inspectors.
Install
npx skills add robinebers/skills --skill macos-swiftui-patternsgit clone --depth 1 https://github.com/robinebers/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/skills/macos-swiftui-patterns ~/.claude/skills/macos-swiftui-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 Patterns ## Quick Start Choose a track based on your goal: ### Existing project - Identify the feature or scene and the primary interaction model: document, editor, sidebar-detail, utility window, settings, or menu bar extra. - Read the nearest existing scene or root view before inventing a new desktop structure. - Choose the relevant reference from `references/components-index.md`. - If SwiftUI cannot express the required platform behavior cleanly, use the `macos-appkit-interop` skill rather than forcing a shaky workaround. ### New app scaffolding - Choose the scene model first: `WindowGroup`, `Window`, `Settings`, `MenuBarExtra`, or `DocumentGroup`. - If the app combines a normal main window and a `MenuBarExtra`, use `WindowGroup(..., id:)` for the primary window when it should appear at launch. Treat `Window(...)` as a better fit for auxiliary/on-demand singleton windows; in menu-bar-heavy apps, a `Window(...)` scene may not present the main window automatically at launch. - Before creating the scaffold, check whether the workspace is already inside a git repo with `git rev-parse --is-inside-work-tree`. If not, run `git init` at the project root so git-backed features are available from the start. Do not initialize a nested repo inside an existing parent checkout.
Details
- Skill name
macos-swiftui-patterns- Repository
- robinebers/skills
- Path
skills/macos-swiftui-patterns/SKILL.md- Repo updated
- 25 June 2026
FAQ
What does the Macos Swiftui Patterns skill do?
Build macOS SwiftUI scenes and components with desktop patterns. Use when shaping windows, commands, toolbars, settings, split views, or inspectors.
How do I install the Macos Swiftui Patterns skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add robinebers/skills --skill macos-swiftui-patterns. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Macos Swiftui Patterns popular?
It lives in robinebers/skills, which has 49 GitHub stars and 5 forks.
Related skills
Building Native UI
49robinebers/skills
Complete guide for building beautiful apps with Expo Router. Covers fundamentals, styling, components, navigation, animations, patterns, and native tabs.
Code Upgrade
49robinebers/skills
Engineering-discipline toolkit for non-technical users working with AI coders. Wields KISS, DRY, YAGNI, fail-fast, and idempotency as commands. Use when the user asks to audit, simplify, clean up, dedupe, or harden code; or says "make this simpler", "any duplicates?", "is this safe to run twice", "explain this app", "find dead code", "simplify the plan", or "find silent failures".
Expo API Routes
49robinebers/skills
Guidelines for creating API routes in Expo Router with EAS Hosting
Macos Window Management
49robinebers/skills
Customize macOS SwiftUI windows and scene behavior. Use when tuning window chrome, drag regions, placement, restoration, launch behavior, or borderless windows.
Macos Liquid Glass
49robinebers/skills
Implement and review macOS SwiftUI Liquid Glass UI. Use when adopting system glass, removing conflicting custom chrome, or building glass surfaces.
Swiftui Liquid Glass
49robinebers/skills
Implement and review iOS 26+ SwiftUI Liquid Glass UI. Use when adopting Liquid Glass or checking its correctness, performance, and design fit.
Browse the most popular Claude skills, all mobile development skills, or write your own with the skills generator.