Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

xcode-device-hub-workflow

/xcode-device-hub-workflow

Zarządza i waliduje symulowane i fizyczne urządzenia Apple przez Xcode Device Hub: cele uruchomienia, interakcja z aplikacją, ustawienia symulatora, zrzuty ekranu i wideo, parowanie i diagnostyka.

Repozytorium
socket ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
26.08.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
4
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 26.08.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Zarządza i waliduje symulowane i fizyczne urządzenia Apple przez Xcode Device Hub: cele uruchomienia, interakcja z aplikacją, ustawienia symulatora, zrzuty ekranu i wideo, parowanie i diagnostyka.

Oryginalny opis (EN)

Manage and validate simulated and physical Apple devices through Xcode Device Hub. Use when selecting or inspecting run destinations, interacting with an app, changing simulated-device environment settings, capturing screenshots or videos, pairing a device, or collecting diagnostics.

Jak działa

  1. Purpose
  2. When To Use
  3. Workflow
  4. Outputs
  5. Guards
  6. References
Sekcje z nagłówków SKILL.md, w oryginale · 48 linii, 681 słów
Podgląd SKILL.md
---
name: xcode-device-hub-workflow
description: Manage and validate simulated and physical Apple devices through Xcode Device Hub. Use when selecting or inspecting run destinations, interacting with an app, changing simulated-device environment settings, capturing screenshots or videos, pairing a device, or collecting diagnostics.
---

# Xcode Device Hub Workflow

## Purpose

Use Device Hub as Xcode's native surface for simulated and physical device work. It owns device selection, interaction, environment inspection, pairing, captures, and diagnostics; it does not replace project build/run, test, debugger, provisioning, or browser-mirror ownership. Use `xcrun devicectl` as its scriptable companion only for a bounded device-management or diagnostic need, never as a substitute for an XCUITest result.

## When To Use

- Use this workflow for a Device Hub request, a run-destination decision, simulator or physical-device inspection, screenshots, videos, environment variants, pairing, or downloaded diagnostics.
- Use it when a running Xcode app should be observed or interacted with through Device Hub rather than by opening a separate Simulator window.
- Hand project build, install, launch, and scheme selection to `xcode-build-run-workflow`.
- Hand test design and execution to `xcode-testing-workflow`; hand breakpoints and stack inspection to `xcode-debugger-mcp-workflow`.
- Hand a future local browser mirror or Swift Package preview host to the future AgentDeck runtime; do not substitute a browser bridge for Device Hub until that runtime exists and reports ready.

## Workflow

1. Read the target app, device type, runtime, and evidence goal. Distinguish a normal simulated-device check from a hardware-only, performance, camera, sensor, or pairing requirement.
2. Open the intended Xcode app and Device Hub. Open it from the run-destination menu's Manage Devices action or Xcode's Open Developer Tool menu when no app run has already opened the compact view.
3. Select the device and record its name, platform, operating-system version, and device identifier from the inspector. Keep the selected run destination and the recorded identifier aligned; do not guess a matching simulator from its name alone.
4. For a simulated device, start it and change only the requested environment setting. Treat appearance, Liquid Glass, text size, and resize-mode checks as named variants with visible before/after evidence.
5. For a physical device, inspect pairing and Developer Mode state before attempting a run. Pairing, trust prompts, Developer Mode, unpairing, and configuration changes require explicit user intent at the point of mutation.
6. Run or interact with the app through its owning build/run workflow. Device Hub interaction is proof of the same target device state, not a separate app runtime.
7. Capture a screenshot or video only after the requested state is visible. Record the device identity, app state, and destination path; Device Hub screenshots are full device resolution and may contain sensitive content.
8. Download diagnostics only when they are relevant to the reported failure, then hand the artifact to the debugger, runtime-forensics, or test workflow. State the artifact's source and avoid copying private device data into logs or commits. For a repeatable script or CI need, inspect the selected toolchain's `xcrun devicectl --help` contract first and preserve the same device identifier in the resulting evidence.
9. Stop the app or device session through its owner. Do not erase, remove, unpair, or reset a device as routine cleanup.

## Outputs

- device identity and simulated-versus-physical classification
- environment or pairing state actually inspected
- capture or diagnostic artifact and what it proves
- explicit handoff for build/run, testing, debugger, provisioning, or runtime forensics

## Guards

- Do not treat Simulator results as proof of hardware rendering, battery, thermal, sensor, camera, radio, or performance behavior.
- Do not use Device Hub to infer a CoreSimulator UDID from a display name; inspect the identifier or hand discovery to the normal simulator tooling.
- Do not pair, unpair, enable Developer Mode, remove a simulator, erase data, or change a physical-device setting without the user's explicit action request.
- Do not expose a Device Hub screen or capture over a LAN, tunnel, or external browser surface. That is a separate AgentDeck runtime decision.
- Do not call a loaded Device Hub window proof that an app build, launch, or test passed; verify the requested frame, log, test result, or diagnostic instead.
- Do not treat `devicectl` installation, launch, screen interaction, or a Device Hub capture as proof that an XCUITest passed. Keep the test result and `.xcresult` as the automation authority.

## References

- `references/device-hub-scope-and-evidence.md`
- `references/device-hub-safety-and-handoffs.md`
Pliki w paczce (4)
  • SKILL.md 5 KB
  • agents/openai.yaml 1 KB
  • references/device-hub-safety-and-handoffs.md 1 KB
  • references/device-hub-scope-and-evidence.md 1 KB

Wersje

W bazie nie ma innych skilli o nazwie xcode-device-hub-workflow.

Migawka bazy z 13.11.2026 · wersja paczki add4866e00b7 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100apple-device-integration
    Sprawdza interfejs na symulatorze lub urządzeniu przez Xcode MCP: ogląda zrzuty i hierarchię widoków oraz zgłasza błędy.
  • 100run-device
    Buduje, instaluje i uruchamia aplikację iOS na fizycznym iPhonie lub iPadzie wyłącznie z wiersza poleceń przez xcodebuild i devicectl, bez interfejsu Xcode.
  • 100xcode-management
    Zarządza projektem Xcode i plikiem pbxproj: dodaje nowe pliki do projektu i pomaga w problemach z konfiguracją.
  • 100ios-device-toolkit
    Obsługuje urządzenia iOS podłączone przez USB za pomocą pymobiledevice3: zrzuty ekranu, syslog, raporty awarii, instalacja aplikacji, transfer plików, port forwarding i diagnostyka.
  • 100duo-setup
    Konfiguruje Maca do budowania, uruchamiania i testowania aplikacji dla iPhone Duo: Xcode 27.1 obok starszego przez DEVELOPER_DIR, iOS 27.1 SDK, symulator w Device Hub, zrzuty obu wyświetlaczy i serwer MCP Xcode.
  • 98debug-device-over-vusb
    Debuguje aplikację na prawdziwym urządzeniu Kobiton podłączonym przez virtualUSB, instalując build i odtwarzając błąd przez adb lub Xcode.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.