Build, install, launch or run automated iOS and Android project tests through SimMirror. Use for sim_build_run, sim_test, worktree builds, build/test failures and source verification; manual UI walkthroughs use the simulator skill.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Sim Mirror Build Test?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/andrewkochulab-sim-mirror-build-test)
---
name: sim-mirror-build-test
description: Build, install, launch or run automated iOS and Android project tests through SimMirror. Use for sim_build_run, sim_test, worktree builds, build/test failures and source verification; manual UI walkthroughs use the simulator skill.
---
# Build the intended code
Use live tool schemas; prefixes vary. Preserve the requested device, checkout, configuration and app identity.
Build tools are optional: if absent, inspect setup and host policy. Shell builds are appropriate only when allowed;
never use them to bypass a refusal.
1. Resolve the working folder. Pass `folder` for worktrees or after shell `cd`; MCP roots may name another checkout.
A named folder is kept for your later builds, tests, `sim_app info` and relative `save_to`; name another to move.
Use `sim_device info` if the destination is unclear. Choose schemes/projects actually listed by the project or
diagnostic rather than guessing through repeated builds. Parallel sub-agents sharing one session each pass a
distinct `lane` on every call, polls included: each gets its own device, kept folder and runs.
2. Start `sim_build_run` or `sim_test` once. Set `wait_s` below the client timeout, leaving room for setup. Poll
the same tool with its returned `build_id`; do not resubmit the build. After a transport timeout, inspect the
next diagnostic/recent job before starting anew: the job may already exist.
3. Read the entire result. Compilation, tests, installation and launch are separate outcomes. `build ok` followed
by `not launched` is not a working app; successful MCP transport does not mean tests passed. Report timeout,
cancellation, compile failure and flaky retries accurately.
Diagnose and complete requested installation/launch when possible; report a remaining blocker explicitly.
4. Fix reported source errors and rerun the relevant check. Use the exact failed identifier with `only_testing`,
then expand to the requested suite after the fix. Do not send gestures while a build or tests hold the device
busy. Another session's build in the same DerivedData makes yours wait: poll, or ask the person about
`build.derived_data = "checkout"`, which builds each worktree side by side; never change it yourself. A run
`waiting for another test run` is queued on this Mac (`test.lock_file`): keep polling its `build_id`.
5. Check source folder, branch, commit and dirty state. When available, `sim_app info` with `bundle_id` and
`folder` compares a source-stamped app. Without a stamp, report provenance unverified; matching commits with
dirty files do not prove identical source contents.
Read [build decisions](references/builds.md) for configuration, signing, destinations and Android. For an interactive
smoke check, use the installed simulator skill or snapshot/action guidance.
Report what built, where it ran, passed/failed/skipped/flaky tests, and installation/launch outcomes. Keep diagnostics
focused on relevant failures. Do not publish private logs or evidence without the person's request.