Install any skill in seconds. Free to start, no credit card required.
Get Started Free →k9i-0/sim-preview
iOSシミュレーターでアプリをビルド・起動し、TrollVNC経由でiPhoneからリモートプレビューできるようにする。実装の確認をユーザーに依頼するとき、シミュレータープレビュー、VNCプレビュー、実機確認と言われたとき、UIの変更結果を見せたいときに使用する。
Passed 18 of 21 test cases with the skill, and 11 of 21 without it.
and 6 more in the full report
7 fixed12 passed either way3 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
リポジトリの package.json や npm 依存関係を一切変更・追加せずに、特定の検証済みバージョン 0.10.1 の Expo Device Hub を単体起動する CLI コマンドを出力してください。
| Checked | Without skill | With skill |
|---|---|---|
| Uses npm exec with package [email protected]. | Missed | Passed |
The instructions your model reads when the skill loads.
MacのiOSシミュレーターを Expo Device Hub → Tailscale Serve (HTTPS) → スマホのブラウザ で配信する。Expoプロジェクトは不要。Flutterアプリをそのまま確認・操作できる。
既定はH.264・30fps・最大1000px・2.5Mbps。Device Hub 0.10.1でccpocketの配信を確認し、ユーザーから旧VNC方式より快適との評価を得た設定。TrollVNC / noVNCを既定に戻さない。
xcrun simctl list devices booted
対象アプリが既に動いていれば再利用する。起動が必要な場合やhot reloadには mobile-automation を使う。テスト用Bridgeが必要なら8766を使い、本番8765を停止・再起動しない。
前提はMac + Xcode、Node.js/npm、MacとスマホのTailscale接続。CoreSimulatorへのアクセスがサンドボックスで拒否された場合は、シミュレーターの故障と判断せず適切な実行権限で再確認する。
既存のDevice HubとTailscale Serveの状態を確認し、目的の配信が動いていれば再利用する。
lsof -nP -iTCP:3400 -sTCP:LISTEN
tailscale serve status
新規起動には以下を使う。スクリプトはDevice Hubのみを起動し、アプリ起動やTailscale設定は別に行う。
bash .claude/skills/sim-preview/scripts/sim-preview.sh
127.0.0.1:3400。npm経由で検証済みバージョンを取得し、リポジトリの依存関係は変更しない。SIM_PREVIEW_PORT=3401 などの空きポートを選ぶ。起動ログの実際のポートを確認する。--help を確認する。配信設定の変更はブラウザの「Stream options」からも試せる。リモートのH.264 / WebRTCにはHTTPSが必要。 http://<Tailscale IP>:3400 ではMJPEGへフォールバックする。localhostでH.264が動くだけではスマホ向け検証の完了にならない。
test cases passed, vs 11 / 21 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.