Index of every page on this site: llms.txt
All skills
opencoredev avatar

/test-t3-mobile

@de3bbc4
by OpenCoreopencoredev/akeru-bot132 stars
12
Run it yourself

Verify Akeru Bot mobile on iOS or Android with an isolated environment, reusable development clients, deterministic pairing, semantic UI control, and focused evidence.

  • 4 files
  • 10 KB
  • Updated 2 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/opencoredev/akeru-bot/test-t3-mobile

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈46 tokens for metadata: the name and description. ≈1.6k when used: this file. ≈67 more on demand in 1 file.

Description uses 2.3% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈184 characters, or 2.3%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Test Akeru Bot mobile

Read the verification policy for authorization, coverage, evidence, and environment lifetime. Use test-t3-app for shared environment discovery, browser pairing, and SQLite fixtures.

Select the platform and client

  1. On macOS with Xcode, use one representative iOS Simulator for cross-platform changes. Load ios-debugger-agent. Load ios-simulator-browser when a live visual feed is needed.
  2. Use Android when the change is Android-specific or iOS tooling is unavailable. Select one emulator serial with adb devices.
  3. Reuse a compatible installed development client for JavaScript, TypeScript, and asset changes. Rebuild only when native source, dependencies, entitlements, config plugins, or generated projects changed.
  4. Resolve identity with node .agents/skills/test-t3-mobile/scripts/app-identity.mjs <scheme|ios-bundle-id|android-package>. The helper reads the development app configuration, including personal-team overrides. For the full config, run vp run --filter @akeru/mobile config:dev. Use the resolved values below instead of copied identifiers.
  5. Find the actual generated Xcode workspace and scheme rather than assuming a historical name. If generated native projects are absent, first check for a compatible installed client or existing artifact.

ios:dev and android:dev run clean Expo prebuilds. Use them only when regeneration is required. If the user forbids a rebuild and no compatible client exists, report that blocker. Do not create or download simulator runtimes without permission.

Start one isolated environment

Run backend commands from the repository root. Use the worktree-local .akeru or a deliberately created temporary home. Explicit homes store runtime state under <home>/userdata.

Use vp run dev:status to inspect an existing environment. Reuse a healthy owned server. When testing web and mobile together, run vp run dev --home-dir <home> once and connect both clients to that backend.

For a mobile-only backend:

node apps/server/src/bin.ts serve --host 127.0.0.1 --port <server-port> --base-dir <home> --no-browser

Run it in the background and retain its handle and output. Seed meaningful projects through project add, or use the visual fixture recipe in SQLite fixtures. Offline writes require the backend to be stopped. project add can use a running ready server; never race its startup with offline mutation.

Use the complete HTTP origin:

  • iOS Simulator: http://127.0.0.1:<server-port>.
  • Android Emulator: http://10.0.2.2:<server-port>.
  • A requested physical-device test: bind to a reachable interface and use the host's LAN origin.

Start or reuse Metro

Run Metro from apps/mobile. Check the intended port and /status. Reuse it only when its owner, worktree, development variant, and scheme match this task. A healthy Metro from another worktree is not interchangeable.

Use vp run dev:client. For a different free port, retain the development identity:

APP_VARIANT=development vp exec expo start --dev-client --scheme <resolved-scheme> --clear --lan --port <metro-port>

On Windows, set APP_VARIANT through PowerShell before running the command. Open the exact printed development-client URL and confirm that the loaded bundle belongs to this worktree.

iOS

Set XcodeBuildMCP session defaults to the selected simulator UDID, actual workspace/scheme when building, Debug configuration, and resolved bundle ID. For an installed client:

xcrun simctl get_app_container <udid> <resolved-bundle-id> app
xcrun simctl openurl <udid> <printed-dev-client-url>

Accept the launch prompt and dismiss a developer menu if it obscures the app.

Android

adb -s <serial> shell pm path <resolved-package>
adb -s <serial> reverse tcp:<metro-port> tcp:<metro-port>
adb -s <serial> shell am start -W -a android.intent.action.VIEW -d '<printed-dev-client-url>' <resolved-package>

Track any port-forwarding rule you add. Leave devices and processes owned by other tasks alone.

Pair once per client

Use the helper from the repository root. It resolves development identity and opens the existing Add Environment route:

.agents/skills/test-t3-mobile/scripts/pair-client.sh ios <udid> <server-port> <home>
.agents/skills/test-t3-mobile/scripts/pair-client.sh android <serial> <server-port> <home>

Run only the command for the selected device. A fifth argument overrides the URL scheme when explicitly testing another variant.

The route prefills the normal pairing form and submits once through development-only autoConnect=1. Without that flag it only prefills the form. Verify the intended projects appear after connection.

Use a fresh credential for each client and each failed attempt. Simulator keyboard input can corrupt token case and punctuation; use the helper instead. Test the manual form separately when pairing UI is the feature under test. Keep credentials out of screenshots and durable evidence.

Drive and observe

On iOS, use current XcodeBuildMCP snapshot_ui element references. Refresh after navigation. Keep screenshots, semantic actions, and any simulator stream pinned to the same UDID.

On Android, prefer available semantic automation. Otherwise refresh uiautomator dump and use stable resource IDs, descriptions, or current bounds for scoped input. Capture evidence with adb exec-out screencap -p.

Exercise the affected flow and surrounding cases from the verification policy. Confirm the intended environment, not merely an empty screen. A deep link that bypasses a form proves connection behavior, not the form's typing and validation behavior.

Diagnose and finish

  • Old UI: confirm Metro's worktree, variant, URL, and port before changing app code.
  • Connection failure: confirm the platform-specific origin and home, then mint a fresh token.
  • Missing iOS references: refresh the snapshot and session defaults; report inaccessible controls rather than using guessed coordinates.
  • Android bundle failure: check the exact Metro port and the forwarding rule.

Follow the shared retention policy while the user reviews. At final teardown, remove the disposable app connection and owned adb reverse rules, stop only owned processes, and remove only deliberately created temporary data. Preserve useful reproduction evidence.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at de3bbc4. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated 2 months ago

README badge

README badge for opencoredev/akeru-bot/test-t3-mobile