LaunchKit · 2026
Back to Skills

swiftui-empty-app-init

Initialize a minimal SwiftUI iOS app.

2
1.9k downloads
by @ignaciocervino

Setup & Installation

openclaw skills install @ignaciocervino/swiftui-empty-app-init

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install swiftui-empty-app-init

What This Skill Does

Initializes a minimal SwiftUI iOS app in the current directory using XcodeGen to produce a single `.xcodeproj`. No workspaces, Swift packages, or test targets are added unless explicitly requested. The result is a bare-bones project ready for feature development.

Using XcodeGen to generate the project file avoids hand-authoring `project.pbxproj`, which reduces merge conflicts and keeps the project definition readable.

When to use it

  • Starting a new iOS app prototype from scratch
  • Setting up a clean SwiftUI project for a client demo
  • Bootstrapping a personal app without boilerplate overhead
  • Creating a minimal iOS target for UI experimentation
  • Resetting a project structure to a known clean state

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Initialize a SwiftUI app called 'TaskTracker' with iOS 17 deployment target

AGENT
  1. 1Collect project name 'TaskTracker' and deployment target iOS 17
  2. 2Apply default bundle identifier com.example.TaskTracker
  3. 3Generate a minimal project.yml with a single app target using SwiftUI @main lifecycle
  4. 4Run XcodeGen to produce TaskTracker.xcodeproj
  5. 5Confirm the .xcodeproj and default scheme exist
OUTPUT

TaskTracker.xcodeproj generated in the current directory with a single app target, ContentView placeholder, and minimal Info.plist

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

Xcode installed and selected via xcode-selectXcodeGen installed and available on PATH