跳到正文
TakoAPI
返回技能列表

swiftui-empty-app-init

由 ignaciocervino 提供

iOS & macOS Development
1.9k下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Initialize a minimal SwiftUI iOS app.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  1. 1

    Collect project name 'TaskTracker' and deployment target iOS 17

  2. 2

    Apply default bundle identifier com.example.TaskTracker

  3. 3

    Generate a minimal project.yml with a single app target using SwiftUI @main lifecycle

  4. 4

    Run XcodeGen to produce TaskTracker.xcodeproj

  5. 5

    Confirm the .xcodeproj and default scheme exist

输出

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

前置要求

  • Xcode installed and selected via xcode-select
  • XcodeGen installed and available on PATH

安装

clawhub install ignaciocervino/swiftui-empty-app-init

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接