ratacat/claude-skills/xcode-test
Claude Code and agent skill by ratacat/claude-skills
- community
Checking that the SKILL.md file is still in the repository.
Build and test iOS apps on simulator using XcodeBuildMCP
Install
npx vskill@latest install ratacat/claude-skills/xcode-testSKILL.md
Arguments
[scheme name or 'current' to use default]
Xcode Test Command
<command_purpose>Build, install, and test iOS apps on the simulator using XcodeBuildMCP. Captures screenshots, logs, and verifies app behavior.</command_purpose>
Introduction
<role>iOS QA Engineer specializing in simulator-based testing</role>
This command tests iOS/macOS apps by:
- Building for simulator
- Installing and launching the app
- Taking screenshots of key screens
- Capturing console logs for errors
- Supporting human verification for external flows
Prerequisites
<requirements>
- Xcode installed with command-line tools
- XcodeBuildMCP server connected
- Valid Xcode project or workspace
- At least one iOS Simulator available
</requirements>
Main Tasks
0. Verify XcodeBuildMCP is Installed
<check_mcp_installed>
First, check if XcodeBuildMCP tools are available.
Try calling:
If the tool is not found or errors:
Tell the user:
Do NOT proceed until XcodeBuildMCP is confirmed working.
</check_mcp_installed>
1. Discover Project and Scheme
<discover_project>
Find available projects:
List schemes for the project:
If argument provided:
- Use the specified scheme name
- Or "current" to use the default/last-used scheme
</discover_project>
2. Boot Simulator
<boot_simulator>
List available simulators:
Boot preferred simulator (iPhone 15 Pro recommended):
Wait for simulator to be ready: Check simulator state before proceeding with installation.
</boot_simulator>
3. Build the App
<build_app>
Build for iOS Simulator:
Handle build failures:
- Capture build errors
- Create P1 todo for each build error
- Report to user with specific error details
On success:
- Note the built app path for installation
- Proceed to installation step
</build_app>
4. Install and Launch
<install_launch>
Install app on simulator:
Launch the app:
Start capturing logs:
</install_launch>
5. Test Key Screens
<test_screens>
For each key screen in the app:
Take screenshot:
Review screenshot for:
- UI elements rendered correctly
- No error messages visible
- Expected content displayed
- Layout looks correct
Check logs for errors:
Look for:
- Crashes
- Exceptions
- Error-level log messages
- Failed network requests
</test_screens>
6. Human Verification (When Required)
<human_verification>
Pause for human input when testing touches:
| Flow Type | What to Ask | |
|---|---|---|
| Sign in with Apple | "Please complete Sign in with Apple on the simulator" | |
| Push notifications | "Send a test push and confirm it appears" | |
| In-app purchases | "Complete a sandbox purchase" | |
| Camera/Photos | "Grant permissions and verify camera works" | |
| Location | "Allow location access and verify map updates" |
Use AskUserQuestion:
</human_verification>
7. Handle Failures
<failure_handling>
When a test fails:
- Document the failure:
- Take screenshot of error state
- Capture console logs
- Note reproduction steps
- Ask user how to proceed:
```markdown Test Failed: [screen/feature]
Issue: [description] Logs: [relevant error messages]
How to proceed?
- Fix now - I'll help debug and fix
- Create todo - Add to todos/ for later
- Skip - Continue testing other screens
```
- If "Fix now":
- Investigate the issue in code
- Propose a fix
- Rebuild and retest
- If "Create todo":
- Create
{id}-pending-p1-xcode-{description}.md - Continue testing
</failure_handling>
8. Test Summary
<test_summary>
After all tests complete, present summary:
</test_summary>
9. Cleanup
<cleanup>
After testing:
Stop log capture:
Optionally shut down simulator:
</cleanup>
Quick Usage Examples
Integration with /workflows:review
When reviewing PRs that touch iOS code, the /workflows:review command can spawn this as a subagent:
Security
- Security scanPassed, 100 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 repositoryCheckingskills/xcode-test/SKILL.md
Popularity
- Repository stars
- 56
- Repository forks
- 9
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 6 May 2026, 6 months ago.
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/ratacat/claude-skills/xcode-test)