# Macos Swiftui Patterns

Build macOS SwiftUI scenes and components with desktop patterns.

- Repository: https://github.com/robinebers/openusage (4503 stars)
- Category: Mobile
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add robinebers/openusage --skill macos-swiftui-patterns -g -a claude-code -y`
Codex: `npx skills add robinebers/openusage --skill macos-swiftui-patterns -g -a codex -y`
Cursor: `npx skills add robinebers/openusage --skill macos-swiftui-patterns -g -a cursor -y`
Gemini CLI: `npx skills add robinebers/openusage --skill macos-swiftui-patterns -g -a gemini-cli -y`

## Description

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

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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

The rest: https://github.com/robinebers/openusage/blob/HEAD/.agents/skills/macos-swiftui-patterns/SKILL.md
