Install
$ agentstack add skill-eskapeum-native-ios-app-skill-native-ios-app-skill ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Native iOS App Development Skill
Build native iOS applications using SwiftUI, Xcode 26.3 MCP integration, and Ralph OG autonomous development loops.
Quick Reference
| Command | Purpose | |---------|---------| | /native-ios-app init "App Name" | Initialize new iOS project | | /native-ios-app ralph "objective" | Start Ralph OG autonomous loop | | /native-ios-app style glassmorphism | Apply design style to project | | /native-ios-app build | Build project via MCP | | /native-ios-app preview | Capture SwiftUI previews | | /native-ios-app status | Check build/test status |
Prerequisites
1. Xcode 26.3+ Setup
Enable MCP bridge in Xcode:
- Xcode → Settings → Intelligence → Anthropic (configure API key)
- Xcode → Settings → Intelligence → Model Context Protocol → Enable "Xcode Tools"
2. MCP Bridge for Claude Code
# Add Xcode MCP bridge
claude mcp add --transport stdio xcode -- xcrun mcpbridge
# Verify
claude mcp list
3. XcodeBuildMCP (Enhanced Features)
npm install -g xcodebuildmcp@beta
claude mcp add XcodeBuildMCP -- npx -y xcodebuildmcp@beta mcp
Xcode MCP Tools Available
Once configured, these tools are available:
| Category | Tools | |----------|-------| | File Ops | XcodeRead, XcodeWrite, XcodeUpdate, XcodeGlob, XcodeGrep, XcodeLS, XcodeMakeDir, XcodeRM, XcodeMV | | Build | BuildProject, GetBuildLog | | Testing | RunAllTests, RunSomeTests, GetTestList | | Analysis | XcodeListNavigatorIssues, XcodeRefreshCodeIssuesInFile | | Preview | RenderPreview (SwiftUI → PNG images) | | Execute | ExecuteSnippet (Swift REPL) | | Docs | DocumentationSearch (Apple docs + WWDC transcripts) | | Navigation | XcodeListWindows |
Project Initialization
Create New iOS App
# Create project directory
mkdir -p ~/Developer/MyApp
cd ~/Developer/MyApp
# Initialize Xcode project (via swift package or Xcode template)
swift package init --type executable --name MyApp
Project Structure
MyApp/
├── MyApp.xcodeproj/
├── MyApp/
│ ├── MyAppApp.swift # App entry point
│ ├── ContentView.swift # Main view
│ ├── Views/ # SwiftUI views
│ ├── Models/ # Data models
│ ├── ViewModels/ # MVVM view models
│ ├── Services/ # API/data services
│ ├── Components/ # Reusable UI components
│ └── Resources/ # Assets, colors, fonts
├── MyAppTests/
├── .ralph-og/ # Ralph OG autonomous loop
└── .design-system/ # Design tokens and styles
Ralph OG Integration for iOS
Initialize Ralph OG for iOS Development
Creates .ralph-og/ with iOS-specific configuration:
.ralph-og/
├── PROMPT.md # Xcode-aware loop prompt
├── init.sh # Swift/Xcode environment setup
├── feature-list.json # Atomic features with SwiftUI focus
├── progress.txt # Work log
├── loop.sh # The autonomous loop
└── learnings.md # iOS-specific learnings
iOS-Specific PROMPT.md
The Ralph OG prompt for iOS includes:
- Startup Ritual:
pwd- Confirm directory- Read
.ralph-og/progress.txt git log --oneline -10- Read
.ralph-og/feature-list.json xcodebuild -list- Verify schemes- Check for Xcode open via MCP
- Visual Verification:
- Capture SwiftUI Previews after UI changes
- Compare with expected layouts
- Build Verification:
xcodebuild buildbefore marking complete- Check for warnings/errors
- Test Verification:
- Run tests via
xcodebuild test
Starting the Loop
cd ~/Developer/MyApp
.ralph-og/loop.sh
Or in background:
nohup .ralph-og/loop.sh > .ralph-og/loop.log 2>&1 &
echo $! > .ralph-og/loop.pid
Design Styles
Select a visual design language for your app. Each style includes SwiftUI implementation patterns.
Available Styles
See [styles/README.md](styles/README.md) for complete catalog:
| Style | Best For | |-------|----------| | Liquid Glass | iOS 26+ apps, modern Apple aesthetic | | Glassmorphism | Overlays, cards, modals | | Neumorphism | Tactile buttons, soft interfaces | | Flat Design | Clean, minimal interfaces | | Material Design | Android-like, cross-platform | | Brutalism | Bold, high-contrast, statement apps | | Neo-Brutalism | Modern brutalist with color | | Minimalism | Content-focused, clean | | Cyberpunk | Dark mode, neon accents | | Retro/Y2K | Nostalgic, playful | | Bento Box | Grid layouts, organized content |
Applying a Style
/native-ios-app style glassmorphism
This creates .design-system/tokens.swift with style-specific:
- Color palette
- Typography scale
- Spacing system
- Shadow definitions
- Corner radius tokens
- Animation curves
SwiftUI Materials & Effects
iOS 15+ Native Materials
// Available material types
.ultraThinMaterial // Most transparent
.thinMaterial
.regularMaterial
.thickMaterial
.ultraThickMaterial // Most opaque
// Usage
Text("Hello")
.padding()
.background(.ultraThinMaterial)
.clipShape(RoundedRectangle(cornerRadius: 16))
Liquid Glass (iOS 26+)
// New in iOS 26: Liquid Glass effect
.background(.liquidGlass)
.glassEffect(style: .standard)
.glassEffect(style: .frosted, tint: .blue)
Custom Blur Effects
struct GlassCard: View {
var body: some View {
ZStack {
// Background blur
Rectangle()
.fill(.ultraThinMaterial)
// Content
VStack {
Text("Glass Card")
.font(.headline)
}
.padding()
}
.clipShape(RoundedRectangle(cornerRadius: 20, style: .continuous))
.shadow(color: .black.opacity(0.1), radius: 10, y: 5)
}
}
Commands Reference
/native-ios-app init "App Name"
Initialize a new iOS project:
- Create Xcode project structure
- Set up SwiftUI app template
- Configure build settings
- Initialize git repository
- Create
.design-system/with default tokens - Optionally initialize Ralph OG
/native-ios-app ralph "objective"
Start Ralph OG autonomous development:
- Create
.ralph-og/directory - Generate iOS-specific PROMPT.md
- Create feature-list.json from objective
- Set up init.sh with Swift toolchain checks
- Start the loop
/native-ios-app style
Apply design style:
- Read style definition from
styles/.md - Generate
.design-system/tokens.swift - Create style-specific SwiftUI extensions
- Update existing components if present
/native-ios-app build
Build via Xcode MCP:
- Check for open Xcode project
- Run
BuildProjectvia MCP - Report build status and errors
- Capture any warnings
/native-ios-app preview
Capture SwiftUI previews:
- List preview providers in project
- Render each via
RenderPreviewMCP tool - Save PNG images to
.previews/ - Report any preview failures
/native-ios-app status
Check project status:
- Build state (last build time, success/failure)
- Test results (passed/failed/skipped)
- Code issues from navigator
- Ralph OG progress (if active)
Best Practices
SwiftUI Architecture
Use MVVM pattern:
Views/ → SwiftUI views (display only)
ViewModels/ → @Observable classes (logic)
Models/ → Data structures
Services/ → API, persistence
Design Token Usage
Always use tokens, never hardcoded values:
// Good
Text("Title")
.font(.system(size: DesignTokens.Typography.title))
.foregroundColor(DesignTokens.Colors.textPrimary)
// Bad
Text("Title")
.font(.system(size: 28))
.foregroundColor(Color(hex: "#1a1a1a"))
Accessibility
- Minimum touch target: 44×44pt
- Support Dynamic Type
- Provide accessibility labels
- Respect
reduceMotionpreference
@Environment(\.accessibilityReduceMotion) var reduceMotion
.animation(reduceMotion ? nil : .spring(), value: isExpanded)
Troubleshooting
MCP Bridge Not Working
- Verify Xcode 26.3+ installed:
xcodebuild -version - Check MCP enabled in Xcode Settings
- Ensure Xcode is running with project open
- Test with:
xcrun mcpbridge --help
Build Failures
- Check scheme:
xcodebuild -list - Clean build folder:
xcodebuild clean - Check signing: Xcode → Project → Signing & Capabilities
Preview Not Rendering
- Ensure preview provider exists
- Check for compile errors
- Verify simulator selected in Xcode
Resources
Apple Documentation
References in This Skill
- [references/xcode-mcp-tools.md](references/xcode-mcp-tools.md) - Complete MCP tool reference
- [references/swiftui-patterns.md](references/swiftui-patterns.md) - Common SwiftUI patterns
- [references/ralph-ios.md](references/ralph-ios.md) - Ralph OG iOS configuration
- [styles/README.md](styles/README.md) - Design style catalog
Templates
- [templates/PROMPT.ios.template.md](templates/PROMPT.ios.template.md) - iOS Ralph prompt
- [templates/feature-list.ios.template.json](templates/feature-list.ios.template.json) - iOS features template
- [templates/init.ios.template.sh](templates/init.ios.template.sh) - iOS environment setup
Skill Version: 1.0.0 Compatible with: Xcode 26.3+, iOS 17+, Swift 5.9+
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Eskapeum
- Source: Eskapeum/native-ios-app-skill
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.