glebis/init-xcode-app
Scaffold a standalone SwiftUI app via XcodeGen — pick macOS, iOS, or iOS+watchOS; ships house conventions, a Swift Testing target, swiftformat/swiftlint, optional CloudKit/CI/Release/Push modules, and optional JTBD product context. Use to "init an xcode project", "scaffold a swiftui app", "new mac/ios app".
npx skills add https://github.com/glebis/claude-skills --skill init-xcode-app
Scaffolds a native SwiftUI app with XcodeGen (project.yml → generated, committed .xcodeproj),
pre-loaded with the conventions and loop-closer toolchain (xcsift, the Xcode MCP, swiftformat/lint).
The lighter native sibling of init-tauri-app.
xcodegen on PATH (xcodegen --version; brew install xcodegen if missing).xcodebuild -version).Tidepool) → <Name>; lowercase → <name>.com.glebkalinin) → <bundlePrefix>.<TEAM>.ios | macos | ios-watchos.jtbd.json (else auto-discover ./jtbd.json, ~/jtbd/<name>/jtbd.json). See 1.5.~/ai_projects/<name>). Abort if non-empty.Identical contract to init-tauri-app: resolve (explicit → ./jtbd.json → ~/jtbd/<name>/jtbd.json),
confirm via hook, validate (render-jtbd.sh exits 3 → skip), pre-fill name. Artifacts written in Step 3.
Copy assets/core/common/* into the project (renames: gitignore→.gitignore, swiftformat→.swiftformat,
CLAUDE.md→.claude/CLAUDE.md). Copy assets/core/shapes/<shape>/* into the project root. For macos,
also copy assets/core/shapes/ios/Sources + Tests (macos reuses the same SwiftUI sources). Substitute
<Name>/<name>/<bundlePrefix>/<TEAM> in every copied file. Blank <TEAM> → leave the placeholder line
DEVELOPMENT_TEAM: "".
If a JTBD artifact was confirmed: render assets/jtbd/PRODUCT.md.template→docs/PRODUCT.md,
guardrails-check.md.template→docs/internal/guardrails-check.md, insert
agents-product-section.md.template into AGENTS.md after the first heading, copy the artifact to
project-root jtbd.json. See assets/jtbd/jtbd-map.md.
For each selected module open assets/modules/<m>/INSERT.md and follow it: it lists source files to copy
and a project-fragment.yml to merge into project.yml (merge into the existing targets.<Name> and
entitlements: maps — never overwrite). CloudKit + Push both extend the same entitlements: map.
xcodegen generate
Then the unsigned build gate by shape:
xcodebuild build -scheme <Name> -destination 'generic/platform=iOS Simulator'xcodebuild build -scheme <Name> -destination 'platform=macOS' CODE_SIGNING_ALLOWED=NOThen xcodebuild test against the same destination for the test target. Both must pass.
Offer git init && git add -A && git commit. Print summary: shape, modules, signing note
(device/release signing is a human step), next command (open <Name>.xcodeproj).
Take glebis/init-xcode-app from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference brew.
Without those the skill loads but fails at the first command.