macos-app-bootstrap

Scaffold macOS SwiftUI app projects with Swift Package Manager templates.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/rayshan/agent-plugins --skill macos-app-bootstrap
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: macos-app-bootstrap
Source: https://github.com/rayshan/agent-plugins/tree/main/ray-agent-plugins/skills/macos-app-bootstrap
Command: npx skills add https://github.com/rayshan/agent-plugins --skill macos-app-bootstrap

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Bootstrap a simple macOS desktop app scaffolding using Swift Package Manager and command line tools. Use when a user wants to create a new macOS app, start a Swift project, or scaffold a SwiftUI application.

Core Features & Use Cases

  • Project scaffolding: generates Package.swift, Sources/, Tests/, CLAUDE.md, and a scripts/ folder with a build bundle script.
  • Template-based content: creates SwiftUI-based App.swift and ContentView scaffolds ready for quick customization.
  • Prototype to production workflow: provides a ready-to-build baseline that can be opened in Xcode via Package.swift and supported by swift build and swift test.

Quick Start

Use the macos-app-bootstrap skill to scaffold a macOS app by specifying your App name. The action will create the project structure and include a create-bundle.sh script to produce a .app bundle.

Frequently Asked Questions about macos-app-bootstrap

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

FAQPage Schema
How do I scaffold a macOS app with Swift Package Manager?▼

You can scaffold a macOS app with Swift Package Manager by specifying your App name. This generates a complete project layout including Package.swift, Sources, Tests, and a build script for producing a .app bundle.

What's the best way to bootstrap a SwiftUI application project structure?▼

Bootstrapping a SwiftUI application is best handled by using template-based scaffolds that generate App.swift and ContentView files. This provides a consistent project structure ready for immediate development and quick customization.

Do I need Xcode to create and build a Swift project for macOS?▼

You do not need Xcode to create a Swift project for macOS, but you do need a local Swift toolchain installed. The scaffolded project supports swift build and swift test from the command line, or can be opened in Xcode via Package.swift.

Can I build a standalone .app bundle from a Swift Package Manager project?▼

You can build a standalone .app bundle from a Swift Package Manager project using the included scripts/create-bundle.sh script. This script processes the built Swift project outputs and packages them into a runnable macOS .app bundle.

Does this macOS app scaffold support swift test for command line testing?▼

This macOS app scaffold fully supports swift test for command line testing. The generated project layout includes a Tests directory and Package.swift configuration, enabling immediate validation of your Swift code without needing an IDE.