Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

serve-sim-duo-verification

БесплатноЗапускает вложенные скриптыНе проверен

Verify serve-sim Duo folding, guest orientation, and model rotation against a local iOS Simulator. Use after changing Duo pose, orientation, or…

EvanBaconот EvanBacon★ 2 962 звезды на GitHub

Об этом скилле

Duo verification

Run commands from the repository root. Read the relevant checks in expected behavior before choosing a test. Historical results live in verification. Keep reusable agent verification helpers in this skill's scripts/ directory.

Local setup

Use a booted iPhone Duo and the rebuilt local server. After native changes, rebuild and restart the server so it loads the new addon:

bun run packages/serve-sim/build.ts
node packages/serve-sim/dist/serve-sim.js --port 3399

Use the actual server port and Duo UDID in subsequent commands. An existing local server can be reused when its native build is current.

Rotation matrix

Bring Safari to the foreground on the Duo before running:

xcrun simctl openurl <udid> https://example.com
bun .agents/skills/serve-sim-duo-verification/scripts/verify-duo-rotation.ts <udid> 3399

The script changes hinge angles to 0°, 130°, and 180° and cycles all four orientations. It checks physical orientation using devicectl, active-panel UI orientation using simctl, and model/configuration orientation over the server. It restores the original hinge angle and model orientation in finally. Safari remains foreground; this check does not restore the prior app.

Safari's cover UI excludes upside-down portrait; its inner UI supports all four orientations. Settings can lock the cover to portrait, so it is unsuitable for this matrix. Protocol landscape names are opposite CoreDevice physical names; the inner panel also has a rotated natural axis. Preserve these distinctions when diagnosing failures. Stop on a failed assertion and inspect the reported physical, UI, and model orientations before retrying.

Fold and panel selection

node packages/serve-sim/dist/serve-sim.js fold 180 -d <udid>
node packages/serve-sim/dist/serve-sim.js fold 130 -d <udid>
xcrun simctl spawn <udid> "$PWD/packages/serve-sim/dist/simduo/serve-sim-duo-hid" watch-angle  # Ctrl-C to stop
xcrun simctl io <udid> enumerate

Compare the preview's selected display with the latest SpringBoard DisplayContentMode event containing .cover:pri or .inner:pri. Repeat after fold 0 to check the opposite direction. Follow guest panel readback; do not infer primary-panel selection solely from hinge angle.

If Device Hub shadows input, consult the explicit repair-input procedure in the package README. Repair can restart SpringBoard; do not run it as routine verification setup. Numeric rotation checks do not establish visual smoothness, color fidelity, or control alignment; check those in the in-app Codex browser when available and report any unverified behavior.

Rendered projection checks

With the local renderer built and Python Pillow available, run:

python3 .agents/skills/serve-sim-duo-verification/scripts/verify-duo-projection.py

This uses the selected Xcode's V68 model and the local renderer without changing simulator state. It checks screen marker projection and physical button anchors across 20 fold/rotation combinations. Use --renderer <path> to override the local renderer binary. Marker centers must land within two output pixels of their rendered centers; hardware anchors must land on opaque model pixels.

Полный SKILL.md на GitHub

Установить serve-sim-duo-verification в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/expected-behavior.mdreferences/verification.mdscripts/verify-duo-projection.pyscripts/verify-duo-rotation.ts

FAQ

Что делает скилл serve-sim-duo-verification?

Verify serve-sim Duo folding, guest orientation, and model rotation against a local iOS Simulator. Use after changing Duo pose, orientation, or display-selection behavior, or when investigating regressions in those features.

Как установить скилл serve-sim-duo-verification?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл serve-sim-duo-verification запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить serve-sim-duo-verification с