@leejungkiin/awkit 1.7.1 → 1.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/awk.js +576 -84
- package/core/CLAUDE.md +1 -1
- package/core/GEMINI.md +148 -167
- package/core/GEMINI.md.bak +149 -116
- package/core/skill-runtime-manifest.json +3 -0
- package/docs/Claude Fable 5.md +3826 -0
- package/docs/android_kotlin_system_instruction.md +210 -0
- package/docs/brainstorm_ponytail_integration.md +146 -0
- package/docs/brainstorm_smart_setup.md +113 -0
- package/docs/deep-research-report (1).md +293 -0
- package/docs/history/GEMINI.v1.md +135 -0
- package/docs/history/brainstorm_antigravity_unified_architecture.v1.md +105 -0
- package/docs/history/implementation_plan.v1.md +58 -0
- package/package.json +4 -1
- package/scripts/artifact-storage.js +130 -0
- package/scripts/automation-gate.js +35 -2
- package/scripts/claude-plan.js +76 -0
- package/scripts/dependency-manager.js +210 -0
- package/scripts/exec-rtk.js +11 -5
- package/scripts/i18n-helper.js +381 -0
- package/scripts/multi-model-pipeline.js +144 -0
- package/skill-packs/mobile-ios/pack.json +4 -2
- package/skill-packs/reverse-engineering/pack.json +1 -0
- package/skills/CATALOG.md +20 -0
- package/skills/GEMINI.md +9 -1
- package/skills/TRIGGER_INDEX.md +10 -0
- package/skills/ai-music/SKILL.md +275 -0
- package/skills/android-re-analyzer/SKILL.md +238 -0
- package/skills/android-re-analyzer/references/api-extraction-patterns.md +119 -0
- package/skills/android-re-analyzer/references/call-flow-analysis.md +176 -0
- package/skills/android-re-analyzer/references/fernflower-usage.md +115 -0
- package/skills/android-re-analyzer/references/jadx-usage.md +116 -0
- package/skills/android-re-analyzer/references/setup-guide.md +221 -0
- package/skills/android-re-analyzer/scripts/check-deps.sh +129 -0
- package/skills/android-re-analyzer/scripts/decompile.sh +375 -0
- package/skills/android-re-analyzer/scripts/find-api-calls.sh +118 -0
- package/skills/android-re-analyzer/scripts/install-dep.sh +448 -0
- package/skills/animal-island-ui-style/SKILL.md +1450 -0
- package/skills/app-store-review-agent/SKILL.md +164 -0
- package/skills/app-store-review-agent/references/guidelines/README.md +154 -0
- package/skills/app-store-review-agent/references/guidelines/by-app-type/ai_apps.md +37 -0
- package/skills/app-store-review-agent/references/guidelines/by-app-type/all_apps.md +50 -0
- package/skills/app-store-review-agent/references/guidelines/by-app-type/crypto_finance.md +31 -0
- package/skills/app-store-review-agent/references/guidelines/by-app-type/games.md +31 -0
- package/skills/app-store-review-agent/references/guidelines/by-app-type/health_fitness.md +31 -0
- package/skills/app-store-review-agent/references/guidelines/by-app-type/kids.md +27 -0
- package/skills/app-store-review-agent/references/guidelines/by-app-type/macos.md +38 -0
- package/skills/app-store-review-agent/references/guidelines/by-app-type/social_ugc.md +32 -0
- package/skills/app-store-review-agent/references/guidelines/by-app-type/subscription_iap.md +34 -0
- package/skills/app-store-review-agent/references/guidelines/by-app-type/vpn.md +18 -0
- package/skills/app-store-review-agent/references/rules/design/minimum_functionality.md +96 -0
- package/skills/app-store-review-agent/references/rules/design/sign_in_with_apple.md +54 -0
- package/skills/app-store-review-agent/references/rules/entitlements/unused_entitlements.md +83 -0
- package/skills/app-store-review-agent/references/rules/metadata/accurate_metadata.md +54 -0
- package/skills/app-store-review-agent/references/rules/metadata/apple_trademark.md +99 -0
- package/skills/app-store-review-agent/references/rules/metadata/china_storefront.md +72 -0
- package/skills/app-store-review-agent/references/rules/metadata/competitor_terms.md +56 -0
- package/skills/app-store-review-agent/references/rules/metadata/subscription_metadata.md +81 -0
- package/skills/app-store-review-agent/references/rules/privacy/privacy_manifest.md +84 -0
- package/skills/app-store-review-agent/references/rules/privacy/unnecessary_data.md +60 -0
- package/skills/app-store-review-agent/references/rules/subscription/misleading_pricing.md +63 -0
- package/skills/app-store-review-agent/references/rules/subscription/missing_tos_pp.md +54 -0
- package/skills/awf-ponytail/SKILL.md +91 -0
- package/skills/awf-ponytail-review/SKILL.md +67 -0
- package/skills/awf-session-restore/SKILL.md +3 -3
- package/skills/brainstorm-agent/SKILL.md +11 -2
- package/skills/brainstorm-agent/templates/brief-template.md +8 -0
- package/skills/claude-planner/SKILL.md +47 -0
- package/skills/code-review/SKILL.md +87 -0
- package/skills/expo-game-development/SKILL.md +163 -0
- package/skills/flutter/LICENSE.txt +202 -0
- package/skills/flutter/SKILL.md +127 -0
- package/skills/flutter-project-creater/LICENSE.txt +202 -0
- package/skills/flutter-project-creater/SKILL.md +106 -0
- package/skills/game-developer/SKILL.md +163 -0
- package/skills/game-developer/references/ecs-patterns.md +501 -0
- package/skills/game-developer/references/multiplayer-networking.md +475 -0
- package/skills/game-developer/references/performance-optimization.md +422 -0
- package/skills/game-developer/references/unity-patterns.md +271 -0
- package/skills/game-developer/references/unreal-cpp.md +352 -0
- package/skills/generate-gui-assets/SKILL.md +305 -0
- package/skills/generate-gui-assets/agents/openai.yaml +4 -0
- package/skills/generate-gui-assets/references/catalog-schema.md +58 -0
- package/skills/generate-gui-assets/references/extraction-techniques.md +21 -0
- package/skills/generate-gui-assets/references/prompt-patterns.md +58 -0
- package/skills/generate-gui-assets/scripts/__pycache__/clean_chroma_edges.cpython-311.pyc +0 -0
- package/skills/generate-gui-assets/scripts/build_gui_contact_sheet.py +51 -0
- package/skills/generate-gui-assets/scripts/clean_chroma_edges.py +262 -0
- package/skills/generate-gui-assets/scripts/copy_approved_icons.py +64 -0
- package/skills/generate-gui-assets/scripts/prepare_gui_asset_run.py +91 -0
- package/skills/generate-gui-assets/scripts/suggest_grid_options.py +63 -0
- package/skills/generate-gui-assets/scripts/validate_gui_catalog.py +50 -0
- package/skills/godot-game-development/SKILL.md +142 -0
- package/skills/hatch-pet/LICENSE.txt +201 -0
- package/skills/hatch-pet/SKILL.md +420 -0
- package/skills/hatch-pet/agents/openai.yaml +4 -0
- package/skills/hatch-pet/references/animation-rows.md +29 -0
- package/skills/hatch-pet/references/codex-pet-contract.md +35 -0
- package/skills/hatch-pet/references/qa-rubric.md +60 -0
- package/skills/hatch-pet/scripts/__pycache__/clean_chroma_edges.cpython-311.pyc +0 -0
- package/skills/hatch-pet/scripts/clean_chroma_edges.py +262 -0
- package/skills/hatch-pet/scripts/compose_atlas.py +150 -0
- package/skills/hatch-pet/scripts/derive_running_left_from_running_right.py +143 -0
- package/skills/hatch-pet/scripts/extract_strip_frames.py +323 -0
- package/skills/hatch-pet/scripts/finalize_pet_run.py +382 -0
- package/skills/hatch-pet/scripts/generate_pet_images.py +287 -0
- package/skills/hatch-pet/scripts/inspect_frames.py +246 -0
- package/skills/hatch-pet/scripts/make_contact_sheet.py +96 -0
- package/skills/hatch-pet/scripts/package_custom_pet.py +108 -0
- package/skills/hatch-pet/scripts/pet_job_status.py +117 -0
- package/skills/hatch-pet/scripts/prepare_pet_run.py +673 -0
- package/skills/hatch-pet/scripts/queue_pet_repairs.py +172 -0
- package/skills/hatch-pet/scripts/record_imagegen_result.py +250 -0
- package/skills/hatch-pet/scripts/render_animation_videos.py +134 -0
- package/skills/hatch-pet/scripts/render_animation_videos.sh +5 -0
- package/skills/hatch-pet/scripts/validate_atlas.py +139 -0
- package/skills/i18n-orchestrator/SKILL.md +37 -0
- package/skills/ios-simulator-skill/SKILL.md +390 -0
- package/skills/ios-simulator-skill/scripts/accessibility_audit.py +300 -0
- package/skills/ios-simulator-skill/scripts/app_launcher.py +326 -0
- package/skills/ios-simulator-skill/scripts/app_state_capture.py +400 -0
- package/skills/ios-simulator-skill/scripts/appearance.py +385 -0
- package/skills/ios-simulator-skill/scripts/build_and_test.py +348 -0
- package/skills/ios-simulator-skill/scripts/clipboard.py +103 -0
- package/skills/ios-simulator-skill/scripts/common/__init__.py +61 -0
- package/skills/ios-simulator-skill/scripts/common/cache_utils.py +289 -0
- package/skills/ios-simulator-skill/scripts/common/device_utils.py +462 -0
- package/skills/ios-simulator-skill/scripts/common/env_config.py +35 -0
- package/skills/ios-simulator-skill/scripts/common/hang_pipeline.py +862 -0
- package/skills/ios-simulator-skill/scripts/common/hang_sessions.py +490 -0
- package/skills/ios-simulator-skill/scripts/common/idb_utils.py +180 -0
- package/skills/ios-simulator-skill/scripts/common/screenshot_utils.py +338 -0
- package/skills/ios-simulator-skill/scripts/container.py +668 -0
- package/skills/ios-simulator-skill/scripts/gesture.py +394 -0
- package/skills/ios-simulator-skill/scripts/hang_watcher.py +1533 -0
- package/skills/ios-simulator-skill/scripts/keyboard.py +391 -0
- package/skills/ios-simulator-skill/scripts/localization_audit.py +483 -0
- package/skills/ios-simulator-skill/scripts/location.py +467 -0
- package/skills/ios-simulator-skill/scripts/log_monitor.py +493 -0
- package/skills/ios-simulator-skill/scripts/model_inspector.py +645 -0
- package/skills/ios-simulator-skill/scripts/navigator.py +461 -0
- package/skills/ios-simulator-skill/scripts/privacy_manager.py +310 -0
- package/skills/ios-simulator-skill/scripts/push_notification.py +240 -0
- package/skills/ios-simulator-skill/scripts/screen_mapper.py +296 -0
- package/skills/ios-simulator-skill/scripts/sim_health_check.sh +245 -0
- package/skills/ios-simulator-skill/scripts/sim_list.py +299 -0
- package/skills/ios-simulator-skill/scripts/simctl_boot.py +312 -0
- package/skills/ios-simulator-skill/scripts/simctl_create.py +316 -0
- package/skills/ios-simulator-skill/scripts/simctl_delete.py +357 -0
- package/skills/ios-simulator-skill/scripts/simctl_erase.py +351 -0
- package/skills/ios-simulator-skill/scripts/simctl_shutdown.py +290 -0
- package/skills/ios-simulator-skill/scripts/simulator_selector.py +375 -0
- package/skills/ios-simulator-skill/scripts/status_bar.py +250 -0
- package/skills/ios-simulator-skill/scripts/test_recorder.py +323 -0
- package/skills/ios-simulator-skill/scripts/visual_diff.py +235 -0
- package/skills/ios-simulator-skill/scripts/xcode/__init__.py +13 -0
- package/skills/ios-simulator-skill/scripts/xcode/builder.py +397 -0
- package/skills/ios-simulator-skill/scripts/xcode/cache.py +204 -0
- package/skills/ios-simulator-skill/scripts/xcode/config.py +178 -0
- package/skills/ios-simulator-skill/scripts/xcode/reporter.py +343 -0
- package/skills/ios-simulator-skill/scripts/xcode/xcresult.py +451 -0
- package/skills/ios-visual-qa-strategist/SKILL.md +111 -0
- package/skills/ios-visual-qa-strategist/agents/openai.yaml +4 -0
- package/skills/ios-visual-qa-strategist/references/ios-tool-selection.md +61 -0
- package/skills/ios-visual-qa-strategist/references/minimal-capture-policy.md +56 -0
- package/skills/ios-visual-qa-strategist/references/visual-reasoning-heuristics.md +53 -0
- package/skills/orchestrator/SKILL.md +0 -20
- package/skills/persistent-storage/SKILL.md +55 -0
- package/skills/short-maker/SKILL.md +23 -0
- package/skills/short-maker/scripts/effects.js +56 -0
- package/skills/short-maker/scripts/shortmaker-bridge.js +332 -0
- package/skills/short-maker/scripts/videomix.js +601 -0
- package/skills/short-maker/templates/hyperframes/cinematic-character.template.html +172 -0
- package/skills/short-maker/templates/hyperframes/index.template.html +194 -0
- package/skills/smali-to-kotlin/SKILL.md +128 -0
- package/skills/smali-to-kotlin/examples/getting-started/tech-stack.md +58 -0
- package/skills/smali-to-kotlin/examples/pipeline/data-ui-parity.md +118 -0
- package/skills/smali-to-kotlin/examples/pipeline/scanner-and-bootstrap.md +106 -0
- package/skills/smali-to-kotlin/library-patterns.md +189 -0
- package/skills/smali-to-kotlin/phase-0-discovery.md +128 -0
- package/skills/smali-to-kotlin/phase-1-architecture.md +166 -0
- package/skills/smali-to-kotlin/phase-2-blueprint-ui.md +347 -0
- package/skills/smali-to-kotlin/phase-2-blueprint.md +228 -0
- package/skills/smali-to-kotlin/phase-3-build.md +248 -0
- package/skills/smali-to-kotlin/phase-3-logic-build.md +268 -0
- package/skills/smali-to-kotlin/smali-reading-guide.md +310 -0
- package/skills/smali-to-kotlin/templates/app-map.md +101 -0
- package/skills/smali-to-kotlin/templates/architecture.md +142 -0
- package/skills/smali-to-kotlin/templates/blueprint.md +145 -0
- package/skills/spec-gate/SKILL.md +6 -2
- package/skills/symphony-enforcer/SKILL.md +8 -0
- package/skills/symphony-enforcer/examples/mindful-stop.md +2 -0
- package/skills/symphony-enforcer/examples/three-phase.md +16 -0
- package/skills/symphony-enforcer/examples/trigger-points.md +7 -1
- package/skills/unity-game-development/SKILL.md +231 -0
- package/skills/video-edit/SKILL.md +36 -0
- package/skills/video-edit/scripts/video_edit.py +324 -0
- package/templates/project-identity/android.json +2 -2
- package/templates/project-identity/backend-nestjs.json +2 -2
- package/templates/project-identity/expo.json +2 -2
- package/templates/project-identity/ios.json +2 -2
- package/templates/project-identity/web-nextjs.json +2 -2
- package/templates/setup-mapping.json +48 -0
- package/templates/specs/design-template.md +161 -71
- package/templates/specs/requirements-template.md +65 -133
- package/templates/specs/task-spec-template.xml +3 -0
- package/workflows/_uncategorized/critic.md +40 -0
- package/workflows/_uncategorized/git-rebase-flow.md +81 -0
- package/workflows/_uncategorized/image-gen.md +118 -0
- package/workflows/_uncategorized/multi-model-pipeline.md +60 -0
- package/workflows/_uncategorized/pixel-gen.md +86 -0
- package/workflows/_uncategorized/pixel-setup.md +90 -0
- package/workflows/_uncategorized/ponytail-review.md +59 -0
- package/workflows/_uncategorized/reverse-android-build.md +222 -0
- package/workflows/_uncategorized/reverse-android-design.md +139 -0
- package/workflows/_uncategorized/reverse-android-discover.md +150 -0
- package/workflows/_uncategorized/reverse-android-scan.md +158 -0
- package/workflows/_uncategorized/reverse-android.md +143 -0
- package/workflows/_uncategorized/reverse-ios-build.md +240 -0
- package/workflows/_uncategorized/reverse-ios-design.md +112 -0
- package/workflows/_uncategorized/reverse-ios-discover.md +120 -0
- package/workflows/_uncategorized/reverse-ios-scan.md +155 -0
- package/workflows/_uncategorized/reverse-ios.md +152 -0
- package/workflows/_uncategorized/safety-router.md +34 -0
- package/workflows/_uncategorized/teach.md +89 -0
- package/workflows/_uncategorized/verify-ui.md +53 -0
- package/workflows/_uncategorized/visualize-screenshots.md +34 -0
- package/workflows/ads/ads-analyst.md +201 -0
- package/workflows/ads/ads-audit.md +106 -0
- package/workflows/ads/ads-optimize.md +97 -0
- package/workflows/ads/ads-targeting.md +241 -0
- package/workflows/ads/adsExpert.md +160 -0
- package/workflows/ads/smali-ads-config.md +400 -0
- package/workflows/ads/smali-ads-flow.md +331 -0
- package/workflows/ads/smali-ads-interstitial.md +377 -0
- package/workflows/ads/smali-ads-native.md +382 -0
- package/workflows/context/teach.md +89 -0
- package/workflows/gitnexus.md +8 -8
- package/workflows/lifecycle/brainstorm.md +43 -0
- package/workflows/lifecycle/code.md +5 -0
- package/workflows/lifecycle/init.md +23 -5
- package/workflows/lifecycle/multi-model-pipeline.md +60 -0
- package/workflows/quality/ponytail-review.md +59 -0
- package/workflows/roles/critic.md +40 -0
- package/workflows/roles/safety-router.md +34 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: i18n-orchestrator
|
|
3
|
+
description: Use when the user requests translation, localization, or modification of UI text resources, translation dictionaries (JSON, TS, JS), or language assets.
|
|
4
|
+
metadata:
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# i18n-orchestrator Skill
|
|
9
|
+
|
|
10
|
+
You are an expert at managing application translations and localizations cleanly.
|
|
11
|
+
To avoid context bloat and ensure syntax correctness, you MUST use the `awkit i18n` tool instead of manually editing large translation files.
|
|
12
|
+
|
|
13
|
+
## Workflow
|
|
14
|
+
|
|
15
|
+
### 1. Check & Search
|
|
16
|
+
Before adding a translation key, search if a similar word or key already exists in the project.
|
|
17
|
+
```bash
|
|
18
|
+
awkit i18n search "welcome"
|
|
19
|
+
```
|
|
20
|
+
- If a match is found, check if you can reuse the existing key in the UI code rather than creating a new one.
|
|
21
|
+
|
|
22
|
+
### 2. Add New Translations
|
|
23
|
+
If no similar translation exists, add a new key using the CLI.
|
|
24
|
+
```bash
|
|
25
|
+
awkit i18n add --key "namespace.module.key" --en "English translation" --vi "Vietnamese translation"
|
|
26
|
+
```
|
|
27
|
+
- Keys should follow the project convention (usually dot notation like `home.header.title`, nested camelCase or snake_case).
|
|
28
|
+
- Always supply translations for all supported languages at the same time to prevent sync mismatch.
|
|
29
|
+
|
|
30
|
+
### 3. Sync & Sort Keys
|
|
31
|
+
After adding translations, or before completing a task, run the sync command to format and alphabetize all translation files:
|
|
32
|
+
```bash
|
|
33
|
+
awkit i18n sync
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### 4. Codebase Verification
|
|
37
|
+
Verify the code compiles. If the translation keys are referenced in TypeScript/JavaScript (e.g. `t('home.header.title')`), make sure the references match the keys you added.
|
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ios-simulator-skill
|
|
3
|
+
version: 1.5.0
|
|
4
|
+
description: 29 production-ready scripts for iOS app testing, building, and automation. Provides semantic UI navigation, build automation, accessibility testing, and simulator lifecycle management. Optimized for AI agents with minimal token output.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# iOS Simulator Skill
|
|
8
|
+
|
|
9
|
+
Build, test, and automate iOS applications using accessibility-driven navigation and structured data instead of pixel coordinates.
|
|
10
|
+
|
|
11
|
+
## Quick Start
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# 1. Check environment
|
|
15
|
+
bash scripts/sim_health_check.sh
|
|
16
|
+
|
|
17
|
+
# 2. Launch app
|
|
18
|
+
python scripts/app_launcher.py --launch com.example.app
|
|
19
|
+
|
|
20
|
+
# 3. Map screen to see elements
|
|
21
|
+
python scripts/screen_mapper.py
|
|
22
|
+
|
|
23
|
+
# 4. Tap button
|
|
24
|
+
python scripts/navigator.py --find-text "Login" --tap
|
|
25
|
+
|
|
26
|
+
# 5. Enter text
|
|
27
|
+
python scripts/navigator.py --find-type TextField --enter-text "user@example.com"
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
All scripts support `--help` for detailed options and `--json` for machine-readable output.
|
|
31
|
+
|
|
32
|
+
## Navigation Strategy
|
|
33
|
+
|
|
34
|
+
**Always prefer the accessibility tree over screenshots for navigation.** The accessibility tree gives you element types, labels, frames, and tap targets — structured data that's cheaper and more reliable than image analysis.
|
|
35
|
+
|
|
36
|
+
Use this priority:
|
|
37
|
+
1. `screen_mapper.py` → structured element list (5-7 lines, ~10 tokens)
|
|
38
|
+
2. `navigator.py --find-text/--find-type/--find-id` → semantic interaction
|
|
39
|
+
3. Screenshots → only for visual verification, bug reports, or visual diff
|
|
40
|
+
|
|
41
|
+
Screenshots cost 1,600–6,300 tokens depending on size. The accessibility tree costs 10–50 tokens in default mode.
|
|
42
|
+
|
|
43
|
+
## 29 Production Scripts
|
|
44
|
+
|
|
45
|
+
### Build & Development (2 scripts)
|
|
46
|
+
|
|
47
|
+
1. **build_and_test.py** - Build Xcode projects, run tests, parse results with progressive disclosure
|
|
48
|
+
- Build with live result streaming
|
|
49
|
+
- Parse errors and warnings from xcresult bundles
|
|
50
|
+
- Retrieve detailed build logs on demand
|
|
51
|
+
- Options: `--project`, `--scheme`, `--clean`, `--test`, `--verbose`, `--json`
|
|
52
|
+
|
|
53
|
+
2. **log_monitor.py** - Real-time log monitoring with intelligent filtering
|
|
54
|
+
- Stream logs or capture by duration
|
|
55
|
+
- Filter by severity (error/warning/info/debug)
|
|
56
|
+
- Deduplicate repeated messages
|
|
57
|
+
- Options: `--app`, `--severity`, `--follow`, `--duration`, `--output`, `--json`
|
|
58
|
+
|
|
59
|
+
### Device State (2 scripts)
|
|
60
|
+
|
|
61
|
+
3. **appearance.py** - Control simulator appearance: dark mode, Dynamic Type size, and locale/region
|
|
62
|
+
- Toggle light/dark theme via `xcrun simctl ui`
|
|
63
|
+
- Set Dynamic Type size with friendly aliases (XS through AX5)
|
|
64
|
+
- Write locale and region defaults; optional app restart via `--bundle-id`
|
|
65
|
+
- RTL flagged automatically for ar/he/fa/ur/yi locales
|
|
66
|
+
- Options: `--theme`, `--text-size`, `--locale`, `--region`, `--reset`, `--bundle-id`, `--udid`, `--json`, `--verbose`
|
|
67
|
+
|
|
68
|
+
4. **location.py** - Simulate GPS coordinates, named city presets, and GPX scenario playback
|
|
69
|
+
- Fix a coordinate with `--lat`/`--lng` or pick a city with `--city`
|
|
70
|
+
- Play a built-in scenario (City Run, Freeway Drive, etc.) via `--gpx <scenario>`
|
|
71
|
+
- Animate multi-waypoint paths with configurable speed via `--waypoints` and `--speed`
|
|
72
|
+
- Clear simulated location with `--clear`; list available scenarios with `--list-scenarios`
|
|
73
|
+
- Options: `--lat`, `--lng`, `--city`, `--gpx`, `--waypoints`, `--speed`, `--clear`, `--list-scenarios`, `--udid`, `--json`, `--verbose`
|
|
74
|
+
|
|
75
|
+
### Navigation & Interaction (5 scripts)
|
|
76
|
+
|
|
77
|
+
5. **screen_mapper.py** - Analyze current screen and list interactive elements
|
|
78
|
+
- Element type breakdown
|
|
79
|
+
- Interactive button list
|
|
80
|
+
- Text field status
|
|
81
|
+
- Options: `--verbose`, `--hints`, `--json`
|
|
82
|
+
|
|
83
|
+
6. **navigator.py** - Find and interact with elements semantically
|
|
84
|
+
- Find by text (fuzzy matching)
|
|
85
|
+
- Find by element type
|
|
86
|
+
- Find by accessibility ID
|
|
87
|
+
- Enter text or tap elements
|
|
88
|
+
- Options: `--find-text`, `--find-type`, `--find-id`, `--tap`, `--enter-text`, `--json`
|
|
89
|
+
|
|
90
|
+
7. **gesture.py** - Perform swipes, scrolls, pinches, and complex gestures
|
|
91
|
+
- Directional swipes (up/down/left/right)
|
|
92
|
+
- Multi-swipe scrolling
|
|
93
|
+
- Pinch zoom
|
|
94
|
+
- Long press
|
|
95
|
+
- Pull to refresh
|
|
96
|
+
- Options: `--swipe`, `--scroll`, `--pinch`, `--long-press`, `--refresh`, `--json`
|
|
97
|
+
|
|
98
|
+
8. **keyboard.py** - Text input and hardware button control
|
|
99
|
+
- Type text (fast or slow)
|
|
100
|
+
- Special keys (return, delete, tab, space, arrows)
|
|
101
|
+
- Hardware buttons (home, lock, volume, screenshot)
|
|
102
|
+
- Key combinations
|
|
103
|
+
- Options: `--type`, `--key`, `--button`, `--slow`, `--clear`, `--dismiss`, `--json`
|
|
104
|
+
|
|
105
|
+
9. **app_launcher.py** - App lifecycle management
|
|
106
|
+
- Launch apps by bundle ID
|
|
107
|
+
- Terminate apps
|
|
108
|
+
- Install/uninstall from .app bundles
|
|
109
|
+
- Deep link navigation
|
|
110
|
+
- List installed apps
|
|
111
|
+
- Check app state
|
|
112
|
+
- Options: `--launch`, `--terminate`, `--install`, `--uninstall`, `--open-url`, `--list`, `--state`, `--json`
|
|
113
|
+
|
|
114
|
+
### Testing & Analysis (9 scripts)
|
|
115
|
+
|
|
116
|
+
10. **accessibility_audit.py** - Check WCAG compliance on current screen
|
|
117
|
+
- Critical issues (missing labels, empty buttons, no alt text)
|
|
118
|
+
- Warnings (missing hints, small touch targets)
|
|
119
|
+
- Info (missing IDs, deep nesting)
|
|
120
|
+
- Options: `--verbose`, `--output`, `--json`
|
|
121
|
+
|
|
122
|
+
11. **visual_diff.py** - Compare two screenshots for visual changes
|
|
123
|
+
- Pixel-by-pixel comparison
|
|
124
|
+
- Threshold-based pass/fail
|
|
125
|
+
- Generate diff images
|
|
126
|
+
- Options: `--threshold`, `--output`, `--details`, `--json`
|
|
127
|
+
|
|
128
|
+
12. **test_recorder.py** - Automatically document test execution
|
|
129
|
+
- Capture screenshots and accessibility trees per step
|
|
130
|
+
- Generate markdown reports with timing data
|
|
131
|
+
- Options: `--test-name`, `--output`, `--verbose`, `--json`
|
|
132
|
+
|
|
133
|
+
13. **app_state_capture.py** - Create comprehensive debugging snapshots
|
|
134
|
+
- Screenshot, UI hierarchy, app logs, device info
|
|
135
|
+
- Markdown summary for bug reports
|
|
136
|
+
- Options: `--app-bundle-id`, `--output`, `--log-lines`, `--json`
|
|
137
|
+
|
|
138
|
+
14. **sim_health_check.sh** - Verify environment is properly configured
|
|
139
|
+
- Check macOS, Xcode, simctl, IDB, Python
|
|
140
|
+
- List available and booted simulators
|
|
141
|
+
- Verify Python packages (Pillow)
|
|
142
|
+
|
|
143
|
+
15. **model_inspector.py** - Inspect Core Data and SwiftData models from project files
|
|
144
|
+
- Parse .xcdatamodeld packages (entities, attributes, relationships)
|
|
145
|
+
- Detect model versions and current active version
|
|
146
|
+
- Best-effort SwiftData @Model class extraction
|
|
147
|
+
- Raw source dump for any model on demand (`--raw ModelName`)
|
|
148
|
+
- Options: `--project-path`, `--core-data-only`, `--swiftdata-only`, `--show-versions`, `--raw`, `--verbose`, `--json`
|
|
149
|
+
|
|
150
|
+
16. **container.py** - Inspect app sandbox: files, UserDefaults, and Core Data store paths
|
|
151
|
+
- List data container files at configurable depth via `--ls`
|
|
152
|
+
- Read files with auto-detected plist decoding via `--cat` (large files cached)
|
|
153
|
+
- Dump UserDefaults as key=value or JSON via `--userdefaults`
|
|
154
|
+
- Locate `.sqlite` / `.sqlite-wal` / `.sqlite-shm` stores via `--core-data-path`
|
|
155
|
+
- Export full container snapshot via `--export`
|
|
156
|
+
- Options: `--ls`, `--cat`, `--userdefaults`, `--core-data-path`, `--export`, `--udid`, `--json`, `--verbose`
|
|
157
|
+
|
|
158
|
+
17. **hang_watcher.py** (HangBuster) - Record + summarise os_log hang events with progressive disclosure
|
|
159
|
+
- **Session mode (HangBuster, agent-native):** start a detached recorder, interact with the simulator, stop for a token-tight summary
|
|
160
|
+
- `--start` → returns a session ID; detached worker normalises + thresholds events on the fly
|
|
161
|
+
- `--stop SESSION_ID` → emits ~80–120 token L1 summary (header + top-N clusters + drill hint)
|
|
162
|
+
- `--get-details SESSION_ID [--cluster N | --raw]` → L2 full clusters or L3 per-event detail
|
|
163
|
+
- `--list-sessions` / `--clear-sessions [--older-than 24h]` / `--diff A B` (cross-session regression report)
|
|
164
|
+
- Filter pipeline: parse → normalise → threshold → bucket → cluster → aggregate → rank → format (in `common/hang_pipeline.py`)
|
|
165
|
+
- `--budget-tokens N` picks the densest level (L0/L1/L2) that fits; `--terse` forces L0
|
|
166
|
+
- `--auto-sample` captures a main-thread stack on first event per cluster (soft dependency: `main_thread_sampler.py` #62; graceful no-op if absent)
|
|
167
|
+
- **Raw capture mode (full fidelity for `jq` exploration):** skip the clustering pipeline, dump every matching log line verbatim to `raw.ndjson`
|
|
168
|
+
- `--start --raw-capture [--max-size-mb 10] [--no-gzip]` — spawns `log stream --style ndjson`
|
|
169
|
+
- Per-session size cap (`--max-size-mb`, default 10) — worker stops cleanly on cap; `extras.truncated=true`
|
|
170
|
+
- `--stop` gzips `raw.ndjson` → `raw.ndjson.gz` (~15–19× compression; `--no-gzip` opts out)
|
|
171
|
+
- `--get-details SESSION_ID` on a raw session prints the path with a `zcat | jq ...` hint
|
|
172
|
+
- **Resilience (auto-restart on stream death):** EOF or subprocess death triggers a `stream_died` event then a bounded restart with 2s backoff. After `IOS_SIM_HANG_MAX_RESTARTS` (default 3) the session is marked `crashed`, never left in stale `running` state. `--list-sessions` shows `capture=Xs` and `restarts=N`.
|
|
173
|
+
- **Cleanup is automatic:** TTL prune (`IOS_SIM_HANG_SESSION_TTL_HOURS`, default 24h) + aggregate cap (`IOS_SIM_HANG_TOTAL_CAP_MB`, default 100 MB, oldest-first eviction) both run on every `--start`.
|
|
174
|
+
- **Legacy modes (unchanged for backward compat):** `--watch [--duration N]` (live stream) and `--since 5m` (historical)
|
|
175
|
+
- Filters: `--bundle-id` (post-parse — hang capture stays simulator-global so RunningBoard/SpringBoard events are kept), `--predicate` (also via `IOS_SIM_HANG_PREDICATE`)
|
|
176
|
+
- All output supports `--json`; session storage at `~/.ios-simulator-skill/sessions/<id>/{meta.json,events.jsonl,summary.json,raw.ndjson.gz}`
|
|
177
|
+
|
|
178
|
+
**Quick start (summarised mode):**
|
|
179
|
+
```bash
|
|
180
|
+
SID=$(python scripts/hang_watcher.py --start --min-hang-ms 200)
|
|
181
|
+
# ... interact with the simulator (open sheets, scroll, navigate) ...
|
|
182
|
+
python scripts/hang_watcher.py --stop $SID # token-tight L1 summary
|
|
183
|
+
python scripts/hang_watcher.py --get-details $SID --cluster 1 # drill into cluster 1
|
|
184
|
+
python scripts/hang_watcher.py --diff $SID_BASELINE $SID # cross-session regression
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
**Quick start (raw capture + `jq` exploration):**
|
|
188
|
+
```bash
|
|
189
|
+
SID=$(python scripts/hang_watcher.py --start --raw-capture --max-size-mb 5)
|
|
190
|
+
# ... interact with the simulator ...
|
|
191
|
+
python scripts/hang_watcher.py --stop $SID
|
|
192
|
+
# → "Session ...: raw mode, 737 lines, 0.96 MB → 0.05 MB gzipped"
|
|
193
|
+
|
|
194
|
+
# Top processes by event count:
|
|
195
|
+
zcat ~/.ios-simulator-skill/sessions/$SID/raw.ndjson.gz \
|
|
196
|
+
| jq -s 'group_by(.processImagePath) | map({proc: (.[0].processImagePath | split("/") | last), n: length}) | sort_by(-.n) | .[:5]'
|
|
197
|
+
|
|
198
|
+
# All RunningBoard assertion invalidations:
|
|
199
|
+
zcat .../raw.ndjson.gz | jq -c 'select(.subsystem == "com.apple.runningboard" and (.eventMessage | startswith("Invalidating")))'
|
|
200
|
+
|
|
201
|
+
# Hangs per minute:
|
|
202
|
+
zcat .../raw.ndjson.gz | jq -r '.timestamp[:16]' | sort | uniq -c
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
18. **localization_audit.py** - Detect string catalog gaps, missing keys, and placeholder mismatches
|
|
206
|
+
- Report missing and `needs_review`/`new` keys per locale in `.xcstrings` catalogs
|
|
207
|
+
- Cross-reference catalog keys against Swift source (`String(localized:)` / `NSLocalizedString`) via `--source`
|
|
208
|
+
- Flag placeholder count mismatches (`%d`, `%@`, `%s`, `%lld`) across locales
|
|
209
|
+
- Legacy `.strings` and `.stringsdict` support via `plistlib`
|
|
210
|
+
- CI-friendly `--strict` exits 2 on any finding
|
|
211
|
+
- Options: `--catalog`, `--source`, `--locale`, `--strict`, `--json`, `--verbose`
|
|
212
|
+
|
|
213
|
+
### Advanced Testing & Permissions (4 scripts)
|
|
214
|
+
|
|
215
|
+
19. **clipboard.py** - Manage simulator clipboard for paste testing
|
|
216
|
+
- Copy text to clipboard
|
|
217
|
+
- Test paste flows without manual entry
|
|
218
|
+
- Options: `--copy`, `--test-name`, `--expected`, `--json`
|
|
219
|
+
|
|
220
|
+
20. **status_bar.py** - Override simulator status bar appearance
|
|
221
|
+
- Presets: clean (9:41, 100% battery), testing (11:11, 50%), low-battery (20%), airplane (offline)
|
|
222
|
+
- Custom time, network, battery, WiFi settings
|
|
223
|
+
- Options: `--preset`, `--time`, `--data-network`, `--battery-level`, `--clear`, `--json`
|
|
224
|
+
|
|
225
|
+
21. **push_notification.py** - Send simulated push notifications
|
|
226
|
+
- Simple mode (title + body + badge)
|
|
227
|
+
- Custom JSON payloads
|
|
228
|
+
- Test notification handling and deep links
|
|
229
|
+
- Options: `--bundle-id`, `--title`, `--body`, `--badge`, `--payload`, `--json`
|
|
230
|
+
|
|
231
|
+
22. **privacy_manager.py** - Grant, revoke, and reset app permissions
|
|
232
|
+
- 13 supported services (camera, microphone, location, contacts, photos, calendar, health, etc.)
|
|
233
|
+
- Batch operations (comma-separated services)
|
|
234
|
+
- Audit trail with test scenario tracking
|
|
235
|
+
- Options: `--bundle-id`, `--grant`, `--revoke`, `--reset`, `--list`, `--json`
|
|
236
|
+
|
|
237
|
+
### Simulator Discovery (2 scripts)
|
|
238
|
+
|
|
239
|
+
23. **sim_list.py** - List simulators with progressive disclosure
|
|
240
|
+
- Concise summary by default (total / available / booted)
|
|
241
|
+
- Full details on demand via cache IDs
|
|
242
|
+
- Filter by device type
|
|
243
|
+
- Suggest recommended simulators with `--suggest`
|
|
244
|
+
- 96% token reduction vs raw `simctl list` (57k → 2k tokens)
|
|
245
|
+
- Options: `--get-details`, `--suggest`, `--device-type`, `--json`
|
|
246
|
+
|
|
247
|
+
24. **simulator_selector.py** - Suggest the best simulator for the job
|
|
248
|
+
- Ranks candidates by recent use (from `config.json`), latest iOS, common test models, and boot status
|
|
249
|
+
- List all available simulators with `--list`
|
|
250
|
+
- Boot a selected simulator directly with `--boot`
|
|
251
|
+
- JSON output for programmatic use
|
|
252
|
+
- Options: `--suggest`, `--list`, `--boot`, `--json`
|
|
253
|
+
|
|
254
|
+
### Device Lifecycle Management (5 scripts)
|
|
255
|
+
|
|
256
|
+
25. **simctl_boot.py** - Boot simulators with optional readiness verification
|
|
257
|
+
- Boot by UDID or device name
|
|
258
|
+
- Wait for device ready with timeout
|
|
259
|
+
- Batch boot operations (--all, --type)
|
|
260
|
+
- Performance timing
|
|
261
|
+
- Options: `--udid`, `--name`, `--wait-ready`, `--timeout`, `--all`, `--type`, `--json`
|
|
262
|
+
|
|
263
|
+
26. **simctl_shutdown.py** - Gracefully shutdown simulators
|
|
264
|
+
- Shutdown by UDID or device name
|
|
265
|
+
- Optional verification of shutdown completion
|
|
266
|
+
- Batch shutdown operations
|
|
267
|
+
- Options: `--udid`, `--name`, `--verify`, `--timeout`, `--all`, `--type`, `--json`
|
|
268
|
+
|
|
269
|
+
27. **simctl_create.py** - Create simulators dynamically
|
|
270
|
+
- Create by device type and iOS version
|
|
271
|
+
- List available device types and runtimes
|
|
272
|
+
- Custom device naming
|
|
273
|
+
- Returns UDID for CI/CD integration
|
|
274
|
+
- Options: `--device`, `--runtime`, `--name`, `--list-devices`, `--list-runtimes`, `--json`
|
|
275
|
+
|
|
276
|
+
28. **simctl_delete.py** - Permanently delete simulators
|
|
277
|
+
- Delete by UDID or device name
|
|
278
|
+
- Safety confirmation by default (skip with --yes)
|
|
279
|
+
- Batch delete operations
|
|
280
|
+
- Smart deletion (--old N to keep N per device type)
|
|
281
|
+
- Options: `--udid`, `--name`, `--yes`, `--all`, `--type`, `--old`, `--json`
|
|
282
|
+
|
|
283
|
+
29. **simctl_erase.py** - Factory reset simulators without deletion
|
|
284
|
+
- Preserve device UUID (faster than delete+create)
|
|
285
|
+
- Erase all, by type, or booted simulators
|
|
286
|
+
- Optional verification
|
|
287
|
+
- Options: `--udid`, `--name`, `--verify`, `--timeout`, `--all`, `--type`, `--booted`, `--json`
|
|
288
|
+
|
|
289
|
+
## Common Patterns
|
|
290
|
+
|
|
291
|
+
**Auto-UDID Detection**: Most scripts auto-detect the booted simulator if --udid is not provided.
|
|
292
|
+
|
|
293
|
+
**Device Name Resolution**: Use device names (e.g., "iPhone 16 Pro") instead of UDIDs - scripts resolve automatically.
|
|
294
|
+
|
|
295
|
+
**Batch Operations**: Many scripts support `--all` for all simulators or `--type iPhone` for device type filtering.
|
|
296
|
+
|
|
297
|
+
**Output Formats**: Default is concise human-readable output. Use `--json` for machine-readable output in CI/CD.
|
|
298
|
+
|
|
299
|
+
**Help**: All scripts support `--help` for detailed options and examples.
|
|
300
|
+
|
|
301
|
+
**Screenshot Sizing**: Screenshots are resized to save tokens. Presets: `full` (3-4 tiles, ~5K tokens), `half` (1 tile, ~1.6K tokens, default), `quarter` (1 tile, ~800 tokens, less detail). Use `quarter` for quick visual checks, `half` for readable UI, `full` only when pixel-level detail matters. Scripts that capture screenshots (`app_state_capture.py`, `test_recorder.py`) default to `half`.
|
|
302
|
+
|
|
303
|
+
## Typical Workflow
|
|
304
|
+
|
|
305
|
+
1. Verify environment: `bash scripts/sim_health_check.sh`
|
|
306
|
+
2. Launch app: `python scripts/app_launcher.py --launch com.example.app`
|
|
307
|
+
3. Analyze screen: `python scripts/screen_mapper.py`
|
|
308
|
+
4. Interact: `python scripts/navigator.py --find-text "Button" --tap`
|
|
309
|
+
5. Verify: `python scripts/accessibility_audit.py`
|
|
310
|
+
6. Debug if needed: `python scripts/app_state_capture.py --app-bundle-id com.example.app`
|
|
311
|
+
|
|
312
|
+
## Configuration
|
|
313
|
+
|
|
314
|
+
Most operational limits can be tuned via environment variables. Defaults work for typical local development; raise them for slow CI runners, large monorepo builds, or accessibility audits on complex screens.
|
|
315
|
+
|
|
316
|
+
| Variable | Default | Controls |
|
|
317
|
+
|---|---|---|
|
|
318
|
+
| `IOS_SIM_A11Y_LABEL_MAX` | `80` | Max chars of `AXLabel` retained in accessibility audit output |
|
|
319
|
+
| `IOS_SIM_A11Y_TOP_ISSUES` | `10` | Top accessibility issues surfaced per audit |
|
|
320
|
+
| `IOS_SIM_APPS_PREVIEW` | `30` | App entries listed by `app_launcher.py` before truncation |
|
|
321
|
+
| `IOS_SIM_BOOT_SUBPROCESS_TIMEOUT` | `60` | Timeout for the `simctl boot` subprocess itself (seconds) |
|
|
322
|
+
| `IOS_SIM_BOOT_TIMEOUT` | `300` | Wait-for-ready timeout after boot (seconds) |
|
|
323
|
+
| `IOS_SIM_BUILD_JSON_CAP` | `50` | Max build errors / failed tests in JSON output |
|
|
324
|
+
| `IOS_SIM_BUILD_LOG_PREVIEW` | `4000` | Chars of build log preview in default output |
|
|
325
|
+
| `IOS_SIM_BUILD_TIMEOUT` | `1800` | Max seconds for an `xcodebuild build` invocation before kill |
|
|
326
|
+
| `IOS_SIM_INTROSPECT_TIMEOUT` | `60` | Timeout for `xcodebuild -list` and `simctl list` lookups (seconds) |
|
|
327
|
+
| `IOS_SIM_TEST_TIMEOUT` | `2700` | Max seconds for an `xcodebuild test` invocation before kill |
|
|
328
|
+
| `IOS_SIM_BUILD_SUMMARY_CAP` | `15` | Errors/failures in default build summary |
|
|
329
|
+
| `IOS_SIM_BUILD_VERBOSE_CAP` | `100` | Errors/warnings in verbose build output |
|
|
330
|
+
| `IOS_SIM_CACHE_MAX_ENTRIES` | `500` | Max entries in progressive disclosure cache (LRU eviction) |
|
|
331
|
+
| `IOS_SIM_CACHE_TTL_HOURS` | `1` | Cache entry expiration |
|
|
332
|
+
| `IOS_SIM_ERASE_TIMEOUT` | `90` | Wait-for-erase timeout (seconds) |
|
|
333
|
+
| `IOS_SIM_HANG_PREDICATE` | _(default)_ | Override the `os_log` predicate used by `hang_watcher.py` (default catches RunningBoard kills + "Hang detected" + main-thread hangs). Hang events originate from system daemons (RunningBoard, SpringBoard) so the predicate stays simulator-global — `--bundle-id` is applied post-parse, not ANDed in. |
|
|
334
|
+
| `IOS_SIM_HANG_MIN_MS` | `250` | HangBuster threshold — events below this duration never reach disk (smaller = more sensitive, larger summaries) |
|
|
335
|
+
| `IOS_SIM_HANG_SESSION_TTL_HOURS` | `24` | HangBuster session prune age; pruning runs on every `--start` |
|
|
336
|
+
| `IOS_SIM_HANG_DEFAULT_TOP_N` | `3` | Default top-N clusters in `--stop` L1 output |
|
|
337
|
+
| `IOS_SIM_HANG_BUDGET_TOKENS` | _(unset)_ | Default token budget for `--stop` (picks L0/L1/L2 to fit) |
|
|
338
|
+
| `IOS_SIM_HANG_MAX_RESTARTS` | `3` | HangBuster worker: max `log stream` respawn attempts on EOF/subprocess death before the session is marked `crashed` |
|
|
339
|
+
| `IOS_SIM_HANG_TOTAL_CAP_MB` | `100` | HangBuster aggregate disk cap. When total session-state exceeds this on `--start`, oldest sessions are dropped first. Set to `0` to disable. |
|
|
340
|
+
| `IOS_SIM_LOG_JSON_CAP` | `100` | Max errors/warnings in `log_monitor.py` JSON output |
|
|
341
|
+
| `IOS_SIM_LOG_LINE_MAX` | `300` | Per-line truncation in log summaries |
|
|
342
|
+
| `IOS_SIM_LOG_TAIL` | `200` | Lines of log tail in verbose / sample output |
|
|
343
|
+
| `IOS_SIM_LOG_TEXT_SUMMARY` | `15` | Errors/warnings shown in text-mode log summary |
|
|
344
|
+
| `IOS_SIM_MAX_ELEMENTS` | `25` | Tappable elements listed by `navigator.py` |
|
|
345
|
+
| `IOS_SIM_POLL_INTERVAL` | `0.5` | Boot/erase state polling interval (seconds) |
|
|
346
|
+
| `IOS_SIM_RELAUNCH_DELAY_MS` | `1000` | Delay between terminate and re-launch in `app_launcher.py` |
|
|
347
|
+
| `IOS_SIM_SCREEN_BUTTONS_PREVIEW` | `15` | Button names listed by `screen_mapper.py` |
|
|
348
|
+
| `IOS_SIM_SCREEN_SECTION_ITEMS` | `10` | Items per section shown by `screen_mapper.py` |
|
|
349
|
+
| `IOS_SIM_STATE_SUBPROCESS_TIMEOUT` | `15` | Subprocess timeout in `app_state_capture.py` (seconds) |
|
|
350
|
+
| `IOS_SIM_TAP_SETTLE_MS` | `500` | Post-tap settle delay in `navigator.py` |
|
|
351
|
+
|
|
352
|
+
Example:
|
|
353
|
+
|
|
354
|
+
```bash
|
|
355
|
+
# Slow GitHub Actions runner: give boot 10 minutes
|
|
356
|
+
IOS_SIM_BOOT_TIMEOUT=600 python scripts/simctl_boot.py --wait-ready
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
## Requirements
|
|
360
|
+
|
|
361
|
+
- macOS 12+
|
|
362
|
+
- Xcode Command Line Tools
|
|
363
|
+
- Python 3
|
|
364
|
+
- IDB (optional, for interactive features)
|
|
365
|
+
|
|
366
|
+
## Documentation
|
|
367
|
+
|
|
368
|
+
- **SKILL.md** (this file) - Script reference and quick start
|
|
369
|
+
- **README.md** - Installation and examples
|
|
370
|
+
- **CLAUDE.md** - Architecture and implementation details
|
|
371
|
+
- **references/** - Deep documentation on specific topics
|
|
372
|
+
- **examples/** - Complete automation workflows
|
|
373
|
+
|
|
374
|
+
## Key Design Principles
|
|
375
|
+
|
|
376
|
+
**Semantic Navigation**: Find elements by meaning (text, type, ID) not pixel coordinates. Survives UI changes.
|
|
377
|
+
|
|
378
|
+
**Token Efficiency**: Concise default output (3-5 lines) with optional verbose and JSON modes for detailed results.
|
|
379
|
+
|
|
380
|
+
**Accessibility-First**: Built on standard accessibility APIs for reliability and compatibility.
|
|
381
|
+
|
|
382
|
+
**Zero Configuration**: Works immediately on any macOS with Xcode. No setup required.
|
|
383
|
+
|
|
384
|
+
**Structured Data**: Scripts output JSON or formatted text, not raw logs. Easy to parse and integrate.
|
|
385
|
+
|
|
386
|
+
**Auto-Learning**: Build system remembers your device preference. Configuration stored per-project.
|
|
387
|
+
|
|
388
|
+
---
|
|
389
|
+
|
|
390
|
+
Use these scripts directly or let Claude Code invoke them automatically when your request matches the skill description.
|