[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XE5GS5F80W9AZBTCQ97104":3,"skill-same:01M6XE5GS5F80W9AZBTCQ97104":69},{"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":23,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":14,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":48,"install":49,"resources":62},"01M6XE5GS5F80W9AZBTCQ97104","android_ui_verification",null,"Automated end-to-end UI testing and verification on an Android Emulator using ADB.","sapsapshen\u002Fai-memory-router","sapsapshen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20347959?v=4","01M6XDQEF1DP50DKF37H81J3J5","shenmian","01M6XDQEJPE41Y3DT2763X8ZJN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcopilot\u002Fandroid_ui_verification\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[24,25,26,27,28,29,30,31,32,33,34,35,36],"android","verification","ui","ui verification","android ui verification","testing","safe","emulator","ui testing","adb","community","end","2026","2026-11-10 10:12:30",false,"---\nname: android_ui_verification\ndescription: Automated end-to-end UI testing and verification on an Android Emulator using ADB.\nrisk: safe\nsource: community\ndate_added: \"2026-02-28\"\n---\n\n# Android UI Verification Skill\n\nThis skill provides a systematic approach to testing React Native applications on an Android emulator using ADB commands. It allows for autonomous interaction, state verification, and visual regression checking.\n\n## When to Use\n- Verifying UI changes in React Native or Native Android apps.\n- Autonomous debugging of layout issues or interaction bugs.\n- Ensuring feature functionality when manual testing is too slow.\n- Capturing automated screenshots for PR documentation.\n\n## ? Prerequisites\n- Android Emulator running.\n- `adb` installed and in PATH.\n- Application in debug mode for logcat access.\n\n## ? Workflow\n\n### 1. Device Calibration\nBefore interacting, always verify the screen resolution to ensure tap coordinates are accurate.\n```bash\nadb shell wm size\n```\n*Note: Layouts are often scaled. Use the physical size returned as the base for coordinate calculations.*\n\n### 2. UI Inspection (State Discovery)\nUse the `uiautomator` dump to find the exact bounds of UI elements (buttons, inputs).\n```bash\nadb shell uiautomator dump \u002Fsdcard\u002Fview.xml && adb pull \u002Fsdcard\u002Fview.xml .\u002Fartifacts\u002Fview.xml\n```\nSearch the `view.xml` for `text`, `content-desc`, or `resource-id`. The `bounds` attribute `[x1,y1][x2,y2]` defines the clickable area.\n\n### 3. Interaction Commands\n- **Tap**: `adb shell input tap \u003Cx> \u003Cy>` (Use the center of the element bounds).\n- **Swipe**: `adb shell input swipe \u003Cx1> \u003Cy1> \u003Cx2> \u003Cy2> \u003Cduration_ms>` (Used for scrolling).\n- **Text Input**: `adb shell input text \"\u003Cmessage>\"` (Note: Limited support for special characters).\n- **Key Events**: `adb shell input keyevent \u003Ccode_id>` (e.g., 66 for Enter).\n\n### 4. Verification & Reporting\n#### Visual Verification\nCapture a screenshot after interaction to confirm UI changes.\n```bash\nadb shell screencap -p \u002Fsdcard\u002Fscreen.png && adb pull \u002Fsdcard\u002Fscreen.png .\u002Fartifacts\u002Ftest_result.png\n```\n\n#### Analytical Verification\nMonitor the JS console logs in real-time to detect errors or log successes.\n```bash\nadb logcat -d | grep \"ReactNativeJS\" | tail -n 20\n```\n\n#### Cleanup\nAlways store generated files in the `artifacts\u002F` folder to satisfy project organization rules.\n\n## ? Best Practices\n- **Wait for Animations**: Always add a short sleep (e.g., 1-2s) between interaction and verification.\n- **Center Taps**: Calculate the arithmetic mean of `[x1,y1][x2,y2]` for the most reliable tap target.\n- **Log Markers**: Use distinct log messages in the code (e.g., `✅ Action Successful`) to make `grep` verification easy.\n- **Fail Fast**: If a `uiautomator dump` fails or doesn't find the expected text, stop and troubleshoot rather than blind-tapping.\n","# Android UI Verification Skill\n\nThis skill provides a systematic approach to testing React Native applications on an Android emulator using ADB commands. It allows for autonomous interaction, state verification, and visual regression checking.\n\n## When to Use\n- Verifying UI changes in React Native or Native Android apps.\n- Autonomous debugging of layout issues or interaction bugs.\n- Ensuring feature functionality when manual testing is too slow.\n- Capturing automated screenshots for PR documentation.\n\n## ? Prerequisites\n- Android Emulator running.\n- `adb` installed and in PATH.\n- Application in debug mode for logcat access.\n\n## ? Workflow\n\n### 1. Device Calibration\nBefore interacting, always verify the screen resolution to ensure tap coordinates are accurate.\n```bash\nadb shell wm size\n```\n*Note: Layouts are often scaled. Use the physical size returned as the base for coordinate calculations.*\n\n### 2. UI Inspection (State Discovery)\nUse the `uiautomator` dump to find the exact bounds of UI elements (buttons, inputs).\n```bash\nadb shell uiautomator dump \u002Fsdcard\u002Fview.xml && adb pull \u002Fsdcard\u002Fview.xml .\u002Fartifacts\u002Fview.xml\n```\nSearch the `view.xml` for `text`, `content-desc`, or `resource-id`. The `bounds` attribute `[x1,y1][x2,y2]` defines the clickable area.\n\n### 3. Interaction Commands\n- **Tap**: `adb shell input tap \u003Cx> \u003Cy>` (Use the center of the element bounds).\n- **Swipe**: `adb shell input swipe \u003Cx1> \u003Cy1> \u003Cx2> \u003Cy2> \u003Cduration_ms>` (Used for scrolling).\n- **Text Input**: `adb shell input text \"\u003Cmessage>\"` (Note: Limited support for special characters).\n- **Key Events**: `adb shell input keyevent \u003Ccode_id>` (e.g., 66 for Enter).\n\n### 4. Verification & Reporting\n#### Visual Verification\nCapture a screenshot after interaction to confirm UI changes.\n```bash\nadb shell screencap -p \u002Fsdcard\u002Fscreen.png && adb pull \u002Fsdcard\u002Fscreen.png .\u002Fartifacts\u002Ftest_result.png\n```\n\n#### Analytical Verification\nMonitor the JS console logs in real-time to detect errors or log successes.\n```bash\nadb logcat -d | grep \"ReactNativeJS\" | tail -n 20\n```\n\n#### Cleanup\nAlways store generated files in the `artifacts\u002F` folder to satisfy project organization rules.\n\n## ? Best Practices\n- **Wait for Animations**: Always add a short sleep (e.g., 1-2s) between interaction and verification.\n- **Center Taps**: Calculate the arithmetic mean of `[x1,y1][x2,y2]` for the most reliable tap target.\n- **Log Markers**: Use distinct log messages in the code (e.g., `✅ Action Successful`) to make `grep` verification easy.\n- **Fail Fast**: If a `uiautomator dump` fails or doesn't find the expected text, stop and troubleshoot rather than blind-tapping.\n",{"name":5,"risk":30,"source":34,"date_added":42,"description":7},"2026-02-28","main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fcopilot\u002Fandroid_ui_verification","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill android_ui_verification",{"tool":55,"command":56},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill android_ui_verification",{"tool":58,"command":59},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill android_ui_verification","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcopilot\u002Fandroid_ui_verification\u002FSKILL.md",true,[63],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"scripts\u002Fverify_ui.sh","SCRIPT","脚本",895,"https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcopilot\u002Fandroid_ui_verification\u002Fscripts\u002Fverify_ui.sh",[70,80,87,95,101,109],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":75,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":79},"01M72R8PZX1ABFHJGTYPA4CAF1","webapp-testing","To test local web applications, write native Python Playwright scripts.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FSKILL.md",[],[],"2026-11-10 22:39:42",{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":79},"01M72QG37MMZNDY7X7GXPAK5W6","python-packaging","Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fpython-packaging\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":79},"01M72NXR0QMP9G46TW6A2DH59C","canvas-design","These are instructions for creating design philosophies - aesthetic movements that are then EXPRESSED VISUALLY. Output only .md files, .pdf files, and .png files.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FSKILL.md",[],[],{"skillNo":96,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":97,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":79},"01M72N55TK3EEQ4QK4AWDC2KZS","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":105,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":79},"01M72MTWC150CFAP4Y5GSNKF80","slack-gif-creator","A toolkit providing utilities and knowledge for creating animated GIFs optimized for Slack.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":113,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":79},"01M72KPT3VVNSP88MNAY466TZT","frontend-design","You are a frontend designer-engineer, not a layout generator.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FSKILL.md",[],[]]