Przejdź do treści
Biblioteka skilli
Programowanie · Automatyzacja

ax

/ax

Składa i rozkłada symulatory iOS w Xcode 27, dotyka aplikacji po etykietach dostępności i robi zrzuty do App Store.

Repozytorium
devicehub-ax ↗
Licencja
MIT
Ostatnia zmiana repozytorium
01.11.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
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
2
Przestarzałość

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

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Składa i rozkłada symulatory iOS w Xcode 27, dotyka aplikacji po etykietach dostępności i robi zrzuty do App Store.

Wyzwalacze z opisu

s Device Hub, tap the app on the iPhone Duo
Oryginalny opis (EN)

Fold, unfold and rotate iOS simulators in Xcode 27's Device Hub, tap the app on the iPhone Duo's inner screen, wait for elements and take App Store–ready screenshots, using the `ax` command-line tool. Use when a task needs the iPhone Duo open or closed, a simulator rotated, or the app on the simulator driven by its accessibility labels, especially on the Duo's inner display, where AXe, idb and simctl-based taps land on the outer screen.

Jak działa

  1. Before anything
  2. Drive the app
  3. Device
  4. Exit codes
  5. Limits
Sekcje z nagłówków SKILL.md, w oryginale · 56 linii, 447 słów
Podgląd SKILL.md
---
name: ax
description: Fold, unfold and rotate iOS simulators in Xcode 27's Device Hub, tap the app on the iPhone Duo's inner screen, wait for elements and take App Store–ready screenshots, using the `ax` command-line tool. Use when a task needs the iPhone Duo open or closed, a simulator rotated, or the app on the simulator driven by its accessibility labels, especially on the Duo's inner display, where AXe, idb and simctl-based taps land on the outer screen.
---

# ax

`ax` drives Device Hub and the app on the simulator through the macOS accessibility API. Every command takes `--json`, confirms its action, and on failure returns an `error`, a `hint` and the closest labels on the screen.

## Before anything

```bash
command -v ax || {
  curl -fL -o /tmp/ax.zip https://github.com/hipporasy/devicehub-ax/releases/latest/download/ax-macos-universal.zip
  unzip -o /tmp/ax.zip -d ~/.local/bin && export PATH="$HOME/.local/bin:$PATH"
}
ax doctor
```

If `ax doctor` reports `accessibility` as failing, stop and ask the user to enable their terminal app in System Settings > Privacy & Security > Accessibility. Do not work around it. For any other failing check, follow its `fix:` line.

## Drive the app

```bash
ax screen                          # what is on the device's screen
ax tap "Continue"                  # press by label or identifier
ax wait "Welcome"                  # wait for the next screen (default 10 s)
ax wait "Loading" --gone --timeout 30
ax scroll --to "Settings"          # page down until the row is on the screen (--in LABEL picks the list)
ax type "hello" --into Search      # set a text field's text, read back to confirm
ax action "Groceries" Delete       # a row's swipe action; `ax screen` lists actions per element
ax screenshot shot.jpg             # the active display, no alpha channel
```

Read labels from `ax screen`; do not guess them. When `tap` fails, its `hint` lists the closest labels. When it reports `ambiguous`, use the exact label or add `--role AXRadio` (tabs) or `--role AXButton`.

## Device

```bash
ax state                           # pose, orientation, displays
ax pose open                       # closed | partial | open; returns once the matching display is on
ax rotate                          # one quarter turn right, confirmed
ax control Home                    # Device Hub's own buttons: see `ax controls`
```

With several simulators booted and more than one Device Hub window open, run `export AX_DEVICE=<UDID>` once, or pass `--device <UDID>` to each command.

## Exit codes

0 done · 1 not found · 2 fix the command · 3 ask for Accessibility access · 4 Device Hub, window or simulator missing · 5 action not confirmed · 6 simctl or devicectl failed.

## Limits

- `tap` performs the accessibility press and `scroll` moves whole pages: no drags or long presses. Swipe actions on rows run with `ax action`. Off-screen rows of a lazy list are not in the tree until `ax scroll --to` brings them in.
- `type` sets the value and cannot press Return. If it fails with `type_not_confirmed`, `ax tap` the field first to put it in edit mode.
- The Device Hub window must stay on screen (not minimised, not on another Space, Mac unlocked).
- `partial` and `open` both read as `unfolded` in `ax state`.

Full guide: https://github.com/hipporasy/devicehub-ax/blob/main/AGENTS.md

Wersje

RepozytoriumWynikLicencja
Ta strona · hipporasy/devicehub-ax100MIT
yusukebe/ax100MIT

Migawka bazy z 13.11.2026 · wersja paczki a9a1880aa366 (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

  • 100duo-start
    Jest punktem wejścia dla iPhone Duo: wykrywa SwiftUI lub UIKit, nową lub istniejącą aplikację, wersję Xcode i SDK oraz cykl życia sceny, i wskazuje, który skill z serii Duology załadować.
  • 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.
  • 100duo-test
    Testuje aplikację iOS na iPhone Duo bez fizycznego telefonu, w symulatorze Xcode 27.1, we wszystkich pozycjach, i wie, czego symulator nie sprawdzi.
  • 90iphone-duo-support
    Dodaje lub sprawdza obsługę składanego iPhone'a Duo w aplikacji iOS: wewnętrzny i zewnętrzny ekran, zawias i strefy zastrzeżone.
  • 100duo-optimize
    Skanuje kod aplikacji iOS, poprawia go i sprawdza w symulatorze iPhone Duo, robiąc zrzuty ekranu z każdej pozycji telefonu.
  • 95ios-simulator-skill
    Buduje projekty Xcode, uruchamia aplikacje w symulatorze iOS, nawiguje po etykietach dostępności i robi zrzuty ekranu oraz logi.

Uwagi i zgłoszenia

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