一键导入
simulator
// Discover and boot an iOS simulator. Use before any command that needs a simulator UDID.
// Discover and boot an iOS simulator. Use before any command that needs a simulator UDID.
Evaluate WooAIAssistant against a structured scenario suite with hard invariants + LLM-as-judge rubric scoring. Runs live against the demo store + gpt-5.1 via the woo-mobile-ai backend wrapper, writes a JSONL run record, compares against stored baselines, and surfaces regressions. Always delegated to a subagent so the main context only sees the markdown report.
Create a pull request following WooCommerce iOS conventions
Set up the ContextA8C MCP server for accessing Automattic internal resources (Slack, Linear, P2s, GitHub Enterprise, etc.)
Build the app, launch on simulator, and verify feature behavior via mobile-mcp interaction. Use after making changes to visually confirm they work from a user's perspective.
Start or stop the WireMock API mock server for UI testing and E2E verification.
Use swift-snapshot-testing to visually verify SwiftUI views during implementation. Renders views to PNG for comparison against design references. Fast feedback loop (~25s/cycle).
| name | simulator |
| description | Discover and boot an iOS simulator. Use before any command that needs a simulator UDID. |
| user-invocable | true |
| allowed-tools | Bash |
| argument-hint | [iphone|ipad] |
Find a booted simulator or boot one. Returns the UDID for use in subsequent commands. Defaults to iPhone; pass ipad to use an iPad instead.
Never hardcode a simulator name (e.g., iPhone 16). Available simulators change across Xcode versions — always discover dynamically.
Run the script:
# iPhone (default):
UDID=$(Scripts/find-simulator.sh iphone)
# iPad:
UDID=$(Scripts/find-simulator.sh ipad)
The script prints the UDID to stdout and status messages to stderr. It will boot a simulator if none is already running.
Report the simulator name and UDID so the caller can use it:
Simulator ready: iPhone 17 (93E9F784-2B91-4D83-BFA5-F1682C28180B)
Watch app verification is not supported — the Watch app runs on a separate watchOS simulator with a different build destination (watchOS Simulator). It cannot be tested via the iPhone/iPad iOS simulator used for app verification.