kmshdev/claude-swift-toolkit/swift-project-scaffold
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when creating a new iOS or macOS Xcode project. Provides XcodeGen project.yml templates, app entry point archetypes, and post-scaffold build setting patches for Swift 6.2 / iOS 26 / macOS 26 with strict concurrency.
Install
npx vskill@latest install kmshdev/claude-swift-toolkit/swift-project-scaffoldSKILL.md
1. Template Variables
| Variable | Description | |
|---|---|---|
__APP_NAME__ | App display name and target name | |
__BUNDLE_PREFIX__ | Bundle ID prefix (e.g., com.username) | |
__BUNDLE_ID__ | Full bundle ID (__BUNDLE_PREFIX__.__APP_NAME__) | |
__MACOS_TARGET__ | macOS deployment target (default: 26.0) | |
__IOS_TARGET__ | iOS deployment target (default: 26.0) |
2. XcodeGen Path (Primary)
Steps when xcodegen is available:
- Create directory structure:
Sources/<AppName>/,Tests/<AppName>Tests/ - Write
project.ymlfrom template (selectmacos.project.ymlorios.project.yml) - Replace all
__TEMPLATE_VAR__placeholders with actual values - Write
AppEntry.swiftandContentView.swiftfrom templates - Write
.gitignorefrom template - Run
xcodegen generate - Open the generated project in Xcode and verify with
BuildProjectwhen the bridge is available, otherwise usexcodebuild
3. Manual Xcode Fallback
Steps when xcodegen is NOT available:
- Stop the automated scaffold path and tell the user there is no official Xcode
MCP project-scaffolding tool in this toolkit.
- Ask the user to either install XcodeGen or create a new App project in Xcode
manually.
- Once the project exists, write the template-based
AppEntry.swift,
ContentView.swift, and .gitignore files into that project structure.
- Verify with
BuildProjectif the project is open in Xcode, otherwise use
xcodebuild.
4. App Archetypes
Standard (WindowGroup)
Document-Based
Menu Bar Extra
Utility (Single Window)
5. Post-Scaffold Checklist
| Requirement | How to verify | |
|---|---|---|
| Swift 6.2 strict concurrency | SWIFT_STRICT_CONCURRENCY = complete in build settings | |
| Correct deployment target | Check MACOSX_DEPLOYMENT_TARGET or IPHONEOS_DEPLOYMENT_TARGET | |
| Working .xcodeproj | BuildProject succeeds with clean build | |
| Test target wired | RunAllTests runs (even with 0 tests) | |
| RenderPreview works | ContentView has #Preview block | |
| Proper app bundle (.app) | Target type is application | |
| Git-friendly | .gitignore excludes .xcodeproj (if XcodeGen), includes project.yml |
Cross-References
apple-app-architect:swift-app-lifecycle— scene structure detailsapple-app-builder:xcode-mcp— BuildProject, diagnostics, previews, and targeted tests
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/apple-app-architect/skills/swift-project-scaffold/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kmshdev/claude-swift-toolkit/swift-project-scaffold)