[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GJWV9XGXK211AZXBTP6FRY":3,"skill-same:01M6GJWV9XGXK211AZXBTP6FRY":43},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M6GJWV9XGXK211AZXBTP6FRY","maestro",null,"bes-dev\u002Fetnamute","bes-dev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F3617413?v=4","01M6GJVTH1QR3AV46BXYJ9T14N","Sergei Belousov","01M6GJVTQ5DVFJ4C63BCQNM0YD",12,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fbes-dev\u002Fetnamute\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmaestro\u002FSKILL.md",[],[5],"2026-11-10 10:12:30",false,"# Maestro Skill\n\nMaestro automates mobile UI on simulators. Used for functional testing, smoke testing, visual verification, and screenshots.\n\n**MANDATORY: Fetch Maestro docs via mcpdoc before writing ANY flow.** Do NOT guess command names — commands like `clearText` don't exist. Use mcpdoc to verify available commands.\n\n## Setup\n\n- **Dev builds required** — Expo Go doesn't support `launchApp`, `clearState`, `killApp`\n- **Always use `scripts\u002Fsmoke.sh`** for running flows — handles build, simulator, Metro, cleanup\n- App's `appId` = `ios.bundleIdentifier` \u002F `android.package` from app.config.js\n\n## Flow Template\n\nEvery flow MUST follow this structure. Copy and adapt — do NOT improvise from scratch:\n\n```yaml\nappId: \u003Cbundle-id-from-app.config.js>\ntags:\n  - \u003Csmoke|functional|persistence|errors>\n---\n- launchApp:\n    clearState: true\n- extendedWaitUntil:\n    visible: \"\u003Cfirst screen element>\"\n    timeout: 15000\n\n# === Your test steps here ===\n# After EVERY navigation or state change, use extendedWaitUntil:\n- tapOn:\n    id: \"\u003CtestID>\"\n- extendedWaitUntil:\n    visible: \"\u003Cexpected result>\"\n    timeout: 10000\n\n# At the end, take a screenshot for visual verification:\n- takeScreenshot: \u003Cdescriptive_name>\n```\n\n**Rules:**\n- NEVER use `waitForAnimationToEnd` as a wait — use `extendedWaitUntil` with a visible condition\n- NEVER use `assertVisible` right after navigation — use `extendedWaitUntil` first, then `assertVisible` for secondary checks\n- NEVER use commands you haven't verified in docs (e.g., `clearText` doesn't exist — use `eraseText`)\n\n## Core Principle\n\n**Every `tapOn` must be followed by an assertion proving something VISIBLY changed.**\n\n```yaml\n# BAD — proves nothing:\n- tapOn: \"Save\"\n- takeScreenshot: \"after-save\"\n\n# GOOD — proves the tap worked:\n- tapOn: \"Save\"\n- extendedWaitUntil:\n    visible: \"Saved successfully\"\n    timeout: 5000\n```\n\n**`takeScreenshot` is documentation, NOT verification.**\n\n## Tab Bar Navigation\n\nExpo Router tab bars require point-based tapping. To find correct coordinates:\n\n```bash\n# Run ONCE before writing tab flows:\nmaestro hierarchy 2>&1 | grep -i \"tab\\|TabBar\\|bottomTabBar\"\n```\n\n**Calculate tab positions** from the number of tabs:\n\n| Tabs | Tab 1 | Tab 2 | Tab 3 | Tab 4 | Tab 5 |\n|------|-------|-------|-------|-------|-------|\n| 2    | 25%   | 75%   | —     | —     | —     |\n| 3    | 17%   | 50%   | 83%   | —     | —     |\n| 4    | 12%   | 37%   | 63%   | 88%   | —     |\n| 5    | 10%   | 30%   | 50%   | 70%   | 90%   |\n\nY-coordinate: **93%** (works for standard iOS tab bar with safe area).\n\n```yaml\n# Example: 3-tab app, tap middle tab\n- tapOn:\n    point: \"50%,93%\"\n- extendedWaitUntil:\n    visible:\n      id: \"\u003Ctarget-screen-testID>\"\n    timeout: 10000\n```\n\n**After tapping a tab, always wait for the target screen's testID** — not text that might appear on multiple screens.\n\n## Keyboard Handling\n\n```yaml\n# Preferred: tap a label\u002Fheader above the keyboard to dismiss\n- tapOn: \"SECTION LABEL\"\n\n# Fallback: tap top of screen\n- tapOn:\n    point: \"50%,5%\"\n\n# For decimal\u002Fnumber pad (hideKeyboard often fails):\n- tapOn: \"NEXT FIELD LABEL\"\n```\n\n**Do NOT use `hideKeyboard`** — it fails on custom keyboards, decimal pads, and formSheet modals.\n\n## Functional Testing Patterns\n\n### Button → verify effect\n```yaml\n- tapOn: \"Add to Cart\"\n- extendedWaitUntil:\n    visible: \"Cart (1)\"\n    timeout: 5000\n```\n\n### Form → dismiss keyboard → submit\n```yaml\n- tapOn: { id: \"input-name\" }\n- inputText: \"Netflix\"\n- tapOn: \"BILLING CYCLE\"          # Dismiss keyboard by tapping a label\n- tapOn: { id: \"input-price\" }\n- inputText: \"15.49\"\n- tapOn: \"CATEGORY\"               # Dismiss decimal pad\n- scrollUntilVisible:\n    element: { id: \"btn-submit\" }\n    direction: DOWN\n    timeout: 5000\n- tapOn: { id: \"btn-submit\" }\n- extendedWaitUntil:\n    visible: \"Netflix\"\n    timeout: 10000\n```\n\n### Persistence → kill and relaunch\n```yaml\n- tapOn: \"Save Item\"\n- extendedWaitUntil:\n    visible: \"My Item\"\n    timeout: 5000\n- killApp\n- launchApp\n- extendedWaitUntil:\n    visible: \"My Item\"\n    timeout: 15000\n```\n\n### Cross-screen settings\n```yaml\n# Change setting\n- tapOn: { id: \"btn-currency-eur\" }\n# Navigate to another screen\n- tapOn:\n    point: \"17%,93%\"\n- extendedWaitUntil:\n    visible: { id: \"screen-home\" }\n    timeout: 10000\n# Verify setting applied\n- takeScreenshot: currency_cross_screen\n```\n\n### Delete → verify removed\n```yaml\n- tapOn: \"Delete\"\n- extendedWaitUntil:\n    visible: \"No items yet\"\n    timeout: 10000\n- assertNotVisible: \"Item Name\"\n```\n\n### Error path → fix → success\n```yaml\n- tapOn: { id: \"btn-submit\" }\n- extendedWaitUntil:\n    visible: \"Name is required\"\n    timeout: 5000\n- tapOn: { id: \"input-name\" }\n- inputText: \"valid name\"\n- tapOn: { id: \"btn-submit\" }\n- extendedWaitUntil:\n    visible: \"Success\"\n    timeout: 10000\n```\n\n### Swipe gesture → verify effect\n```yaml\n# Swipe left on an item to reveal action\n- swipe:\n    from: { id: \"article-card-1\" }\n    direction: LEFT\n- extendedWaitUntil:\n    visible: \"Delete\"\n    timeout: 5000\n- tapOn: \"Delete\"\n- assertNotVisible: \"Article Title\"\n```\n\n### Pull to refresh\n```yaml\n- swipe:\n    from: { id: \"article-list\" }\n    direction: DOWN\n    duration: 1000\n- extendedWaitUntil:\n    visible: { id: \"article-list\" }\n    timeout: 10000\n```\n\n**CRITICAL: Every gesture interaction (swipe, long-press, drag) MUST have a Maestro flow.** Gestures depend on native modules (GestureHandler, Reanimated) that can crash at runtime even when tsc, bundler, and unit tests all pass. The ONLY way to catch these crashes is to physically execute the gesture on a simulator.\n\n## Expo Router Gotchas\n\n- **Tab bar**: point-based tapping only (see table above)\n- **accessibilityLabel hides children**: assert on `id` (testID), not inner text\n- **accessibilityRole=\"button\"**: aggregates child text — add `accessibilityLabel` to the component, or assert on testID\n- **Reanimated views**: invisible to Maestro — use `id` or nearby static elements\n- **Flows must run sequentially**: use `config.yaml` with `continueOnFailure: false`\n- **formSheet modals**: `tapOn: { point: \"50%,5%\" }` may tap OUTSIDE the modal — tap a label inside the form instead\n\n## Flow Organization\n\n```\n.maestro\u002F\n├── config.yaml\n├── smoke-*.yaml          # Navigation + crash detection\n├── func-*.yaml           # Functional flows\n├── persist-*.yaml        # killApp → relaunch → verify\n└── error-*.yaml          # Error paths\n```\n\nTag flows: `tags: [smoke]`, `tags: [functional]`, `tags: [persistence]`, `tags: [errors]`\n\n## Scripts\n\n- `scripts\u002Fsmoke.sh apps\u002F\u003Cslug>` — dev build + headless simulator + Metro + Maestro + cleanup\n- `scripts\u002Fsmoke.sh apps\u002F\u003Cslug> smoke` — run only smoke-tagged flows\n- `scripts\u002Fverify.sh apps\u002F\u003Cslug>` — unit tests + build + runtime (no Maestro)\n",{},"main","e39a04a960c243f7738950db3eed53e837c062dd",".claude\u002Fskills\u002Fmaestro",1,"https:\u002F\u002Fgithub.com\u002Fbes-dev\u002Fetnamute","https:\u002F\u002Fgithub.com\u002Fbes-dev","2026-03-27 05:33:20",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add bes-dev\u002Fetnamute --skill maestro",{"tool":35,"command":36},"bunx","bunx skills add bes-dev\u002Fetnamute --skill maestro",{"tool":38,"command":39},"pnpm","pnpm dlx skills add bes-dev\u002Fetnamute --skill maestro","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbes-dev\u002Fetnamute\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmaestro\u002FSKILL.md",true,[],[44,62,78,90,109,125],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"01M6GJYE0ETPG05YX6P7S0DCCZ","visual-review","Read screenshots and verify UI against DESIGN.md, reference mockups, and quality checklist","https:\u002F\u002Fgithub.com\u002Fbes-dev\u002Fetnamute\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fvisual-review\u002FSKILL.md",[],[51,52,53,54,55,56,57,58,59,60,61],"visual review","visual","review","checklist","design","screenshots","ui","verify","quality","read","reference",{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M6GJY8XRG3W3GJE1QWGHMMME","testing","Full QA procedure — interaction map, unit tests, Maestro flows, visual review","https:\u002F\u002Fgithub.com\u002Fbes-dev\u002Fetnamute\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftesting\u002FSKILL.md",[],[64,69,53,70,71,72,52,73,74,51,75,5,76,77],"unit","unit tests","qa","map","full","tests","interaction","flows","interaction map",{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M6GJY500FD4HXFH7S7AXYG23","test-app","Run full QA — interaction map, unit tests, Maestro UI tests, visual review","https:\u002F\u002Fgithub.com\u002Fbes-dev\u002Fetnamute\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftest-app\u002FSKILL.md",[],[85,86,87,88,77,69,53,5,70,89,71,57,72,52,73,74,51,75],"test app","app","test","true","run",{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M6GJXZEHY6N4F48ETC47ZW8T","spec-app","Generate PRD through discovery interview and market research — no code","https:\u002F\u002Fgithub.com\u002Fbes-dev\u002Fetnamute\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fspec-app\u002FSKILL.md",[],[97,86,98,99,100,101,102,103,104,105,106,107,108,88],"spec app","spec","research","generate","code","prd","discovery","market research","interview","Market","discovery interview","no code",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":18},"01M6GJXQV76W3DBBQRMEC4B1X6","release-app","Build, sign, and submit app to App Store and Google Play — fully automated","https:\u002F\u002Fgithub.com\u002Fbes-dev\u002Fetnamute\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frelease-app\u002FSKILL.md",[],[116,117,86,118,119,120,121,122,123,124,88],"release app","release","play","google","google play","store","submit","sign","build",{"skillNo":126,"name":127,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":18},"01M6GJXHK404PAYHA1DVDM16K9","react-native","https:\u002F\u002Fgithub.com\u002Fbes-dev\u002Fetnamute\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Freact-native\u002FSKILL.md",[],[131,132,133],"react native","react","native"]