$npx skillfedfor your agent

Swiftui Patterns

SwiftUI Patterns teaches you how to structure macOS applications using SwiftUI's native scene and view system. Learn when to use WindowGroup, Settings, MenuBarExtra, and other scene models; how to organize files and state ownership; and which system affordances—commands, toolbars, sidebars, inspectors—work best for desktop interactions. The skill covers everything from new app scaffolding to refactoring existing projects with proper file structure and adaptive design.

SwiftUI Patterns helps you build well-architected macOS apps using SwiftUI's desktop-native components and proven structural patterns.

AI-generated summary based on this skill's SKILL.md

8 2 unlicensed, metadata onlyupdated by duyet

Decision gist · record as of 2026-07-24

SwiftUI Patterns helps you build well-architected macOS apps using SwiftUI's desktop-native components and proven structural patterns. SwiftUI Patterns teaches you how to structure macOS applications using SwiftUI's native scene and view system. Learn when to use WindowGroup, Settings, MenuBarExtra, and other scene models; how to organize files and state ownership; and which system affordances—commands, toolbars, sidebars, inspectors—work best for desktop interactions. The skill covers everything from new app scaffolding to refactoring existing projects with proper file structure and adaptive design.

manual: git clone https://github.com/duyet/codex-claude-plugins → cp -r codex-claude-plugins ~/.claude/skills/swiftui-patterns

Use it when

  • SwiftUI Patterns helps you understand architecture patterns that improve how you organize your application.
  • SwiftUI Patterns provides guidance on building and organizing reusable components within your application.
Same gist for agents: .md · .json

Install

duyet/codex-claude-plugins/swiftui-patterns · repository language: Python

generated, unverified - the skill's exact subdirectory could not be determined; check the repository on GitHub

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

What are the main SwiftUI patterns I should know?

SwiftUI Patterns covers the core design patterns and best practices for building SwiftUI applications. The skill teaches you how to structure macOS applications using SwiftUI's native scene and view system, including when to use WindowGroup, Settings, MenuBarExtra, and other scene models. You'll learn proper file organization, state ownership principles, and which system affordances—commands, toolbars, sidebars, inspectors—work best for desktop interactions.

How do SwiftUI architecture patterns improve app structure?

SwiftUI Patterns helps you understand architecture patterns that improve how you organize your application. The skill guides you through proper file structure, state management patterns, and adaptive design principles. Whether you're scaffolding a new app or refactoring an existing project, SwiftUI Patterns teaches you how to implement structural patterns that make your code more maintainable and your app easier to extend.

What reusable SwiftUI component patterns does this cover?

SwiftUI Patterns provides guidance on building and organizing reusable components within your application. The skill teaches you how to leverage SwiftUI's view system to create components that work across different scenes and contexts. You'll learn patterns for state management, view composition, and how to structure components so they integrate seamlessly with WindowGroup, Settings, MenuBarExtra, and other scene types.

Can SwiftUI patterns help with state management?

Yes. SwiftUI Patterns includes state management patterns as a core topic, helping you understand how to properly own and pass state throughout your application. The skill teaches you best practices for managing state across different scenes and views, ensuring your app remains responsive and maintainable as complexity grows.

What SwiftUI code examples and patterns are included?

SwiftUI Patterns serves as a reference for SwiftUI code examples and patterns. The skill provides practical guidance on implementing design patterns, from basic view composition to advanced architectural approaches. You'll find examples covering scene models, file organization, system affordances, and common patterns that help you structure both new applications and refactored projects effectively.

How do I use SwiftUI patterns for macOS app development?

SwiftUI Patterns teaches you how to structure macOS applications using SwiftUI's native capabilities. The skill covers when to use specific scene models like WindowGroup, Settings, and MenuBarExtra, how to organize your project files, and which system affordances work best for desktop interactions. This comprehensive approach helps you build well-structured macOS apps from the ground up or improve existing projects with proper patterns and organization.

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Learn SwiftUI design patterns and best practices”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

Macos App Best Practices
by duyet · duyet/codex-claude-plugins

This skill covers the core patterns for building macOS applications, from choosing the right scene types (WindowGroup, DocumentGroup, Settings, MenuBarExtra) to managing multiple windows and menu bar integration. It explains when to use SwiftUI versus AppKit, how to gate platform-specific code, and provides practical guidance on Mac Catalyst for bringing iPad apps to macOS.

no license declared → metadata onlyupdated Jul 2026
★ 8repo stars
Macos Patterns
by fayazara · fayazara/macos-app-skills

This skill guides developers through macOS-specific design patterns that differ fundamentally from web development. It covers menu bar apps using MenuBarExtra and NSStatusItem, window management with NSPanel versus NSWindow, activation policies for Dock visibility, screen geometry with macOS's bottom-left coordinate system, and collection behaviors for multi-space and fullscreen interactions. Essential for anyone building native macOS applications who needs to avoid applying web paradigms to platform-specific APIs.

no license declared → metadata onlyupdated May 2026
★ 631repo stars
macos-design-guidelines
by ehmo · ehmo/platform-design-skills

This skill distills Apple's Human Interface Guidelines into actionable rules for macOS development. Learn how to implement standard menu structures, keyboard shortcuts, resizable windows, fullscreen support, and toolbars that power users expect. Includes SwiftUI and AppKit code examples for every pattern.

MITupdated Mar 2026
★ 471repo stars
Macos Design
by dirnbauer · dirnbauer/webconsulting-skills

This skill covers Apple's Human Interface Guidelines tailored for macOS development. Learn to implement critical Mac UI patterns including menu bar structure, window management, resizable layouts, and keyboard shortcuts using SwiftUI and AppKit. Get actionable rules and code examples for building apps that respect Mac power users' expectations around deep keyboard control, persistent menus, and system integration.

no license declared → metadata onlyupdated Jul 2026
★ 33repo stars
Macos App Design
by petekp · petekp/agent-skills

Master the fundamentals of building apps that feel native to macOS. This skill covers essential patterns—from menu bar organization and keyboard navigation to multi-window support and Liquid Glass styling—plus a checklist for becoming a true "good Mac citizen." Learn the archetype framework, command mapping, and common pitfalls to avoid.

no license declared → metadata onlyupdated Jun 2026
★ 5repo stars
swiftui-patterns
by xu-xiang · xu-xiang/everything-claude-code-zh

Explore contemporary SwiftUI architecture through practical state management examples built around the @Observable macro. This collection demonstrates how to structure reactive components and manage data flow efficiently in modern iOS applications, helping developers move beyond legacy patterns.

MITdocs in Chineseupdated Mar 2026
★ 1,767repo stars

More skills visionos-widgets (MIT)

Tags
ios-developmentui-architecturecode-reusabilityswift-frameworkdesign-patternsmobile-uistate-managementview-composition