[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73966CMJ76BWEYC7XZWM8S5":3,"skill-same:01M73966CMJ76BWEYC7XZWM8S5":70},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":55,"install":56,"resources":69},"01M73966CMJ76BWEYC7XZWM8S5","maestro-mobile-testing",null,"Maestro mobile E2E testing patterns for React Native\u002FExpo apps: YAML test flows, testID selectors, adaptive auth state, optimistic update verification, GraalJS scripting, cross-platform stability, CI\u002FCD integration, Maestro Cloud, and MCP server integration","Daisuke134\u002Fanicca-products","Daisuke134","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F140220114?v=4","01M7390DDRRWCFY23XFNZJX1WC","Daisuke Narita","01M7390DEWE1ADK4RG1WESQJP6",2,"MIT","https:\u002F\u002Fgithub.com\u002FDaisuke134\u002Fanicca-products\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmaestro-mobile-testing\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: maestro-mobile-testing\ndescription: \"Maestro mobile E2E testing patterns for React Native\u002FExpo apps: YAML test flows, testID selectors, adaptive auth state, optimistic update verification, GraalJS scripting, cross-platform stability, CI\u002FCD integration, Maestro Cloud, and MCP server integration\"\nversion: 1.1.0\ncategory: toolchain\nauthor: tovimx\nlicense: MIT\nprogressive_disclosure:\n  entry_point:\n    summary: \"Write reliable Maestro mobile E2E tests with declarative YAML flows, testID selectors, auth-aware adaptive patterns, and optimistic update verification\"\n    when_to_use: \"When writing mobile E2E tests, debugging flaky flows, testing authentication, verifying optimistic updates, capturing screenshots, or setting up Maestro CI for React Native\u002FExpo apps\"\n    quick_start: \"1. Install Maestro CLI 2. Add testID props to components 3. Write YAML flows with testID selectors 4. Use auth-loaded pre-flight pattern 5. Start mock API server for backend-dependent tests 6. Run with maestro test\"\n  token_estimate:\n    entry: 150\n    full: 9000\ncontext_limit: 900\ntags:\n  - react-native\n  - expo\n  - testing\n  - maestro\n  - e2e\n  - mobile\n  - ios\n  - android\n  - yaml\n  - ci-cd\n  - mcp\nrequires_tools: []\n---\n\n# Maestro Mobile E2E Testing\n\n## Overview\n\nMaestro is a declarative YAML-based mobile E2E testing framework. It provides automatic waiting, built-in retry logic, and fast execution without boilerplate. It's more stable than Detox or Appium for React Native apps.\n\n### Key Features\n\n- **Declarative YAML** — no imperative test code, just steps\n- **Automatic waiting** — no manual `sleep()` or flaky waits\n- **Built-in retry** — reduces test flakiness\n- **Fast execution** — runs quickly without setup overhead\n- **Maestro Studio** — interactive test builder (`maestro studio`)\n- **Sub-flows** — reusable YAML sequences for DRY tests\n- **JavaScript scripting** — GraalJS runtime for HTTP calls and data manipulation\n- **Maestro Cloud** — real device testing in CI without local simulators\n\n## Quick Start\n\n### Install\n\n```bash\ncurl -Ls \"https:\u002F\u002Fget.maestro.mobile.dev\" | bash\nbrew install openjdk@17\nexport JAVA_HOME=\u002Fopt\u002Fhomebrew\u002Fopt\u002Fopenjdk@17\u002Flibexec\u002Fopenjdk.jdk\u002FContents\u002FHome\n```\n\n### Minimal test\n\n```yaml\nappId: com.myapp\n---\n- launchApp\n- tapOn:\n    id: \"my-button\"\n- assertVisible: \"Expected Text\"\n```\n\n### Run\n\n```bash\nmaestro test .maestro\u002Fsmoke-test.yaml\nmaestro test --debug .maestro\u002Fsmoke-test.yaml  # step through\nmaestro studio                                  # interactive builder\n```\n\n---\n\n## Core Patterns\n\n### 1. Selector Strategy: testID vs Text\n\nChoose your selector approach based on project context. Both are valid — the right choice depends on whether your app is localized and your team's testing philosophy.\n\n| Context | Recommended Selector | Rationale |\n|---------|---------------------|-----------|\n| **Multi-language \u002F i18n** | `id:` (testID) | Stable across translations |\n| **Single language** | Text labels | Human-readable, self-documenting tests |\n| **Agent-maintained tests** | Either — ask the developer | Readability matters less for AI-maintained flows |\n| **System dialogs** | Text (always) | No testID possible on native alerts |\n\n```yaml\n# testID selector — stable across translations\n- tapOn:\n    id: \"submit-button\"\n\n# Text selector — human-readable, self-documenting\n- tapOn: \"Submit\"\n```\n\n**When to prefer testIDs:**\n- App supports multiple languages or will be translated\n- UI text is dynamic or frequently changes\n- Multiple elements share the same visible text\n\n**When to prefer text selectors:**\n- Single-language app with stable copy\n- Readability and self-documentation are a priority\n- Testing user-visible behavior exactly as it appears\n\nIn React Native, add `testID` props when using ID-based selectors:\n\n```tsx\n\u003CTouchableOpacity testID=\"submit-button\" onPress={handleSubmit}>\n  \u003CText>{t('submit')}\u003C\u002FText>\n\u003C\u002FTouchableOpacity>\n```\n\n### testID Naming Convention\n\nWhen using ID-based selectors:\n\n```\n{component}-{action\u002Ftype}[-{variant}]\n\nExamples:\n- auth-prompt-login-button\n- product-card-{id}\n- otp-input-0\n- tab-home\n- dashboard-loading\n```\n\n### 2. Auth Pre-Flight Pattern\n\nPrevent race conditions where Maestro interacts with the UI before auth state resolves. Add a zero-size `auth-loaded` marker that only renders when auth loading completes:\n\n```tsx\n\u002F\u002F In your tab bar or root layout\n{!isLoading && \u003CView testID=\"auth-loaded\" style={{ width: 0, height: 0 }} \u002F>}\n```\n\nThen in every test:\n\n```yaml\n- launchApp\n\n# Prevent XCTest crash on cold boot (iOS)\n- swipe:\n    direction: DOWN\n    duration: 100\n\n# Wait for auth state to resolve\n- extendedWaitUntil:\n    visible:\n      id: \"auth-loaded\"\n    timeout: 15000\n\n# Now safe to interact\n- tapOn:\n    id: \"tab-home\"\n```\n\n### 3. Adaptive Tests (Handle Both Auth States)\n\nTests should work regardless of whether the user is authenticated:\n\n```yaml\n# Auth flow — only runs if login prompt is visible\n- runFlow:\n    when:\n      visible: \"Sign In\"\n    file: flows\u002Fauth-flow.yaml\n\n# Already authenticated — proceed directly\n- runFlow:\n    when:\n      visible:\n        id: \"tab-home\"\n    file: flows\u002Fauthenticated-action.yaml\n```\n\n### 4. Testing Optimistic Updates\n\nUse short timeouts to verify UI changes happen before server response:\n\n```yaml\n# Trigger mutation\n- tapOn:\n    id: \"action-button\"\n\n# OPTIMISTIC: UI must change within 3s (not waiting for server)\n- extendedWaitUntil:\n    visible:\n      id: \"undo-button\"\n    timeout: 3000\n\n# Verify derived UI state\n- extendedWaitUntil:\n    visible:\n      id: \"user-indicator\"\n    timeout: 5000\n```\n\n| Action | Expected Change | Timeout |\n|--------|----------------|---------|\n| Mutation trigger | Button state flips | \u003C 3s |\n| List update | Item appears\u002Fdisappears | \u003C 5s |\n| Re-do action | Proves persistence | \u003C 3s |\n\n### 5. Dismissing Native Alerts\n\nReact Native `Alert.alert()` creates native dialogs that block the UI:\n\n```yaml\n- tapOn:\n    id: \"action-button\"\n\n# Wait for expected state change first\n- extendedWaitUntil:\n    visible:\n      id: \"new-state-element\"\n    timeout: 5000\n\n# Dismiss alert (optional in case it already closed)\n- tapOn:\n    text: \"OK\"\n    optional: true\n\n# Brief delay for alert animation\n- swipe:\n    direction: DOWN\n    duration: 300\n```\n\n### 6. Sub-Flows for Reusability\n\nBreak repeated sequences into sub-flow files:\n\n```\n.maestro\u002F\n├── flows\u002F\n│   ├── auth-and-return.yaml\n│   ├── complete-purchase.yaml\n│   └── verify-result.yaml\n├── smoke-test.yaml\n└── feature-test.yaml\n```\n\n```yaml\n# In main test\n- runFlow:\n    file: flows\u002Fauth-and-return.yaml\n```\n\n### 7. Deep Links (Expo)\n\nUse the Expo scheme from `app.json`, not the bundle ID:\n\n```yaml\n# WRONG\n- openLink: \"com.myapp:\u002F\u002Fprofile\u002Fsettings\"\n\n# CORRECT\n- openLink: \"myapp:\u002F\u002Fprofile\u002Fsettings\"\n```\n\nDeep links must be registered in your app's deep link handler. Unregistered routes silently fail.\n\n### 8. Platform-Specific Logic\n\n```yaml\n- runFlow:\n    when:\n      platform: ios\n    file: flows\u002Fios-specific.yaml\n\n- runFlow:\n    when:\n      platform: android\n    file: flows\u002Fandroid-specific.yaml\n```\n\n### 9. Environment Variables\n\n```yaml\nappId: com.myapp\nenv:\n  TEST_EMAIL: maestro-test@example.com\n  API_BASE_URL: http:\u002F\u002Flocalhost:3000\n---\n- inputText: ${TEST_EMAIL}\n```\n\n### 10. Selector State Properties\n\nUse `enabled`, `selected`, `checked`, and `focused` to target elements by their current state. This is useful for validating interactive element states before or after actions.\n\n```yaml\n# Only tap the submit button if it's enabled\n- tapOn:\n    id: \"submit-button\"\n    enabled: true\n\n# Assert a checkbox is checked\n- assertVisible:\n    id: \"terms-checkbox\"\n    checked: true\n\n# Wait for an input to be focused\n- extendedWaitUntil:\n    visible:\n      id: \"email-input\"\n      focused: true\n    timeout: 3000\n```\n\n| Property | Values | Use Case |\n|----------|--------|----------|\n| `enabled` | `true` \u002F `false` | Buttons that disable during submission or until form is valid |\n| `checked` | `true` \u002F `false` | Checkboxes, toggle switches |\n| `selected` | `true` \u002F `false` | Tab items, segmented controls |\n| `focused` | `true` \u002F `false` | Input fields with auto-focus |\n\n### 11. Relative Position Selectors\n\nDistinguish between similar elements by their spatial relationship to other elements. This is more idiomatic and resilient than index-based selection.\n\n```yaml\n# BAD — fragile, breaks if order changes\n- tapOn:\n    text: \"Add to Basket\"\n    index: 1\n\n# GOOD — contextual, self-documenting\n- tapOn:\n    text: \"Add to Basket\"\n    below:\n      text: \"Awesome Shoes\"\n```\n\nAvailable relative selectors:\n\n```yaml\n# Target element below another\n- tapOn:\n    text: \"Buy Now\"\n    below: \"Product Title\"\n\n# Target element that is a child of a parent\n- tapOn:\n    text: \"Delete\"\n    childOf:\n      id: \"item-card-42\"\n\n# Target a parent that contains a specific child\n- tapOn:\n    containsChild: \"Urgent\"\n\n# Target by multiple descendants\n- tapOn:\n    containsDescendants:\n      - id: title_id\n        text: \"Specific Title\"\n      - \"Another descendant text\"\n\n# Horizontal positioning\n- tapOn:\n    text: \"Edit\"\n    rightOf: \"Username\"\n```\n\n| Selector | Meaning |\n|----------|---------|\n| `below:` | Element is positioned below the referenced element |\n| `above:` | Element is positioned above the referenced element |\n| `leftOf:` | Element is to the left of the referenced element |\n| `rightOf:` | Element is to the right of the referenced element |\n| `childOf:` | Element is a direct child of the referenced parent |\n| `containsChild:` | Element contains a direct child matching the reference |\n| `containsDescendants:` | Element contains all specified descendant elements |\n\n---\n\n## Authentication Testing\n\n### Architecture\n\nTesting OTP or magic-link authentication in E2E requires capturing emails programmatically. The general pattern:\n\n```\n┌─────────────┐     ┌──────────────┐     ┌─────────────────┐\n│  Maestro    │────▶│  Auth        │────▶│  Email Capture  │\n│  Test       │     │  Provider    │     │  Service        │\n└─────────────┘     └──────────────┘     └─────────────────┘\n       │                                        │\n       │         ┌──────────────────────────────┘\n       │         ▼\n       │   ┌─────────────┐\n       └──▶│  REST API   │ ─── GET \u002Fapi\u002Fv1\u002Fmessages\n           │  (email)    │ ─── Extract OTP code\n           └─────────────┘\n```\n\nCommon email capture services: [Mailpit](https:\u002F\u002Fgithub.com\u002Faxllent\u002Fmailpit), [MailHog](https:\u002F\u002Fgithub.com\u002Fmailhog\u002FMailHog), [Ethereal](https:\u002F\u002Fethereal.email\u002F).\n\n### OTP Fetch Script\n\nFetch OTP codes from your email capture service using Maestro's GraalJS runtime:\n\n```javascript\n\u002F\u002F CRITICAL: Maestro uses GraalJS — NO async\u002Fawait, NO fetch()\nvar email = typeof EMAIL !== \"undefined\" ? EMAIL : \"test@example.com\";\nvar emailServiceUrl = typeof EMAIL_SERVICE_URL !== \"undefined\"\n  ? EMAIL_SERVICE_URL : \"http:\u002F\u002Flocalhost:8025\";\n\nvar response = http.get(emailServiceUrl + \"\u002Fapi\u002Fv1\u002Fmessages\");\nif (!response.ok) {\n  throw new Error(\"Failed to fetch emails: \" + response.status);\n}\n\nvar data = json(response.body);\n\u002F\u002F Find the latest email and extract OTP code\nvar body = data.messages[0].Content.Body;\nvar match = body.match(\u002F(\\d{6})\u002F);\noutput.OTP_CODE = match[1];\n```\n\n### OTP Input Strategy\n\nOTP components with auto-focus need individual digit entry. Tap each input before typing:\n\n```yaml\n# Split OTP into digits via helper script\n- runScript:\n    file: scripts\u002Fsplit-otp.js\n    env:\n      OTP_CODE: ${output.OTP_CODE}\n\n# Enter each digit by tapping its input\n- tapOn:\n    id: \"otp-input-0\"\n- inputText: ${output.OTP_0}\n\n- tapOn:\n    id: \"otp-input-1\"\n- inputText: ${output.OTP_1}\n# ... repeat for all digits\n```\n\n> For provider-specific implementations (Supabase + Mailpit, Firebase Auth, Auth0), create a project-level skill that extends this one.\n\n---\n\n## GraalJS Script Rules\n\nMaestro uses the GraalJS runtime. These constraints are non-negotiable:\n\n| Feature | Status |\n|---------|--------|\n| `async\u002Fawait` | **NOT supported** |\n| `fetch()` | **NOT supported** |\n| `http.get()`, `http.post()` | Use these instead |\n| `json()` | Use to parse response bodies |\n| `output.VAR` | Set variables for use in YAML flow |\n| `var` declarations | Required (use `var`, not `const`\u002F`let` for safety) |\n\n```javascript\n\u002F\u002F Script template\nvar response = http.get(\"http:\u002F\u002Flocalhost:8025\u002Fapi\u002Fendpoint\");\nif (!response.ok) {\n  throw new Error(\"Request failed: \" + response.status);\n}\nvar data = json(response.body);\noutput.RESULT = data.value;\n```\n\n---\n\n## Critical Gotchas\n\n### clearState Does NOT Clear iOS Keychain\n\n`clearState: true` clears the app sandbox (UserDefaults, files, caches) but does **NOT** clear the iOS Keychain. Auth tokens stored via `expo-secure-store` (or any Keychain-based storage) persist across `clearState` resets and even app reinstalls.\n\n```yaml\n# WRONG — user may still be authenticated\n- launchApp:\n    clearState: true\n- assertVisible: \"Welcome\"  # Fails if Keychain has tokens\n\n# CORRECT — wait for auth resolution, then adapt\n- launchApp\n- extendedWaitUntil:\n    visible:\n      id: \"auth-loaded\"\n    timeout: 15000\n```\n\n**Rules:**\n- Never rely on `clearState` to produce guest state on iOS\n- For auth tests: skip `clearState`, use `auth-loaded` pre-flight\n- For guest tests: use adaptive flows that handle both states\n- Never assert guest-only UI after `clearState`\n\n**Note:** On Android, `clearState: true` fully resets app data including credentials. This is an iOS-only gotcha.\n\n### XCTest kAXErrorInvalidUIElement Crash (iOS)\n\nThe XCTest driver may crash if Maestro interacts with the accessibility tree before the first render cycle completes on cold boot.\n\n**Fix:** Add a no-op swipe immediately after `launchApp`:\n\n```yaml\n- launchApp\n- swipe:\n    direction: DOWN\n    duration: 100\n```\n\n### API Server Dependency\n\nMobile apps calling backend APIs on localhost need either the full server or a mock server running. Without it, all API-dependent screens show loading spinners or empty states (queries fail silently).\n\n**Fix:** Start a mock API server before running Maestro tests:\n\n```bash\n# Start mock server (serves canned responses on your API port)\nnpx tsx scripts\u002Fmock-api-server.ts &\n\n# Then run tests\nmaestro test .maestro\u002Fmy-test.yaml\n```\n\nCreate a lightweight mock that returns canned JSON for each endpoint your app calls. This is faster and more deterministic than running your full backend.\n\n### Auth-Aware Tab Bars\n\nTab bars that show different tabs for guest vs authenticated users will cause selector failures:\n\n| State | Typical Tabs |\n|-------|-------------|\n| Guest | home, search, cart, profile |\n| Auth | home, feed, create, messages, profile |\n\nOnly assert tabs that exist in both states, or use adaptive `when:` conditions.\n\n---\n\n## Test File Template\n\n```yaml\n# {Feature} {Action} Test\n#\n# Tests: {what this validates}\n# Prerequisites:\n# - Simulator\u002Femulator running with app installed\n# - Backend or mock server running (if API-dependent)\n\nappId: com.myapp\nenv:\n  TEST_EMAIL: maestro-{feature}@example.com\n  EMAIL_SERVICE_URL: http:\u002F\u002Flocalhost:8025\n---\n# ==========================================\n# STEP 1: LAUNCH + AUTH PRE-FLIGHT\n# ==========================================\n\n- launchApp\n\n- swipe:\n    direction: DOWN\n    duration: 100\n\n- extendedWaitUntil:\n    visible:\n      id: \"auth-loaded\"\n    timeout: 15000\n\n- takeScreenshot: 01-initial-state\n\n# ==========================================\n# STEP 2: {ACTION}\n# ==========================================\n\n- tapOn:\n    id: \"target-element\"\n\n# ==========================================\n# STEP 3: VERIFY\n# ==========================================\n\n- extendedWaitUntil:\n    visible:\n      id: \"expected-result\"\n    timeout: 5000\n\n- takeScreenshot: 02-final-state\n```\n\n---\n\n## Folder Structure\n\n```\n.maestro\u002F\n├── README.md                    # Quick reference + testID inventory\n├── config.yaml                  # Shared configuration\n├── flows\u002F                       # Reusable sub-flows\n│   ├── auth-and-return.yaml\n│   ├── complete-action.yaml\n│   └── verify-result.yaml\n├── scripts\u002F                     # GraalJS helpers\n│   ├── fetch-otp.js\n│   └── split-otp.js\n├── smoke-test.yaml              # Guest navigation\n├── auth-signin.yaml             # OTP sign-in flow\n├── feature-screenshots.yaml     # Screenshot capture flows\n└── feature-action.yaml          # Feature-specific tests\n\nscripts\u002F\n├── mock-api-server.ts           # Lightweight mock for E2E\n└── run-e2e.sh                   # Orchestration script\n```\n\n### Naming Conventions\n\n| Type | Pattern | Example |\n|------|---------|---------|\n| Main test | `{feature}-{action}.yaml` | `checkout-purchase.yaml` |\n| Sub-flow | `{action}-{context}.yaml` | `auth-and-return-to-dashboard.yaml` |\n| Script | `{verb}-{noun}.js` | `fetch-otp.js` |\n\n---\n\n## Infrastructure\n\n### Mock Server for API-Dependent Tests\n\nCreate a lightweight mock server that serves canned responses for your API layer. This is faster and more deterministic than running your full backend during E2E tests.\n\n```bash\n# Start mock server before running Maestro tests\nnpx tsx scripts\u002Fmock-api-server.ts &\n```\n\n### Orchestration Script\n\nAutomate the full E2E setup with a shell script that:\n1. Starts backend services (database, auth)\n2. Seeds test data\n3. Starts mock API server\n4. Runs Maestro tests\n5. Cleans up all services\n\n```bash\nbash scripts\u002Frun-e2e.sh\n```\n\n### Seed Data\n\nTests that depend on specific data require seeded databases. Keep seed scripts alongside your test infrastructure and run them before each test suite.\n\n---\n\n## Android-Specific Patterns\n\n### Emulator Setup\n\nAndroid tests require an emulator or a USB-connected physical device. Maestro auto-detects connected devices.\n\n```bash\n# List available system images\nsdkmanager --list | grep system-images\n\n# Create emulator\navdmanager create avd -n maestro_test \\\n  -k \"system-images;android-34;google_apis;arm64-v8a\"\n\n# Start emulator\nemulator -avd maestro_test\n```\n\n### iOS vs Android Differences\n\n| Aspect | iOS | Android |\n|--------|-----|---------|\n| Device type | Simulator only (no physical) | Emulator + physical via ADB |\n| `clearState` | Does NOT clear Keychain | Fully resets app data |\n| Cold boot crash | XCTest kAXError (add swipe delay) | No equivalent issue |\n| Performance | Runs natively (fast) | ARM emulation (slower on x86) |\n| Permission dialogs | System alerts | System dialogs with different text |\n\n### ADB Debugging\n\n```bash\nadb devices                                    # List connected devices\nadb shell am start -n com.myapp\u002F.MainActivity  # Launch app\nadb logcat | grep Maestro                      # Filter Maestro logs\nadb shell input keyevent 82                    # Unlock screen\n```\n\n### Android Permission Handling\n\nAndroid permissions appear as system dialogs. Dismiss with optional taps:\n\n```yaml\n- tapOn:\n    text: \"Allow\"\n    optional: true\n\n- tapOn:\n    text: \"While using the app\"\n    optional: true\n```\n\n---\n\n## CI\u002FCD Integration\n\n### GitHub Actions with Maestro Cloud\n\nMaestro Cloud provides real devices in CI without local simulators. Use the official action:\n\n```yaml\nname: Mobile E2E Tests\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\njobs:\n  maestro-e2e:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      # Build Android APK\n      - uses: actions\u002Fsetup-java@v4\n        with:\n          java-version: '17'\n          distribution: 'temurin'\n\n      - name: Build Android APK\n        run: |\n          cd apps\u002Fmobile\n          npx expo prebuild --platform android --no-install\n          cd android && .\u002Fgradlew assembleRelease\n\n      - name: Run Maestro Cloud Tests\n        id: maestro\n        uses: mobile-dev-inc\u002Faction-maestro-cloud@v2\n        with:\n          api-key: ${{ secrets.MAESTRO_API_KEY }}\n          app-file: apps\u002Fmobile\u002Fandroid\u002Fapp\u002Fbuild\u002Foutputs\u002Fapk\u002Frelease\u002Fapp-release.apk\n          workspace: .maestro\n          include-tags: ci\n\n      # Access results\n      # ${{ steps.maestro.outputs.MAESTRO_CLOUD_CONSOLE_URL }}\n      # ${{ steps.maestro.outputs.MAESTRO_CLOUD_UPLOAD_STATUS }}\n      # ${{ steps.maestro.outputs.MAESTRO_CLOUD_FLOW_RESULTS }}\n```\n\n### Tag-Based Flow Filtering\n\nUse tags to control which tests run in CI vs locally:\n\n```yaml\n# In your flow file header\nappId: com.myapp\ntags:\n  - ci\n  - smoke\n---\n- launchApp\n# ... test steps\n```\n\n```bash\n# Run only CI-tagged flows locally\nmaestro test --include-tags ci .maestro\u002F\n\n# Exclude work-in-progress flows\nmaestro test --exclude-tags wip .maestro\u002F\n```\n\n### Local CI with Docker (Android Only)\n\n```dockerfile\nFROM openjdk:17-slim\n\nRUN curl -Ls \"https:\u002F\u002Fget.maestro.mobile.dev\" | bash\nENV PATH=\"\u002Froot\u002F.maestro\u002Fbin:${PATH}\"\n\nCOPY .maestro\u002F \u002Fapp\u002F.maestro\u002F\nWORKDIR \u002Fapp\n\nCMD [\"maestro\", \"test\", \".maestro\u002F\"]\n```\n\n**Note:** iOS tests cannot run in Docker (requires macOS). Use Maestro Cloud for iOS in CI.\n\n---\n\n## Maestro Cloud\n\n[Maestro Cloud](https:\u002F\u002Fcloud.maestro.dev\u002F) runs tests on real devices without local simulator setup.\n\n### Setup\n\n1. Create account at cloud.maestro.dev\n2. Generate API key from dashboard\n3. Store as `MAESTRO_API_KEY` secret in your CI provider\n\n### Running from CLI\n\n```bash\n# Upload and run on Maestro Cloud\nmaestro cloud --api-key $MAESTRO_API_KEY \\\n  --app-file .\u002Fapp-release.apk \\\n  .maestro\u002F\n\n# With tag filtering\nmaestro cloud --api-key $MAESTRO_API_KEY \\\n  --app-file .\u002Fapp-release.apk \\\n  --include-tags smoke \\\n  .maestro\u002F\n```\n\n### Key Points\n\n- **iOS testing**: Supported on Maestro Cloud (not on local physical devices)\n- **Android testing**: Both local physical devices and Maestro Cloud\n- **Results**: Dashboard with video recordings, logs, and screenshots\n- **CI outputs**: `MAESTRO_CLOUD_CONSOLE_URL`, `MAESTRO_CLOUD_FLOW_RESULTS`\n\n---\n\n## Maestro MCP Server\n\nThe [Maestro MCP server](https:\u002F\u002Fdocs.maestro.dev\u002Fgetting-started\u002Fmaestro-mcp) exposes Maestro's full command set as Model Context Protocol tools, letting AI agents **execute tests and interact with devices directly** — not just write YAML.\n\n### How It Complements This Skill\n\n| | **This Skill** | **Maestro MCP** |\n|---|---|---|\n| **Role** | Teaches correct patterns | Provides runtime execution |\n| **Layer** | Authoring (write good YAML) | Execution (run, tap, assert, screenshot) |\n| **Output** | Better test files | Live device interaction |\n\nUse both together: this skill ensures the AI writes correct tests; the MCP lets it run them immediately, see failures, and iterate.\n\n### Setup\n\nThe MCP ships with the Maestro CLI — no extra install needed:\n\n```bash\n# Verify it's available\nmaestro mcp\n```\n\n**Claude Code** — add to project `.mcp.json` or global settings:\n\n```json\n{\n  \"mcpServers\": {\n    \"maestro\": {\n      \"command\": \"maestro\",\n      \"args\": [\"mcp\"]\n    }\n  }\n}\n```\n\n**Claude Desktop** — add to `~\u002FLibrary\u002FApplication Support\u002FClaude\u002Fclaude_desktop_config.json` (macOS):\n\n```json\n{\n  \"mcpServers\": {\n    \"maestro\": {\n      \"command\": \"maestro\",\n      \"args\": [\"mcp\"]\n    }\n  }\n}\n```\n\nAlso supported on Cursor, Windsurf, VS Code, and JetBrains IDEs. See the [Maestro MCP docs](https:\u002F\u002Fdocs.maestro.dev\u002Fgetting-started\u002Fmaestro-mcp) for IDE-specific setup.\n\n### Key Capabilities\n\nThe MCP server exposes 47 tools organized by category:\n\n| Category | Tools | Examples |\n|----------|-------|---------|\n| UI Interaction | tap, swipe, scroll, long press | `tapOn`, `scrollUntilVisible` |\n| Text Input | type, erase, paste, copy | `inputText`, `eraseText` |\n| Assertions | visibility, AI-powered | `assertVisible`, `assertWithAI` |\n| App Lifecycle | launch, stop, clear state | `launchApp`, `clearState` |\n| Device Control | location, orientation, airplane | `setLocation`, `hideKeyboard` |\n| Flow Control | run flows, repeat, eval scripts | `runFlow`, `evalScript` |\n| Media | screenshots, recording | `takeScreenshot`, `startRecording` |\n| AI-Powered | visual assertions, defect detection | `assertWithAI`, `assertNoDefectsWithAI` |\n\n### Write-Run-Fix Loop\n\nWith both this skill and the MCP active, the AI can:\n\n1. **Write** a test YAML using patterns from this skill\n2. **Run** it via MCP's `runFlow` \u002F `launchApp` + interaction tools\n3. **See** failures via screenshots and assertions\n4. **Fix** the YAML and re-run — all in one conversation\n\n---\n\n## Debugging\n\n```bash\nmaestro test --debug .maestro\u002Ftest.yaml   # Step through interactively\nmaestro record .maestro\u002Ftest.yaml          # Record as video\nmaestro studio                             # Interactive UI builder\nmaestro hierarchy                          # View element tree\n```\n\nScreenshots saved to `~\u002F.maestro\u002Ftests\u002F{timestamp}\u002F`.\n\n---\n\n## Checklist for New Tests\n\n```\n[ ] Unique test email (maestro-{feature}@example.com)\n[ ] Selector strategy chosen (testID for i18n apps, text for single-language — see Pattern 1)\n[ ] Selectors use state properties where relevant (enabled, checked — see Pattern 10)\n[ ] Similar elements distinguished with relative selectors, not index (see Pattern 11)\n[ ] Auth pre-flight pattern used (auth-loaded)\n[ ] Post-launch swipe added (iOS crash prevention)\n[ ] Both auth states handled (adaptive flows)\n[ ] Native alerts dismissed after mutations\n[ ] Short timeouts for optimistic updates (3-5s)\n[ ] Sub-flows created for reusable sequences\n[ ] Descriptive screenshots at key points\n[ ] Header comment with prerequisites\n[ ] Added to README.md test table\n[ ] Mock API server started if backend-dependent\n[ ] Tags added for CI filtering (ci, smoke, wip)\n```\n\n---\n\n## Common Errors\n\n| Error | Cause | Fix |\n|-------|-------|-----|\n| \"Unable to locate Java Runtime\" | Java not in PATH | `export JAVA_HOME=\u002Fopt\u002Fhomebrew\u002Fopt\u002Fopenjdk@17\u002F...` |\n| \"Element not found\" after tap | Native alert blocking | Add `tapOn: text: \"OK\" optional: true` |\n| OTP digits not entering | Auto-focus interference | Use individual `otp-input-N` testIDs |\n| Test passes but nothing happened | `optional: true` misused | Only use optional for truly optional actions |\n| \"Assertion is false\" on visibility | Element not rendered yet | Increase timeout or verify testID exists |\n| Script output empty | Wrong JS API | Use `http.get()` not `fetch()` |\n| Auth state inconsistent after clearState | iOS Keychain not cleared | Don't use `clearState`, use adaptive flows |\n| kAXErrorInvalidUIElement crash | Cold boot race (iOS) | Add post-launch swipe delay |\n| Loading spinners \u002F empty screens | No API server running | Start mock API server before tests |\n| Permission dialog blocking (Android) | System dialog not dismissed | Add `tapOn: text: \"Allow\" optional: true` |\n\n---\n\n## Resources\n\n- [Maestro Documentation](https:\u002F\u002Fdocs.maestro.dev\u002F)\n- [Maestro Selectors Reference](https:\u002F\u002Fdocs.maestro.dev\u002Fapi-reference\u002Fselectors)\n- [Maestro Cloud](https:\u002F\u002Fcloud.maestro.dev\u002F)\n- [Maestro MCP Server](https:\u002F\u002Fdocs.maestro.dev\u002Fgetting-started\u002Fmaestro-mcp)\n- [Maestro GitHub](https:\u002F\u002Fgithub.com\u002Fmobile-dev-inc\u002FMaestro)\n- [GraalJS HTTP Requests](https:\u002F\u002Fdocs.maestro.dev\u002Fadvanced\u002Fjavascript\u002Fmake-http-s-requests)\n- [Conditions & Adaptive Flows](https:\u002F\u002Fdocs.maestro.dev\u002Fadvanced\u002Fconditions)\n- [GitHub Actions Integration](https:\u002F\u002Fdocs.maestro.dev\u002Fcloud\u002Fci-integration\u002Fgithub-actions)\n- [BrowserStack: Maestro Testing Guide](https:\u002F\u002Fwww.browserstack.com\u002Fguide\u002Fmaestro-testing)\n- [DEV.to: Tips & Tricks for Maestro + React Native](https:\u002F\u002Fdev.to\u002Fretyui\u002Fbest-tips-tricks-for-e2e-maestro-with-react-native-2kaa)\n","# Maestro Mobile E2E Testing\n\n## Overview\n\nMaestro is a declarative YAML-based mobile E2E testing framework. It provides automatic waiting, built-in retry logic, and fast execution without boilerplate. It's more stable than Detox or Appium for React Native apps.\n\n### Key Features\n\n- **Declarative YAML** — no imperative test code, just steps\n- **Automatic waiting** — no manual `sleep()` or flaky waits\n- **Built-in retry** — reduces test flakiness\n- **Fast execution** — runs quickly without setup overhead\n- **Maestro Studio** — interactive test builder (`maestro studio`)\n- **Sub-flows** — reusable YAML sequences for DRY tests\n- **JavaScript scripting** — GraalJS runtime for HTTP calls and data manipulation\n- **Maestro Cloud** — real device testing in CI without local simulators\n\n## Quick Start\n\n### Install\n\n```bash\ncurl -Ls \"https:\u002F\u002Fget.maestro.mobile.dev\" | bash\nbrew install openjdk@17\nexport JAVA_HOME=\u002Fopt\u002Fhomebrew\u002Fopt\u002Fopenjdk@17\u002Flibexec\u002Fopenjdk.jdk\u002FContents\u002FHome\n```\n\n### Minimal test\n\n```yaml\nappId: com.myapp\n---\n- launchApp\n- tapOn:\n    id: \"my-button\"\n- assertVisible: \"Expected Text\"\n```\n\n### Run\n\n```bash\nmaestro test .maestro\u002Fsmoke-test.yaml\nmaestro test --debug .maestro\u002Fsmoke-test.yaml  # step through\nmaestro studio                                  # interactive builder\n```\n\n---\n\n## Core Patterns\n\n### 1. Selector Strategy: testID vs Text\n\nChoose your selector approach based on project context. Both are valid — the right choice depends on whether your app is localized and your team's testing philosophy.\n\n| Context | Recommended Selector | Rationale |\n|---------|---------------------|-----------|\n| **Multi-language \u002F i18n** | `id:` (testID) | Stable across translations |\n| **Single language** | Text labels | Human-readable, self-documenting tests |\n| **Agent-maintained tests** | Either — ask the developer | Readability matters less for AI-maintained flows |\n| **System dialogs** | Text (always) | No testID possible on native alerts |\n\n```yaml\n# testID selector — stable across translations\n- tapOn:\n    id: \"submit-button\"\n\n# Text selector — human-readable, self-documenting\n- tapOn: \"Submit\"\n```\n\n**When to prefer testIDs:**\n- App supports multiple languages or will be translated\n- UI text is dynamic or frequently changes\n- Multiple elements share the same visible text\n\n**When to prefer text selectors:**\n- Single-language app with stable copy\n- Readability and self-documentation are a priority\n- Testing user-visible behavior exactly as it appears\n\nIn React Native, add `testID` props when using ID-based selectors:\n\n```tsx\n\u003CTouchableOpacity testID=\"submit-button\" onPress={handleSubmit}>\n  \u003CText>{t('submit')}\u003C\u002FText>\n\u003C\u002FTouchableOpacity>\n```\n\n### testID Naming Convention\n\nWhen using ID-based selectors:\n\n```\n{component}-{action\u002Ftype}[-{variant}]\n\nExamples:\n- auth-prompt-login-button\n- product-card-{id}\n- otp-input-0\n- tab-home\n- dashboard-loading\n```\n\n### 2. Auth Pre-Flight Pattern\n\nPrevent race conditions where Maestro interacts with the UI before auth state resolves. Add a zero-size `auth-loaded` marker that only renders when auth loading completes:\n\n```tsx\n\u002F\u002F In your tab bar or root layout\n{!isLoading && \u003CView testID=\"auth-loaded\" style={{ width: 0, height: 0 }} \u002F>}\n```\n\nThen in every test:\n\n```yaml\n- launchApp\n\n# Prevent XCTest crash on cold boot (iOS)\n- swipe:\n    direction: DOWN\n    duration: 100\n\n# Wait for auth state to resolve\n- extendedWaitUntil:\n    visible:\n      id: \"auth-loaded\"\n    timeout: 15000\n\n# Now safe to interact\n- tapOn:\n    id: \"tab-home\"\n```\n\n### 3. Adaptive Tests (Handle Both Auth States)\n\nTests should work regardless of whether the user is authenticated:\n\n```yaml\n# Auth flow — only runs if login prompt is visible\n- runFlow:\n    when:\n      visible: \"Sign In\"\n    file: flows\u002Fauth-flow.yaml\n\n# Already authenticated — proceed directly\n- runFlow:\n    when:\n      visible:\n        id: \"tab-home\"\n    file: flows\u002Fauthenticated-action.yaml\n```\n\n### 4. Testing Optimistic Updates\n\nUse short timeouts to verify UI changes happen before server response:\n\n```yaml\n# Trigger mutation\n- tapOn:\n    id: \"action-button\"\n\n# OPTIMISTIC: UI must change within 3s (not waiting for server)\n- extendedWaitUntil:\n    visible:\n      id: \"undo-button\"\n    timeout: 3000\n\n# Verify derived UI state\n- extendedWaitUntil:\n    visible:\n      id: \"user-indicator\"\n    timeout: 5000\n```\n\n| Action | Expected Change | Timeout |\n|--------|----------------|---------|\n| Mutation trigger | Button state flips | \u003C 3s |\n| List update | Item appears\u002Fdisappears | \u003C 5s |\n| Re-do action | Proves persistence | \u003C 3s |\n\n### 5. Dismissing Native Alerts\n\nReact Native `Alert.alert()` creates native dialogs that block the UI:\n\n```yaml\n- tapOn:\n    id: \"action-button\"\n\n# Wait for expected state change first\n- extendedWaitUntil:\n    visible:\n      id: \"new-state-element\"\n    timeout: 5000\n\n# Dismiss alert (optional in case it already closed)\n- tapOn:\n    text: \"OK\"\n    optional: true\n\n# Brief delay for alert animation\n- swipe:\n    direction: DOWN\n    duration: 300\n```\n\n### 6. Sub-Flows for Reusability\n\nBreak repeated sequences into sub-flow files:\n\n```\n.maestro\u002F\n├── flows\u002F\n│   ├── auth-and-return.yaml\n│   ├── complete-purchase.yaml\n│   └── verify-result.yaml\n├── smoke-test.yaml\n└── feature-test.yaml\n```\n\n```yaml\n# In main test\n- runFlow:\n    file: flows\u002Fauth-and-return.yaml\n```\n\n### 7. Deep Links (Expo)\n\nUse the Expo scheme from `app.json`, not the bundle ID:\n\n```yaml\n# WRONG\n- openLink: \"com.myapp:\u002F\u002Fprofile\u002Fsettings\"\n\n# CORRECT\n- openLink: \"myapp:\u002F\u002Fprofile\u002Fsettings\"\n```\n\nDeep links must be registered in your app's deep link handler. Unregistered routes silently fail.\n\n### 8. Platform-Specific Logic\n\n```yaml\n- runFlow:\n    when:\n      platform: ios\n    file: flows\u002Fios-specific.yaml\n\n- runFlow:\n    when:\n      platform: android\n    file: flows\u002Fandroid-specific.yaml\n```\n\n### 9. Environment Variables\n\n```yaml\nappId: com.myapp\nenv:\n  TEST_EMAIL: maestro-test@example.com\n  API_BASE_URL: http:\u002F\u002Flocalhost:3000\n---\n- inputText: ${TEST_EMAIL}\n```\n\n### 10. Selector State Properties\n\nUse `enabled`, `selected`, `checked`, and `focused` to target elements by their current state. This is useful for validating interactive element states before or after actions.\n\n```yaml\n# Only tap the submit button if it's enabled\n- tapOn:\n    id: \"submit-button\"\n    enabled: true\n\n# Assert a checkbox is checked\n- assertVisible:\n    id: \"terms-checkbox\"\n    checked: true\n\n# Wait for an input to be focused\n- extendedWaitUntil:\n    visible:\n      id: \"email-input\"\n      focused: true\n    timeout: 3000\n```\n\n| Property | Values | Use Case |\n|----------|--------|----------|\n| `enabled` | `true` \u002F `false` | Buttons that disable during submission or until form is valid |\n| `checked` | `true` \u002F `false` | Checkboxes, toggle switches |\n| `selected` | `true` \u002F `false` | Tab items, segmented controls |\n| `focused` | `true` \u002F `false` | Input fields with auto-focus |\n\n### 11. Relative Position Selectors\n\nDistinguish between similar elements by their spatial relationship to other elements. This is more idiomatic and resilient than index-based selection.\n\n```yaml\n# BAD — fragile, breaks if order changes\n- tapOn:\n    text: \"Add to Basket\"\n    index: 1\n\n# GOOD — contextual, self-documenting\n- tapOn:\n    text: \"Add to Basket\"\n    below:\n      text: \"Awesome Shoes\"\n```\n\nAvailable relative selectors:\n\n```yaml\n# Target element below another\n- tapOn:\n    text: \"Buy Now\"\n    below: \"Product Title\"\n\n# Target element that is a child of a parent\n- tapOn:\n    text: \"Delete\"\n    childOf:\n      id: \"item-card-42\"\n\n# Target a parent that contains a specific child\n- tapOn:\n    containsChild: \"Urgent\"\n\n# Target by multiple descendants\n- tapOn:\n    containsDescendants:\n      - id: title_id\n        text: \"Specific Title\"\n      - \"Another descendant text\"\n\n# Horizontal positioning\n- tapOn:\n    text: \"Edit\"\n    rightOf: \"Username\"\n```\n\n| Selector | Meaning |\n|----------|---------|\n| `below:` | Element is positioned below the referenced element |\n| `above:` | Element is positioned above the referenced element |\n| `leftOf:` | Element is to the left of the referenced element |\n| `rightOf:` | Element is to the right of the referenced element |\n| `childOf:` | Element is a direct child of the referenced parent |\n| `containsChild:` | Element contains a direct child matching the reference |\n| `containsDescendants:` | Element contains all specified descendant elements |\n\n---\n\n## Authentication Testing\n\n### Architecture\n\nTesting OTP or magic-link authentication in E2E requires capturing emails programmatically. The general pattern:\n\n```\n┌─────────────┐     ┌──────────────┐     ┌─────────────────┐\n│  Maestro    │────▶│  Auth        │────▶│  Email Capture  │\n│  Test       │     │  Provider    │     │  Service        │\n└─────────────┘     └──────────────┘     └─────────────────┘\n       │                                        │\n       │         ┌──────────────────────────────┘\n       │         ▼\n       │   ┌─────────────┐\n       └──▶│  REST API   │ ─── GET \u002Fapi\u002Fv1\u002Fmessages\n           │  (email)    │ ─── Extract OTP code\n           └─────────────┘\n```\n\nCommon email capture services: [Mailpit](https:\u002F\u002Fgithub.com\u002Faxllent\u002Fmailpit), [MailHog](https:\u002F\u002Fgithub.com\u002Fmailhog\u002FMailHog), [Ethereal](https:\u002F\u002Fethereal.email\u002F).\n\n### OTP Fetch Script\n\nFetch OTP codes from your email capture service using Maestro's GraalJS runtime:\n\n```javascript\n\u002F\u002F CRITICAL: Maestro uses GraalJS — NO async\u002Fawait, NO fetch()\nvar email = typeof EMAIL !== \"undefined\" ? EMAIL : \"test@example.com\";\nvar emailServiceUrl = typeof EMAIL_SERVICE_URL !== \"undefined\"\n  ? EMAIL_SERVICE_URL : \"http:\u002F\u002Flocalhost:8025\";\n\nvar response = http.get(emailServiceUrl + \"\u002Fapi\u002Fv1\u002Fmessages\");\nif (!response.ok) {\n  throw new Error(\"Failed to fetch emails: \" + response.status);\n}\n\nvar data = json(response.body);\n\u002F\u002F Find the latest email and extract OTP code\nvar body = data.messages[0].Content.Body;\nvar match = body.match(\u002F(\\d{6})\u002F);\noutput.OTP_CODE = match[1];\n```\n\n### OTP Input Strategy\n\nOTP components with auto-focus need individual digit entry. Tap each input before typing:\n\n```yaml\n# Split OTP into digits via helper script\n- runScript:\n    file: scripts\u002Fsplit-otp.js\n    env:\n      OTP_CODE: ${output.OTP_CODE}\n\n# Enter each digit by tapping its input\n- tapOn:\n    id: \"otp-input-0\"\n- inputText: ${output.OTP_0}\n\n- tapOn:\n    id: \"otp-input-1\"\n- inputText: ${output.OTP_1}\n# ... repeat for all digits\n```\n\n> For provider-specific implementations (Supabase + Mailpit, Firebase Auth, Auth0), create a project-level skill that extends this one.\n\n---\n\n## GraalJS Script Rules\n\nMaestro uses the GraalJS runtime. These constraints are non-negotiable:\n\n| Feature | Status |\n|---------|--------|\n| `async\u002Fawait` | **NOT supported** |\n| `fetch()` | **NOT supported** |\n| `http.get()`, `http.post()` | Use these instead |\n| `json()` | Use to parse response bodies |\n| `output.VAR` | Set variables for use in YAML flow |\n| `var` declarations | Required (use `var`, not `const`\u002F`let` for safety) |\n\n```javascript\n\u002F\u002F Script template\nvar response = http.get(\"http:\u002F\u002Flocalhost:8025\u002Fapi\u002Fendpoint\");\nif (!response.ok) {\n  throw new Error(\"Request failed: \" + response.status);\n}\nvar data = json(response.body);\noutput.RESULT = data.value;\n```\n\n---\n\n## Critical Gotchas\n\n### clearState Does NOT Clear iOS Keychain\n\n`clearState: true` clears the app sandbox (UserDefaults, files, caches) but does **NOT** clear the iOS Keychain. Auth tokens stored via `expo-secure-store` (or any Keychain-based storage) persist across `clearState` resets and even app reinstalls.\n\n```yaml\n# WRONG — user may still be authenticated\n- launchApp:\n    clearState: true\n- assertVisible: \"Welcome\"  # Fails if Keychain has tokens\n\n# CORRECT — wait for auth resolution, then adapt\n- launchApp\n- extendedWaitUntil:\n    visible:\n      id: \"auth-loaded\"\n    timeout: 15000\n```\n\n**Rules:**\n- Never rely on `clearState` to produce guest state on iOS\n- For auth tests: skip `clearState`, use `auth-loaded` pre-flight\n- For guest tests: use adaptive flows that handle both states\n- Never assert guest-only UI after `clearState`\n\n**Note:** On Android, `clearState: true` fully resets app data including credentials. This is an iOS-only gotcha.\n\n### XCTest kAXErrorInvalidUIElement Crash (iOS)\n\nThe XCTest driver may crash if Maestro interacts with the accessibility tree before the first render cycle completes on cold boot.\n\n**Fix:** Add a no-op swipe immediately after `launchApp`:\n\n```yaml\n- launchApp\n- swipe:\n    direction: DOWN\n    duration: 100\n```\n\n### API Server Dependency\n\nMobile apps calling backend APIs on localhost need either the full server or a mock server running. Without it, all API-dependent screens show loading spinners or empty states (queries fail silently).\n\n**Fix:** Start a mock API server before running Maestro tests:\n\n```bash\n# Start mock server (serves canned responses on your API port)\nnpx tsx scripts\u002Fmock-api-server.ts &\n\n# Then run tests\nmaestro test .maestro\u002Fmy-test.yaml\n```\n\nCreate a lightweight mock that returns canned JSON for each endpoint your app calls. This is faster and more deterministic than running your full backend.\n\n### Auth-Aware Tab Bars\n\nTab bars that show different tabs for guest vs authenticated users will cause selector failures:\n\n| State | Typical Tabs |\n|-------|-------------|\n| Guest | home, search, cart, profile |\n| Auth | home, feed, create, messages, profile |\n\nOnly assert tabs that exist in both states, or use adaptive `when:` conditions.\n\n---\n\n## Test File Template\n\n```yaml\n# {Feature} {Action} Test\n#\n# Tests: {what this validates}\n# Prerequisites:\n# - Simulator\u002Femulator running with app installed\n# - Backend or mock server running (if API-dependent)\n\nappId: com.myapp\nenv:\n  TEST_EMAIL: maestro-{feature}@example.com\n  EMAIL_SERVICE_URL: http:\u002F\u002Flocalhost:8025\n---\n# ==========================================\n# STEP 1: LAUNCH + AUTH PRE-FLIGHT\n# ==========================================\n\n- launchApp\n\n- swipe:\n    direction: DOWN\n    duration: 100\n\n- extendedWaitUntil:\n    visible:\n      id: \"auth-loaded\"\n    timeout: 15000\n\n- takeScreenshot: 01-initial-state\n\n# ==========================================\n# STEP 2: {ACTION}\n# ==========================================\n\n- tapOn:\n    id: \"target-element\"\n\n# ==========================================\n# STEP 3: VERIFY\n# ==========================================\n\n- extendedWaitUntil:\n    visible:\n      id: \"expected-result\"\n    timeout: 5000\n\n- takeScreenshot: 02-final-state\n```\n\n---\n\n## Folder Structure\n\n```\n.maestro\u002F\n├── README.md                    # Quick reference + testID inventory\n├── config.yaml                  # Shared configuration\n├── flows\u002F                       # Reusable sub-flows\n│   ├── auth-and-return.yaml\n│   ├── complete-action.yaml\n│   └── verify-result.yaml\n├── scripts\u002F                     # GraalJS helpers\n│   ├── fetch-otp.js\n│   └── split-otp.js\n├── smoke-test.yaml              # Guest navigation\n├── auth-signin.yaml             # OTP sign-in flow\n├── feature-screenshots.yaml     # Screenshot capture flows\n└── feature-action.yaml          # Feature-specific tests\n\nscripts\u002F\n├── mock-api-server.ts           # Lightweight mock for E2E\n└── run-e2e.sh                   # Orchestration script\n```\n\n### Naming Conventions\n\n| Type | Pattern | Example |\n|------|---------|---------|\n| Main test | `{feature}-{action}.yaml` | `checkout-purchase.yaml` |\n| Sub-flow | `{action}-{context}.yaml` | `auth-and-return-to-dashboard.yaml` |\n| Script | `{verb}-{noun}.js` | `fetch-otp.js` |\n\n---\n\n## Infrastructure\n\n### Mock Server for API-Dependent Tests\n\nCreate a lightweight mock server that serves canned responses for your API layer. This is faster and more deterministic than running your full backend during E2E tests.\n\n```bash\n# Start mock server before running Maestro tests\nnpx tsx scripts\u002Fmock-api-server.ts &\n```\n\n### Orchestration Script\n\nAutomate the full E2E setup with a shell script that:\n1. Starts backend services (database, auth)\n2. Seeds test data\n3. Starts mock API server\n4. Runs Maestro tests\n5. Cleans up all services\n\n```bash\nbash scripts\u002Frun-e2e.sh\n```\n\n### Seed Data\n\nTests that depend on specific data require seeded databases. Keep seed scripts alongside your test infrastructure and run them before each test suite.\n\n---\n\n## Android-Specific Patterns\n\n### Emulator Setup\n\nAndroid tests require an emulator or a USB-connected physical device. Maestro auto-detects connected devices.\n\n```bash\n# List available system images\nsdkmanager --list | grep system-images\n\n# Create emulator\navdmanager create avd -n maestro_test \\\n  -k \"system-images;android-34;google_apis;arm64-v8a\"\n\n# Start emulator\nemulator -avd maestro_test\n```\n\n### iOS vs Android Differences\n\n| Aspect | iOS | Android |\n|--------|-----|---------|\n| Device type | Simulator only (no physical) | Emulator + physical via ADB |\n| `clearState` | Does NOT clear Keychain | Fully resets app data |\n| Cold boot crash | XCTest kAXError (add swipe delay) | No equivalent issue |\n| Performance | Runs natively (fast) | ARM emulation (slower on x86) |\n| Permission dialogs | System alerts | System dialogs with different text |\n\n### ADB Debugging\n\n```bash\nadb devices                                    # List connected devices\nadb shell am start -n com.myapp\u002F.MainActivity  # Launch app\nadb logcat | grep Maestro                      # Filter Maestro logs\nadb shell input keyevent 82                    # Unlock screen\n```\n\n### Android Permission Handling\n\nAndroid permissions appear as system dialogs. Dismiss with optional taps:\n\n```yaml\n- tapOn:\n    text: \"Allow\"\n    optional: true\n\n- tapOn:\n    text: \"While using the app\"\n    optional: true\n```\n\n---\n\n## CI\u002FCD Integration\n\n### GitHub Actions with Maestro Cloud\n\nMaestro Cloud provides real devices in CI without local simulators. Use the official action:\n\n```yaml\nname: Mobile E2E Tests\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\njobs:\n  maestro-e2e:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      # Build Android APK\n      - uses: actions\u002Fsetup-java@v4\n        with:\n          java-version: '17'\n          distribution: 'temurin'\n\n      - name: Build Android APK\n        run: |\n          cd apps\u002Fmobile\n          npx expo prebuild --platform android --no-install\n          cd android && .\u002Fgradlew assembleRelease\n\n      - name: Run Maestro Cloud Tests\n        id: maestro\n        uses: mobile-dev-inc\u002Faction-maestro-cloud@v2\n        with:\n          api-key: ${{ secrets.MAESTRO_API_KEY }}\n          app-file: apps\u002Fmobile\u002Fandroid\u002Fapp\u002Fbuild\u002Foutputs\u002Fapk\u002Frelease\u002Fapp-release.apk\n          workspace: .maestro\n          include-tags: ci\n\n      # Access results\n      # ${{ steps.maestro.outputs.MAESTRO_CLOUD_CONSOLE_URL }}\n      # ${{ steps.maestro.outputs.MAESTRO_CLOUD_UPLOAD_STATUS }}\n      # ${{ steps.maestro.outputs.MAESTRO_CLOUD_FLOW_RESULTS }}\n```\n\n### Tag-Based Flow Filtering\n\nUse tags to control which tests run in CI vs locally:\n\n```yaml\n# In your flow file header\nappId: com.myapp\ntags:\n  - ci\n  - smoke\n---\n- launchApp\n# ... test steps\n```\n\n```bash\n# Run only CI-tagged flows locally\nmaestro test --include-tags ci .maestro\u002F\n\n# Exclude work-in-progress flows\nmaestro test --exclude-tags wip .maestro\u002F\n```\n\n### Local CI with Docker (Android Only)\n\n```dockerfile\nFROM openjdk:17-slim\n\nRUN curl -Ls \"https:\u002F\u002Fget.maestro.mobile.dev\" | bash\nENV PATH=\"\u002Froot\u002F.maestro\u002Fbin:${PATH}\"\n\nCOPY .maestro\u002F \u002Fapp\u002F.maestro\u002F\nWORKDIR \u002Fapp\n\nCMD [\"maestro\", \"test\", \".maestro\u002F\"]\n```\n\n**Note:** iOS tests cannot run in Docker (requires macOS). Use Maestro Cloud for iOS in CI.\n\n---\n\n## Maestro Cloud\n\n[Maestro Cloud](https:\u002F\u002Fcloud.maestro.dev\u002F) runs tests on real devices without local simulator setup.\n\n### Setup\n\n1. Create account at cloud.maestro.dev\n2. Generate API key from dashboard\n3. Store as `MAESTRO_API_KEY` secret in your CI provider\n\n### Running from CLI\n\n```bash\n# Upload and run on Maestro Cloud\nmaestro cloud --api-key $MAESTRO_API_KEY \\\n  --app-file .\u002Fapp-release.apk \\\n  .maestro\u002F\n\n# With tag filtering\nmaestro cloud --api-key $MAESTRO_API_KEY \\\n  --app-file .\u002Fapp-release.apk \\\n  --include-tags smoke \\\n  .maestro\u002F\n```\n\n### Key Points\n\n- **iOS testing**: Supported on Maestro Cloud (not on local physical devices)\n- **Android testing**: Both local physical devices and Maestro Cloud\n- **Results**: Dashboard with video recordings, logs, and screenshots\n- **CI outputs**: `MAESTRO_CLOUD_CONSOLE_URL`, `MAESTRO_CLOUD_FLOW_RESULTS`\n\n---\n\n## Maestro MCP Server\n\nThe [Maestro MCP server](https:\u002F\u002Fdocs.maestro.dev\u002Fgetting-started\u002Fmaestro-mcp) exposes Maestro's full command set as Model Context Protocol tools, letting AI agents **execute tests and interact with devices directly** — not just write YAML.\n\n### How It Complements This Skill\n\n| | **This Skill** | **Maestro MCP** |\n|---|---|---|\n| **Role** | Teaches correct patterns | Provides runtime execution |\n| **Layer** | Authoring (write good YAML) | Execution (run, tap, assert, screenshot) |\n| **Output** | Better test files | Live device interaction |\n\nUse both together: this skill ensures the AI writes correct tests; the MCP lets it run them immediately, see failures, and iterate.\n\n### Setup\n\nThe MCP ships with the Maestro CLI — no extra install needed:\n\n```bash\n# Verify it's available\nmaestro mcp\n```\n\n**Claude Code** — add to project `.mcp.json` or global settings:\n\n```json\n{\n  \"mcpServers\": {\n    \"maestro\": {\n      \"command\": \"maestro\",\n      \"args\": [\"mcp\"]\n    }\n  }\n}\n```\n\n**Claude Desktop** — add to `~\u002FLibrary\u002FApplication Support\u002FClaude\u002Fclaude_desktop_config.json` (macOS):\n\n```json\n{\n  \"mcpServers\": {\n    \"maestro\": {\n      \"command\": \"maestro\",\n      \"args\": [\"mcp\"]\n    }\n  }\n}\n```\n\nAlso supported on Cursor, Windsurf, VS Code, and JetBrains IDEs. See the [Maestro MCP docs](https:\u002F\u002Fdocs.maestro.dev\u002Fgetting-started\u002Fmaestro-mcp) for IDE-specific setup.\n\n### Key Capabilities\n\nThe MCP server exposes 47 tools organized by category:\n\n| Category | Tools | Examples |\n|----------|-------|---------|\n| UI Interaction | tap, swipe, scroll, long press | `tapOn`, `scrollUntilVisible` |\n| Text Input | type, erase, paste, copy | `inputText`, `eraseText` |\n| Assertions | visibility, AI-powered | `assertVisible`, `assertWithAI` |\n| App Lifecycle | launch, stop, clear state | `launchApp`, `clearState` |\n| Device Control | location, orientation, airplane | `setLocation`, `hideKeyboard` |\n| Flow Control | run flows, repeat, eval scripts | `runFlow`, `evalScript` |\n| Media | screenshots, recording | `takeScreenshot`, `startRecording` |\n| AI-Powered | visual assertions, defect detection | `assertWithAI`, `assertNoDefectsWithAI` |\n\n### Write-Run-Fix Loop\n\nWith both this skill and the MCP active, the AI can:\n\n1. **Write** a test YAML using patterns from this skill\n2. **Run** it via MCP's `runFlow` \u002F `launchApp` + interaction tools\n3. **See** failures via screenshots and assertions\n4. **Fix** the YAML and re-run — all in one conversation\n\n---\n\n## Debugging\n\n```bash\nmaestro test --debug .maestro\u002Ftest.yaml   # Step through interactively\nmaestro record .maestro\u002Ftest.yaml          # Record as video\nmaestro studio                             # Interactive UI builder\nmaestro hierarchy                          # View element tree\n```\n\nScreenshots saved to `~\u002F.maestro\u002Ftests\u002F{timestamp}\u002F`.\n\n---\n\n## Checklist for New Tests\n\n```\n[ ] Unique test email (maestro-{feature}@example.com)\n[ ] Selector strategy chosen (testID for i18n apps, text for single-language — see Pattern 1)\n[ ] Selectors use state properties where relevant (enabled, checked — see Pattern 10)\n[ ] Similar elements distinguished with relative selectors, not index (see Pattern 11)\n[ ] Auth pre-flight pattern used (auth-loaded)\n[ ] Post-launch swipe added (iOS crash prevention)\n[ ] Both auth states handled (adaptive flows)\n[ ] Native alerts dismissed after mutations\n[ ] Short timeouts for optimistic updates (3-5s)\n[ ] Sub-flows created for reusable sequences\n[ ] Descriptive screenshots at key points\n[ ] Header comment with prerequisites\n[ ] Added to README.md test table\n[ ] Mock API server started if backend-dependent\n[ ] Tags added for CI filtering (ci, smoke, wip)\n```\n\n---\n\n## Common Errors\n\n| Error | Cause | Fix |\n|-------|-------|-----|\n| \"Unable to locate Java Runtime\" | Java not in PATH | `export JAVA_HOME=\u002Fopt\u002Fhomebrew\u002Fopt\u002Fopenjdk@17\u002F...` |\n| \"Element not found\" after tap | Native alert blocking | Add `tapOn: text: \"OK\" optional: true` |\n| OTP digits not entering | Auto-focus interference | Use individual `otp-input-N` testIDs |\n| Test passes but nothing happened | `optional: true` misused | Only use optional for truly optional actions |\n| \"Assertion is false\" on visibility | Element not rendered yet | Increase timeout or verify testID exists |\n| Script output empty | Wrong JS API | Use `http.get()` not `fetch()` |\n| Auth state inconsistent after clearState | iOS Keychain not cleared | Don't use `clearState`, use adaptive flows |\n| kAXErrorInvalidUIElement crash | Cold boot race (iOS) | Add post-launch swipe delay |\n| Loading spinners \u002F empty screens | No API server running | Start mock API server before tests |\n| Permission dialog blocking (Android) | System dialog not dismissed | Add `tapOn: text: \"Allow\" optional: true` |\n\n---\n\n## Resources\n\n- [Maestro Documentation](https:\u002F\u002Fdocs.maestro.dev\u002F)\n- [Maestro Selectors Reference](https:\u002F\u002Fdocs.maestro.dev\u002Fapi-reference\u002Fselectors)\n- [Maestro Cloud](https:\u002F\u002Fcloud.maestro.dev\u002F)\n- [Maestro MCP Server](https:\u002F\u002Fdocs.maestro.dev\u002Fgetting-started\u002Fmaestro-mcp)\n- [Maestro GitHub](https:\u002F\u002Fgithub.com\u002Fmobile-dev-inc\u002FMaestro)\n- [GraalJS HTTP Requests](https:\u002F\u002Fdocs.maestro.dev\u002Fadvanced\u002Fjavascript\u002Fmake-http-s-requests)\n- [Conditions & Adaptive Flows](https:\u002F\u002Fdocs.maestro.dev\u002Fadvanced\u002Fconditions)\n- [GitHub Actions Integration](https:\u002F\u002Fdocs.maestro.dev\u002Fcloud\u002Fci-integration\u002Fgithub-actions)\n- [BrowserStack: Maestro Testing Guide](https:\u002F\u002Fwww.browserstack.com\u002Fguide\u002Fmaestro-testing)\n- [DEV.to: Tips & Tricks for Maestro + React Native](https:\u002F\u002Fdev.to\u002Fretyui\u002Fbest-tips-tricks-for-e2e-maestro-with-react-native-2kaa)\n",{"name":5,"tags":24,"author":36,"license":15,"version":37,"category":38,"description":7,"context_limit":39,"requires_tools":40,"progressive_disclosure":41},[25,26,27,28,29,30,31,32,33,34,35],"react-native","expo","testing","maestro","e2e","mobile","ios","android","yaml","ci-cd","mcp","tovimx","1.1.0","toolchain",900,[],{"entry_point":42,"token_estimate":46},{"summary":43,"quick_start":44,"when_to_use":45},"Write reliable Maestro mobile E2E tests with declarative YAML flows, testID selectors, auth-aware adaptive patterns, and optimistic update verification","1. Install Maestro CLI 2. Add testID props to components 3. Write YAML flows with testID selectors 4. Use auth-loaded pre-flight pattern 5. Start mock API server for backend-dependent tests 6. Run with maestro test","When writing mobile E2E tests, debugging flaky flows, testing authentication, verifying optimistic updates, capturing screenshots, or setting up Maestro CI for React Native\u002FExpo apps",{"full":47,"entry":48},9000,150,"main","ac785af4882256b3beb3b0e57f84df26431e0896",".agents\u002Fskills\u002Fmaestro-mobile-testing",0,"https:\u002F\u002Fgithub.com\u002FDaisuke134\u002Fanicca-products","https:\u002F\u002Fgithub.com\u002FDaisuke134","2026-11-15 04:43:24",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add Daisuke134\u002Fanicca-products --skill maestro-mobile-testing",{"tool":62,"command":63},"bunx","bunx skills add Daisuke134\u002Fanicca-products --skill maestro-mobile-testing",{"tool":65,"command":66},"pnpm","pnpm dlx skills add Daisuke134\u002Fanicca-products --skill maestro-mobile-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDaisuke134\u002Fanicca-products\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmaestro-mobile-testing\u002FSKILL.md",true,[],[71,80,88,96,104,112],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":75,"licenseFileUrl":76,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M739TXBRTJVV8HCBWD6N1EY1","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDaisuke134\u002Fanicca-products\u002Fblob\u002Fmain\u002F.cursor\u002Fawesome-claude-skills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDaisuke134\u002Fanicca-products\u002Fblob\u002Fmain\u002F.cursor\u002Fawesome-claude-skills\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":75,"licenseFileUrl":84,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M739TJS4EBR30NAGP5CRPVYG","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","https:\u002F\u002Fgithub.com\u002FDaisuke134\u002Fanicca-products\u002Fblob\u002Fmain\u002F.cursor\u002Fawesome-claude-skills\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDaisuke134\u002Fanicca-products\u002Fblob\u002Fmain\u002F.cursor\u002Fawesome-claude-skills\u002Ftheme-factory\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":75,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M739TDM2V53QW8394XEZ5J03","slack-gif-creator","Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like \"make me a GIF for Slack of X doing Y\".","https:\u002F\u002Fgithub.com\u002FDaisuke134\u002Fanicca-products\u002Fblob\u002Fmain\u002F.cursor\u002Fawesome-claude-skills\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDaisuke134\u002Fanicca-products\u002Fblob\u002Fmain\u002F.cursor\u002Fawesome-claude-skills\u002Fslack-gif-creator\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":75,"licenseFileUrl":100,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M739T6T9TBNP04VNH6X56ADG","skill-creator","Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.","https:\u002F\u002Fgithub.com\u002FDaisuke134\u002Fanicca-products\u002Fblob\u002Fmain\u002F.cursor\u002Fawesome-claude-skills\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDaisuke134\u002Fanicca-products\u002Fblob\u002Fmain\u002F.cursor\u002Fawesome-claude-skills\u002Fskill-creator\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":75,"licenseFileUrl":108,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M739SWSR0B9SP3PB1M57EAA6","mcp-builder","Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node\u002FTypeScript (MCP SDK).","https:\u002F\u002Fgithub.com\u002FDaisuke134\u002Fanicca-products\u002Fblob\u002Fmain\u002F.cursor\u002Fawesome-claude-skills\u002Fmcp-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDaisuke134\u002Fanicca-products\u002Fblob\u002Fmain\u002F.cursor\u002Fawesome-claude-skills\u002Fmcp-builder\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":75,"licenseFileUrl":116,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":19},"01M739SHMJR8F5N5EGG8MEA3TM","internal-comms","A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).","https:\u002F\u002Fgithub.com\u002FDaisuke134\u002Fanicca-products\u002Fblob\u002Fmain\u002F.cursor\u002Fawesome-claude-skills\u002Finternal-comms\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDaisuke134\u002Fanicca-products\u002Fblob\u002Fmain\u002F.cursor\u002Fawesome-claude-skills\u002Finternal-comms\u002FSKILL.md",[],[]]