Back to skills
SkillHub ClubBuild MobileFull StackMobileTesting

swiftui-empty-app-init

Initialize a minimal SwiftUI iOS app in the current directory by generating a single `.xcodeproj` with XcodeGen (no workspaces, packages, or tests unless explicitly requested).

Packaged view

This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.

Stars
3,127
Hot score
99
Updated
March 20, 2026
Overall rating
C4.0
Composite score
4.0
Best-practice grade
B84.0

Install command

npx @skill-hub/cli install openclaw-skills-swiftui-empty-app-init

Repository

openclaw/skills

Skill path: skills/ignaciocervino/swiftui-empty-app-init

Initialize a minimal SwiftUI iOS app in the current directory by generating a single `.xcodeproj` with XcodeGen (no workspaces, packages, or tests unless explicitly requested).

Open repository

Best for

Primary workflow: Build Mobile.

Technical facets: Full Stack, Mobile, Testing.

Target audience: everyone.

License: Unknown.

Original source

Catalog source: SkillHub Club.

Repository owner: openclaw.

This is still a mirrored public skill entry. Review the repository before installing into production workflows.

What it helps with

  • Install swiftui-empty-app-init into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
  • Review https://github.com/openclaw/skills before adding swiftui-empty-app-init to shared team environments
  • Use swiftui-empty-app-init for development workflows

Works across

Claude CodeCodex CLIGemini CLIOpenCode

Favorites: 0.

Sub-skills: 0.

Aggregator: No.

Original source / Raw SKILL.md

---
name: swiftui-empty-app-init
description: Initialize a minimal SwiftUI iOS app in the current directory by generating a single `.xcodeproj` with XcodeGen (no workspaces, packages, or tests unless explicitly requested).
---

# SwiftUI Empty App Init

## Overview
Initialize a clean, single-target SwiftUI iOS app in the current directory.
The project is generated using **XcodeGen** to produce a single `.xcodeproj`, leaving developers ready to start adding features immediately.

## Prerequisites
- Xcode installed and selected via `xcode-select`
- **XcodeGen** available on `PATH`

If any prerequisite is missing:
- Stop execution
- Tell the user exactly what is missing
- Do **not** attempt alternative scaffolding or auto-installation

## Inputs
- **Project name** (required)
- **Minimum iOS deployment target**
- **Optional bundle identifier** (or use default)

## Defaults (use without extra confirmation)
- Bundle identifier default: `com.example.<ProjectName>`
- Proceed immediately once required inputs are provided (do not ask extra confirmations)

## Core Requirements
The resulting project must:
- Be generated via **XcodeGen** (do not hand-author `project.pbxproj`)
- Use a single `.xcodeproj` (no `.xcworkspace`)
- Contain exactly one **app target**
- Use the SwiftUI `@main App` lifecycle
- Contain a minimal `ContentView` placeholder
- Contain a minimal `Info.plist` (avoid unnecessary scene or delegate keys)
- Contain **no Swift packages**
- Contain **no test targets** unless explicitly requested

## Generation
- Create a minimal `project.yml` using the provided inputs
- Generate `YourApp.xcodeproj` using XcodeGen
- Ensure the output matches all Core Requirements

## Expected Structure
- `project.yml`
- `YourApp.xcodeproj`
- `YourApp/` (app target source files)
- Optional config files only

No additional folders, packages, workspaces, scripts, or assets should be present.

## Minimal Verification (fast)
- Confirm `YourApp.xcodeproj` is generated successfully by XcodeGen.
- Confirm the default scheme exists (e.g., via a lightweight scheme listing).
- Do **not** boot simulators, build, install, or launch unless explicitly requested.

## Notes
- Keep the project minimal and unopinionated
- Do not add icons/scripts, packages, workspaces, or architecture scaffolding
- This skill is for **app initialization only**, not feature scaffolding


---

## Skill Companion Files

> Additional files collected from the skill directory layout.

### _meta.json

```json
{
  "owner": "ignaciocervino",
  "slug": "swiftui-empty-app-init",
  "displayName": "SwiftUI Empty App Init",
  "latest": {
    "version": "1.0.0",
    "publishedAt": 1768391417282,
    "commit": "https://github.com/clawdbot/skills/commit/8a57e9a232ca56cea48217f9a2f7473d86d5ccfa"
  },
  "history": []
}

```