| 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 |
macOS App Scaffold
Single entry point for macOS app scaffolding. Detects context and routes to the right workflow.
Routing Logic
Step 1: Detect Context
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
Step 2: Route
If argument is provided:
$ARGUMENTS starts with new → go to New App flow
$ARGUMENTS starts with enhance or add → go to Enhance flow
- Anything else → treat as app name, go to flow with that name