Macos Swiftui Patterns

Build macOS SwiftUI scenes and components with desktop patterns. Use when shaping windows, commands, toolbars, settings, split views, or inspectors.

49 stars 5 forksMobile Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add robinebers/skills --skill macos-swiftui-patterns
Manual install
git 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-patterns

Personal 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.
Read the full skill on GitHub

Details

Skill name
macos-swiftui-patterns
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

Browse the most popular Claude skills, all mobile development skills, or write your own with the skills generator.