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).
Why use this skill?
Rapidly bootstrap minimal SwiftUI iOS projects using XcodeGen. Perfect for clean, dependency-free development and fast prototyping.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ignaciocervino/swiftui-empty-app-initWhat This Skill Does
The swiftui-empty-app-init skill is a specialized automation tool designed for developers to rapidly bootstrap SwiftUI projects. By leveraging XcodeGen, this skill programmatically creates a clean, industry-standard iOS project structure directly in your current directory. It avoids the bloat often associated with Xcode-generated projects by excluding unnecessary workspaces, test targets, and third-party dependencies. It creates a single .xcodeproj file, a minimal project.yml configuration, and the essential source file structure required to build and run a SwiftUI application using the modern @main entry point.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/ignaciocervino/swiftui-empty-app-init
Ensure that you have XcodeGen installed on your system path (e.g., via Homebrew: brew install xcodegen) and that your xcode-select is pointed to a valid Xcode installation before attempting to run the skill.
Use Cases
- Rapid Prototyping: Ideal for developers who need a clean slate to test a new UI component or architectural concept without spending time setting up Xcode settings.
- CI/CD Pipelines: Use this skill in automated scripts to generate consistent, reproducible project structures for testing environments.
- Learning & Experimentation: Perfect for users who want to see how a project is configured via XcodeGen rather than relying on the heavy GUI of Xcode.
- Minimalist Development: If you prefer building your projects without the overhead of pre-configured unit tests, documentation schemes, or boilerplate assets.
Example Prompts
- "Initialize a new SwiftUI app named FinanceTracker with an iOS 16.0 deployment target."
- "Create an empty SwiftUI project called QuickSketch with bundle ID com.mycompany.sketch using default settings."
- "Scaffold a new iOS project titled PhotoViewer for iOS 17.0 in this directory."
Tips & Limitations
- Strict Requirements: This skill strictly adheres to a minimalist philosophy. Do not expect it to generate Assets.xcassets, UI Tests, or complex build phases. It is designed to be the foundational layer upon which you build.
- Dependency Management: Since this skill explicitly forbids Swift Packages, you will need to add dependencies manually via the
project.ymlfile after initialization if required. - Error Handling: If the skill fails to find XcodeGen on your system, it will halt immediately to prevent corrupted state. Ensure your development environment is correctly configured prior to triggering the skill to ensure a seamless experience.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ignaciocervino-swiftui-empty-app-init": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution