一键导入
macos-app-scaffold
Scaffold a new macOS app or add features to an existing one. Auto-detects project context and routes accordingly.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Scaffold a new macOS app or add features to an existing one. Auto-detects project context and routes accordingly.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | macos-app-scaffold |
| description | Scaffold a new macOS app or add features to an existing one. Auto-detects project context and routes accordingly. |
| argument-hint | [new|enhance] [AppName] |
| disable-model-invocation | false |
| allowed-tools | Bash, Write, Read, Edit, Glob, Grep, Agent, Skill |
Single entry point for macOS app scaffolding. Detects context and routes to the right workflow.
Scan the current directory for signs of an existing macOS project:
Look for ANY of these:
- project.yml (XcodeGen)
- *.xcodeproj/ (Xcode project)
- Package.swift (SPM executable)
- **/Sources/**App.swift
- **/Info.plist
- *.entitlements
If argument is provided:
$ARGUMENTS starts with new → go to New App flow$ARGUMENTS starts with enhance or add → go to Enhance flowIf no argument and existing project detected:
Tell the user what you found, then ask:
Detected existing macOS project: {{AppName}}
(project.yml, Sources/, .github/workflows/, ...)
What would you like to do?
A) Add features to this project (CI/CD, auto-update, logging, etc.)
B) Create a brand new app in a subdirectory
>
If no argument and no project detected:
No macOS project found in the current directory.
What would you like to do?
A) Create a new macOS app
B) I'm in the wrong directory — let me navigate first
>
For New App → Follow the complete flow defined in macos-app-scaffold-new/SKILL.md:
For Enhance → Follow the complete flow defined in macos-app-scaffold-enhance/SKILL.md:
The full instructions for each flow are in sibling skill files:
Read and follow those files completely when executing the chosen flow. Do not improvise — use the templates and patterns defined there.
Scaffold a new production-grade macOS app or add features (CI/CD, signing, notarization, auto-update, launch-at-login, permission flows) to an existing one. Auto-detects context and routes accordingly.
Add features to an existing macOS app — CI/CD, auto-update, logging, SwiftLint, localization, Launch at Login, and more
Scaffold a new macOS app with XcodeGen, GitHub Actions CI/CD, code signing, notarization, auto-update, and SwiftUI starter code