Architekt
I am equipped to address your inquiries across these dimensions without necessitating further explanations.
Unterstützt dich bei xcode mcp mit strukturierten Schritten, klaren Anforderungen und umsetzbaren Ergebnissen für schnellere, saubere Umsetzung.
Xcode MCP tools consume significant tokens. This skill defines when to use Xcode MCP and when to prefer standard tools.
| Tool | Description | Token Cost |
|---|---|---|
mcp__xcode__XcodeListWindows | List open Xcode windows (get tabIdentifier) | Low ✓ |
| Tool | Description | Token Cost |
|---|---|---|
mcp__xcode__BuildProject | Build the Xcode project | Medium ✓ |
mcp__xcode__GetBuildLog | Get build log with errors/warnings | Medium ✓ |
mcp__xcode__XcodeListNavigatorIssues | List issues in Issue Navigator | Low ✓ |
| Tool | Description | Token Cost |
|---|---|---|
mcp__xcode__GetTestList | Get available tests from test plan | Low ✓ |
mcp__xcode__RunAllTests | Run all tests | Medium |
mcp__xcode__RunSomeTests | Run specific tests (preferred) | Medium ✓ |
| Tool | Description | Token Cost |
|---|---|---|
mcp__xcode__RenderPreview | Render SwiftUI Preview snapshot | Medium ✓ |
mcp__xcode__ExecuteSnippet | Execute code snippet in file context | Medium ✓ |
| Tool | Description | Token Cost |
|---|---|---|
mcp__xcode__XcodeRefreshCodeIssuesInFile | Get compiler diagnostics for specific file | Low ✓ |
mcp__ide__getDiagnostics | Get SourceKit diagnostics (all open files) | Low ✓ |
| Tool | Description | Token Cost |
|---|---|---|
mcp__xcode__DocumentationSearch | Search Apple Developer Documentation | Low ✓ |
| Tool | Alternative | Why |
|---|---|---|
mcp__xcode__XcodeRead | Read tool | High token consumption |
mcp__xcode__XcodeWrite | Write tool | High token consumption |
mcp__xcode__XcodeUpdate | Edit tool | High token consumption |
mcp__xcode__XcodeGrep | rg / Grep tool | High token consumption |
mcp__xcode__XcodeGlob | Glob tool | High token consumption |
mcp__xcode__XcodeLS | ls command | High token consumption |
mcp__xcode__XcodeRM | rm command | High token consumption |
mcp__xcode__XcodeMakeDir | mkdir command | High token consumption |
mcp__xcode__XcodeMV | mv command | High token consumption |
1. Search code → rg "pattern" --type swift
2. Read file → Read tool
3. Edit file → Edit tool
4. Syntax check → mcp__ide__getDiagnostics
5. Build → mcp__xcode__BuildProject
6. Check errors → mcp__xcode__GetBuildLog (if build fails)
1. Read test file → Read tool
2. Write/edit test → Edit tool
3. Get test list → mcp__xcode__GetTestList
4. Run tests → mcp__xcode__RunSomeTests (specific tests)
5. Check results → Review test output
1. Edit view → Edit tool
2. Render preview → mcp__xcode__RenderPreview
3. Iterate → Repeat as needed
1. Check diagnostics → mcp__ide__getDiagnostics (quick syntax check)
2. Build project → mcp__xcode__BuildProject
3. Get build log → mcp__xcode__GetBuildLog (severity: error)
4. Fix issues → Edit tool
5. Rebuild → mcp__xcode__BuildProject
1. Search docs → mcp__xcode__DocumentationSearch
2. Review results → Use information in implementation
If Xcode MCP is disconnected or unavailable, use these xcodebuild commands:
# Debug build (simulator) - replace <SchemeName> with your project's scheme
xcodebuild -scheme <SchemeName> -configuration Debug -sdk iphonesimulator build
# Release build (device)
xcodebuild -scheme <SchemeName> -configuration Release -sdk iphoneos build
# Build with workspace (for CocoaPods projects)
xcodebuild -workspace <ProjectName>.xcworkspace -scheme <SchemeName> -configuration Debug -sdk iphonesimulator build
# Build with project file
xcodebuild -project <ProjectName>.xcodeproj -scheme <SchemeName> -configuration Debug -sdk iphonesimulator build
# List available schemes
xcodebuild -list
# Run all tests
xcodebuild test -scheme <SchemeName> -sdk iphonesimulator \
-destination "platform=iOS Simulator,name=iPhone 16" \
-configuration Debug
# Run specific test class
xcodebuild test -scheme <SchemeName> -sdk iphonesimulator \
-destination "platform=iOS Simulator,name=iPhone 16" \
-only-testing:<TestTarget>/<TestClassName>
# Run specific test method
xcodebuild test -scheme <SchemeName> -sdk iphonesimulator \
-destination "platform=iOS Simulator,name=iPhone 16" \
-only-testing:<TestTarget>/<TestClassName>/<testMethodName>
# Run with code coverage
xcodebuild test -scheme <SchemeName> -sdk iphonesimulator \
-configuration Debug -enableCodeCoverage YES
# List available simulators
xcrun simctl list devices available
xcodebuild clean -scheme <SchemeName>
BuildProject - BuildingGetBuildLog - Build errorsRunSomeTests - Running specific testsGetTestList - Listing testsRenderPreview - SwiftUI previewsExecuteSnippet - Code executionDocumentationSearch - Apple docsXcodeListWindows - Get tabIdentifiermcp__ide__getDiagnostics - SourceKit errorsXcodeRead → Use Read toolXcodeWrite → Use Write toolXcodeUpdate → Use Edit toolXcodeGrep → Use rg or Grep toolXcodeGlob → Use Glob toolXcodeLS → Use ls command| Operation | Best Choice | Token Impact |
|---|---|---|
| Quick syntax check | mcp__ide__getDiagnostics | 🟢 Low |
| Full build | mcp__xcode__BuildProject | 🟡 Medium |
| Run specific tests | mcp__xcode__RunSomeTests | 🟡 Medium |
| Run all tests | mcp__xcode__RunAllTests | 🟠 High |
| Read file | Read tool | 🟠 High |
| Edit file | Edit tool | 🟠 High |
| Search code | rg / Grep | 🟢 Low |
| List files | ls / Glob | 🟢 Low |
I am equipped to address your inquiries across these dimensions without necessitating further explanations.
Build a Kanban project management board using HTML5, CSS3, and JavaScript.
Develop a web-based image editor using HTML5 Canvas, CSS3, and JavaScript.
ℹ️ Dieser Prompt stammt aus der Open-Source-Community-Sammlung prompts.chat und steht unter der CC0-Lizenz (Public Domain). Kostenlos für jeden Einsatz.