macos-swiftui-dev

Scaffold macOS SwiftUI apps from templates with Info.plist configuration.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/fanthus/agent-skills --skill macos-swiftui-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: macos-swiftui-dev
Source: https://github.com/fanthus/agent-skills/tree/main/macos-swiftui-dev
Command: npx skills add https://github.com/fanthus/agent-skills --skill macos-swiftui-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) and references (resource) components.

What problem does it solve?

Building native macOS applications with SwiftUI typically requires boilerplate setup and pattern knowledge. This Skill streamlines scaffolding and guidance to bootstrap macOS apps quickly.

Core Features & Use Cases

  • Template-driven scaffolding for window-based and menu-bar macOS apps.
  • macOS-specific UI patterns like navigation, toolbars, and Settings integration.
  • Quick-start workflows to copy templates, rename app, and configure Info.plist for immediate build.

Quick Start

Copy the BasicWindowApp.swift template from assets/templates/, rename the app struct and bundle identifiers, customize ContentView, and configure Info.plist for the selected app type. If you prefer a menu-bar app, copy MenuBarApp.swift template and adapt accordingly. Then build and run to verify the app launches.

Frequently Asked Questions about macos-swiftui-dev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a native macOS app with SwiftUI?

You can build a native macOS app with SwiftUI by copying a template from assets/templates, renaming the app struct and bundle identifiers, customizing ContentView, and configuring Info.plist before building and running.

What's the best way to create a menu bar app in SwiftUI?

The best way to create a menu bar app in SwiftUI is to copy the MenuBarApp.swift template from assets/templates, adapt the app struct, and configure Info.plist to support menu bar integration for immediate building.

Does SwiftUI support macOS-specific UI patterns like toolbars and sidebar navigation?

Yes, SwiftUI supports macOS-specific UI patterns like sidebar navigation, toolbars, and Settings integration. This Skill provides templates and guidance to implement these native features within your window-based macOS applications.

Do I need to configure Info.plist to run a SwiftUI app on macOS?

Yes, you need to configure Info.plist to run a SwiftUI app on macOS. Configuring Info.plist ensures the selected app type, whether window-based or menu-bar, launches with the correct system behavior and bundle identifiers.

How do I scaffold a window-based macOS app using SwiftUI?

You can scaffold a window-based macOS app using SwiftUI by copying the BasicWindowApp.swift template from assets/templates, renaming the app struct, updating bundle identifiers, and customizing ContentView to fit your requirements.

Can I extend a SwiftUI macOS app template with custom scripts and assets?

Yes, you can extend a SwiftUI macOS app template with custom scripts and assets. The Skill supports optional scripts, references, and assets directories to add capabilities beyond the basic window-based and menu-bar templates.