[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78942HMP4NTD5KEP9E2RGYA":3,"skill-same:01M78942HMP4NTD5KEP9E2RGYA":56},{"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":24,"commitSha":25,"skillDirectory":5,"forksCount":14,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":28,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M78942HMP4NTD5KEP9E2RGYA","devicehub-operator",null,"在 macOS 上通过 AppleScript 辅助功能操作 Xcode Device Hub，定位设备控件、切换 iPhone Duo 形态、操作模拟器内 App 并截取内外屏证据。用户要求操作 Device Hub、验证模拟器 UI、展开或折叠 Duo，或排查相关自动化权限时使用。适用于已构建或已安装 App 的运行验证，不负责实现折叠屏适配或发布 App。","missdeer\u002Fskills","missdeer","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1459866?v=4","01M7892TZTCWDZH4XBQC4KR0GM","Fan Yang","01M7892V0M861938TBK4QAZDC4",0,"MIT","https:\u002F\u002Fgithub.com\u002Fmissdeer\u002Fskills\u002Fblob\u002Fmaster\u002Fdevicehub-operator\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: devicehub-operator\ndescription: 在 macOS 上通过 AppleScript 辅助功能操作 Xcode Device Hub，定位设备控件、切换 iPhone Duo 形态、操作模拟器内 App 并截取内外屏证据。用户要求操作 Device Hub、验证模拟器 UI、展开或折叠 Duo，或排查相关自动化权限时使用。适用于已构建或已安装 App 的运行验证，不负责实现折叠屏适配或发布 App。\n---\n\n# Device Hub 操作\n\n根据 Xcode 27.2 的实操整理。先发现当前版本的窗口、控件和显示屏，不把下面的英文按钮名、显示屏 ID 或窗口索引当成固定接口。\n\n## 启动和权限探测\n\n从技能目录执行示例；在其他目录执行时，使用脚本的实际绝对路径。\n\n```bash\nxcodebuild -version\nxcode-select -p\nxcrun simctl list devices available\nosascript scripts\u002Fdevicehub.applescript probe\n```\n\n- Xcode 27.2 使用 `DeviceHub.app`，可能没有名为 `Simulator` 的应用。打开选中的 Xcode 所带 Device Hub：`open \"$(xcode-select -p)\u002F..\u002FApplications\u002FDeviceHub.app\"`。路径不存在时先在该 Xcode bundle 内定位。\n- `probe` 返回窗口索引和标题。没有窗口时打开目标设备；多窗口时按标题选择，不默认操作第一个窗口。\n- 遇到 `osascript 不允许辅助访问` \u002F `-1728`，先读 [权限排查](references\u002Fpermissions.md)。不要反复重试控件操作。\n- CoreSimulator 连接失效、日志目录拒绝访问或 Xcode 缓存写入失败，可能来自执行沙箱。按宿主工具机制请求相关命令在沙箱外执行；这不会自动授予 macOS 辅助功能权限。\n\n## 定位和点击\n\n```bash\nosascript scripts\u002Fdevicehub.applescript inspect 1\nosascript scripts\u002Fdevicehub.applescript locate help Open 1\nosascript scripts\u002Fdevicehub.applescript press help Open 1\n```\n\n`inspect` 列出可操作控件及 QML 导航项的 description、help、identifier、enabled、position、size。`name` 经常为空，不能只依赖它。`locate` 只读取；`press` 对精确匹配的目标发送 `AXPress`。\n\n本次 Xcode 27.2 的设备按钮以 `help` 定位：\n\n| help | 动作 |\n| --- | --- |\n| `Open` | 展开 Duo |\n| `Partially Open` | 半折叠 |\n| `Closed` | 合上 |\n| `Rotate Right` | 向右旋转 |\n| `Home` | 设备主屏，区别于 App 内首页 |\n| `Screenshot`、`Record Screen` | 截图、录屏入口 |\n\nApp 内控件可以用 `description` 或 `identifier`，以当前读到的值为准。FMC 的“首页”属于 `AXGenericElement`，按 `description` 可定位。\n\n双屏或预览可能让相同 App 控件在树中出现多份。脚本拒绝点击不唯一的匹配，并显示候选位置。确认目标所在显示面后，最后一个参数可指定从 1 开始的匹配序号：\n\n```bash\nosascript scripts\u002Fdevicehub.applescript locate description 首页 1\nosascript scripts\u002Fdevicehub.applescript press description 首页 1 2\n```\n\n只有确认第二个候选是目标时才使用 `2`。不要盲选第一项。设备形态按钮通常唯一，优先使用 `help`。\n\n`Pressed` 只表示发送动作成功。随后观察截图或控件状态，确认目标页面和姿态确实变化。若控件不支持 `AXPress`，检查支持的动作并按结果处理，不能吞掉错误。\n\n## 双屏截图\n\n从设备列表确定当前 UDID，设置任务变量 `DEVICEHUB_UDID`；不要复用历史会话 UUID。\n\n```bash\nxcrun simctl io \"$DEVICEHUB_UDID\" enumerate\nxcrun simctl io \"$DEVICEHUB_UDID\" screenshot --display=3 \u002Fprivate\u002Ftmp\u002Fdevicehub-inner.png\nsips -g pixelWidth -g pixelHeight \u002Fprivate\u002Ftmp\u002Fdevicehub-inner.png\n```\n\n- 本次 Duo 实例外屏为 `1`、内屏为 `3`。每次先用 `enumerate` 或缺少 `--display` 时的歧义错误核对映射。\n- 不指定显示面可能失败或截到非当前屏幕，不能据此判断 App 消失。\n- 查看实际图像和尺寸后再标注横竖方向。文件名并不能证明方向，本次曾出现命名为 portrait 的横向截图。\n- 平面截图不足以证明曲面触摸和所有折叠避让都正确。区分“发送形态操作”“观察布局变化”和“完成交互验证”。\n- 长期交付的证据保存在项目产物目录；临时目录只用于当前调查。\n\n## 验证与收尾\n\n已有模拟器 App 可通过 `simctl install`、`simctl launch` 安装启动。先核对 bundle ID、UDID、产物平台和架构；真机包不能安装到模拟器。`xcrun vtool -show-build` 和 `xcrun lipo -info` 可核对二进制。\n\n按任务选择外屏、展开内屏、旋转、半折叠、合回外屏和左右分屏。记录前后页面、选择项、输入及业务状态。进程未退出不等于功能和状态通过验收。\n\nApp 控件优先复用 Device Hub 的辅助功能树。AXe 是可选的独立模拟器工具，但本次曾出现 `Timed out creating the simulator remote automation session`；不要把它的超时等同于 Device Hub 不可用，也不要反复等待同类超时。\n\n计数、删除、分享、支付等业务动作遵守用户授权范围。不要为 UI 验证覆盖用户记录、生成样例数据或实际发送内容。需要测试业务状态时使用适当隔离的测试数据。\n\n结束时说明设备、实际执行的场景、观察结果、证据和未验证项。无特别要求时尽量恢复操作前姿态和页面，注意用户可能在测试期间主动操作，不覆盖用户的新选择。\n\n## AppleScript 注意事项\n\n- 先 `set elementList to get entire contents of targetWindow`，再迭代，并用 `contents of entryRef` 解引用。直接迭代未求值的 `entire contents` 会产生属性转换错误。\n- `AXHelp`、`AXIdentifier`、`AXValue` 可能不存在。分别处理缺失值，不能把整个控件记录放进一个静默丢弃的大 `try`。\n- 不固化长串 `group 3 of splitter group 1 …`，侧栏和窗口模式会改变层级。\n- 控件树可能很大，完整遍历需要数十秒。先 `probe`，有需要再 `inspect`；避免并发发送多项 GUI 动作。\n\n本技能指导操作，不替代产品适配规范。QML 自绘导航不会因为用了 iOS 外观而获得 UIKit 容器的全部自动布局行为。\n","# Device Hub 操作\n\n根据 Xcode 27.2 的实操整理。先发现当前版本的窗口、控件和显示屏，不把下面的英文按钮名、显示屏 ID 或窗口索引当成固定接口。\n\n## 启动和权限探测\n\n从技能目录执行示例；在其他目录执行时，使用脚本的实际绝对路径。\n\n```bash\nxcodebuild -version\nxcode-select -p\nxcrun simctl list devices available\nosascript scripts\u002Fdevicehub.applescript probe\n```\n\n- Xcode 27.2 使用 `DeviceHub.app`，可能没有名为 `Simulator` 的应用。打开选中的 Xcode 所带 Device Hub：`open \"$(xcode-select -p)\u002F..\u002FApplications\u002FDeviceHub.app\"`。路径不存在时先在该 Xcode bundle 内定位。\n- `probe` 返回窗口索引和标题。没有窗口时打开目标设备；多窗口时按标题选择，不默认操作第一个窗口。\n- 遇到 `osascript 不允许辅助访问` \u002F `-1728`，先读 [权限排查](references\u002Fpermissions.md)。不要反复重试控件操作。\n- CoreSimulator 连接失效、日志目录拒绝访问或 Xcode 缓存写入失败，可能来自执行沙箱。按宿主工具机制请求相关命令在沙箱外执行；这不会自动授予 macOS 辅助功能权限。\n\n## 定位和点击\n\n```bash\nosascript scripts\u002Fdevicehub.applescript inspect 1\nosascript scripts\u002Fdevicehub.applescript locate help Open 1\nosascript scripts\u002Fdevicehub.applescript press help Open 1\n```\n\n`inspect` 列出可操作控件及 QML 导航项的 description、help、identifier、enabled、position、size。`name` 经常为空，不能只依赖它。`locate` 只读取；`press` 对精确匹配的目标发送 `AXPress`。\n\n本次 Xcode 27.2 的设备按钮以 `help` 定位：\n\n| help | 动作 |\n| --- | --- |\n| `Open` | 展开 Duo |\n| `Partially Open` | 半折叠 |\n| `Closed` | 合上 |\n| `Rotate Right` | 向右旋转 |\n| `Home` | 设备主屏，区别于 App 内首页 |\n| `Screenshot`、`Record Screen` | 截图、录屏入口 |\n\nApp 内控件可以用 `description` 或 `identifier`，以当前读到的值为准。FMC 的“首页”属于 `AXGenericElement`，按 `description` 可定位。\n\n双屏或预览可能让相同 App 控件在树中出现多份。脚本拒绝点击不唯一的匹配，并显示候选位置。确认目标所在显示面后，最后一个参数可指定从 1 开始的匹配序号：\n\n```bash\nosascript scripts\u002Fdevicehub.applescript locate description 首页 1\nosascript scripts\u002Fdevicehub.applescript press description 首页 1 2\n```\n\n只有确认第二个候选是目标时才使用 `2`。不要盲选第一项。设备形态按钮通常唯一，优先使用 `help`。\n\n`Pressed` 只表示发送动作成功。随后观察截图或控件状态，确认目标页面和姿态确实变化。若控件不支持 `AXPress`，检查支持的动作并按结果处理，不能吞掉错误。\n\n## 双屏截图\n\n从设备列表确定当前 UDID，设置任务变量 `DEVICEHUB_UDID`；不要复用历史会话 UUID。\n\n```bash\nxcrun simctl io \"$DEVICEHUB_UDID\" enumerate\nxcrun simctl io \"$DEVICEHUB_UDID\" screenshot --display=3 \u002Fprivate\u002Ftmp\u002Fdevicehub-inner.png\nsips -g pixelWidth -g pixelHeight \u002Fprivate\u002Ftmp\u002Fdevicehub-inner.png\n```\n\n- 本次 Duo 实例外屏为 `1`、内屏为 `3`。每次先用 `enumerate` 或缺少 `--display` 时的歧义错误核对映射。\n- 不指定显示面可能失败或截到非当前屏幕，不能据此判断 App 消失。\n- 查看实际图像和尺寸后再标注横竖方向。文件名并不能证明方向，本次曾出现命名为 portrait 的横向截图。\n- 平面截图不足以证明曲面触摸和所有折叠避让都正确。区分“发送形态操作”“观察布局变化”和“完成交互验证”。\n- 长期交付的证据保存在项目产物目录；临时目录只用于当前调查。\n\n## 验证与收尾\n\n已有模拟器 App 可通过 `simctl install`、`simctl launch` 安装启动。先核对 bundle ID、UDID、产物平台和架构；真机包不能安装到模拟器。`xcrun vtool -show-build` 和 `xcrun lipo -info` 可核对二进制。\n\n按任务选择外屏、展开内屏、旋转、半折叠、合回外屏和左右分屏。记录前后页面、选择项、输入及业务状态。进程未退出不等于功能和状态通过验收。\n\nApp 控件优先复用 Device Hub 的辅助功能树。AXe 是可选的独立模拟器工具，但本次曾出现 `Timed out creating the simulator remote automation session`；不要把它的超时等同于 Device Hub 不可用，也不要反复等待同类超时。\n\n计数、删除、分享、支付等业务动作遵守用户授权范围。不要为 UI 验证覆盖用户记录、生成样例数据或实际发送内容。需要测试业务状态时使用适当隔离的测试数据。\n\n结束时说明设备、实际执行的场景、观察结果、证据和未验证项。无特别要求时尽量恢复操作前姿态和页面，注意用户可能在测试期间主动操作，不覆盖用户的新选择。\n\n## AppleScript 注意事项\n\n- 先 `set elementList to get entire contents of targetWindow`，再迭代，并用 `contents of entryRef` 解引用。直接迭代未求值的 `entire contents` 会产生属性转换错误。\n- `AXHelp`、`AXIdentifier`、`AXValue` 可能不存在。分别处理缺失值，不能把整个控件记录放进一个静默丢弃的大 `try`。\n- 不固化长串 `group 3 of splitter group 1 …`，侧栏和窗口模式会改变层级。\n- 控件树可能很大，完整遍历需要数十秒。先 `probe`，有需要再 `inspect`；避免并发发送多项 GUI 动作。\n\n本技能指导操作，不替代产品适配规范。QML 自绘导航不会因为用了 iOS 外观而获得 UIKit 容器的全部自动布局行为。\n",{"name":5,"description":7},"master","a478051490103b418a3a053bc8fb6a5904633503","https:\u002F\u002Fgithub.com\u002Fmissdeer\u002Fskills","https:\u002F\u002Fgithub.com\u002Fmissdeer","https:\u002F\u002Fismisv.com","2026-11-14 16:38:10",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add missdeer\u002Fskills --skill devicehub-operator",{"tool":36,"command":37},"bunx","bunx skills add missdeer\u002Fskills --skill devicehub-operator",{"tool":39,"command":40},"pnpm","pnpm dlx skills add missdeer\u002Fskills --skill devicehub-operator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmissdeer\u002Fskills\u002Fblob\u002Fmaster\u002Fdevicehub-operator\u002FSKILL.md",true,[44,50],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"references\u002Fpermissions.md","REFERENCE","参考文档",3296,"https:\u002F\u002Fgithub.com\u002Fmissdeer\u002Fskills\u002Fblob\u002Fmaster\u002Fdevicehub-operator\u002Freferences\u002Fpermissions.md",{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"scripts\u002Fdevicehub.applescript","SCRIPT","脚本",5926,"https:\u002F\u002Fgithub.com\u002Fmissdeer\u002Fskills\u002Fblob\u002Fmaster\u002Fdevicehub-operator\u002Fscripts\u002Fdevicehub.applescript",[57,64,71,78,85,92],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7DZ7FTA2WG56YHSYER06JZ1","plantuml","Render PlantUML diagrams through the self-hosted https:\u002F\u002Fplantuml.yii.li server and open the encoded URL in the default browser. Use whenever the user asks to draw, render, or update a PlantUML diagram or sequence diagram. Never download the rendered image — build the encoded URL and open it instead.","https:\u002F\u002Fgithub.com\u002Fmissdeer\u002Fskills\u002Fblob\u002Fmaster\u002Fplantuml\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7894ZTB0D58D6T4G793RNMR","pkg-go-dev","Query Go package and module documentation from pkg.go.dev's official v1beta REST API. ALWAYS prefer this skill over `go doc`, `go list -m -versions`, `go list -m`, or scraping pkg.go.dev HTML when the target is a published module on pkg.go.dev (`go doc` is only correct for code in the local working tree or local module cache). Use when the user asks to look up a Go package's docs, synopsis, exported symbols, available versions, latest version, imports, importers, vulnerabilities\u002FCVEs, or to search pkg.go.dev. Triggers on requests like \"find the latest version of X\", \"what versions of github.com\u002F... exist\", \"show the symbols in package Y\", \"show docs \u002F godoc \u002F godoc.org \u002F pkg.go.dev for Z\", \"search Go packages for Z\", \"what vulnerabilities affect module M\", \"who imports package P\". Covers all of github.com\u002F*, golang.org\u002Fx\u002F*, standard library, and any other module indexed by pkg.go.dev.","https:\u002F\u002Fgithub.com\u002Fmissdeer\u002Fskills\u002Fblob\u002Fmaster\u002Fpkg-go-dev\u002FSKILL.md",[],[],{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7894SNCFMH5QCMKRGS7SRFG","multi-agent-review-plan","Review a high-level plan before implementation by sending prompts through the herdr skill to existing Codex and Antigravity sessions in adjacent panes. Use when the user or an authorized workflow requests multi-agent plan review; assess technology choices, architecture, and business rules, not code details.","https:\u002F\u002Fgithub.com\u002Fmissdeer\u002Fskills\u002Fblob\u002Fmaster\u002Fmulti-agent-review-plan\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7894MSC0ASJE08SC3F5K4BM","multi-agent-review-code","Review a code diff by sending prompts through the herdr skill to existing Codex and Antigravity sessions in adjacent panes, and fix confirmed in-scope findings. Use when the user or an authorized workflow requests a heavyweight review-and-fix loop; ordinary one-pass reviews use audit.","https:\u002F\u002Fgithub.com\u002Fmissdeer\u002Fskills\u002Fblob\u002Fmaster\u002Fmulti-agent-review-code\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7894EA0WJ7PA9WAHQMY3NJ9","jira","Read\u002Fwrite JIRA issues on https:\u002F\u002Fjira.ismisv.com via REST API v2 only. Use ONLY for direct issue CRUD: get an issue by key (SHELFECOMM-1, FOO-123), JQL search, read\u002Fadd comments, list\u002Fapply transitions, create a ticket, (re)assign, link\u002Funlink issues, or list\u002Fupload\u002Fdownload\u002Fdelete attachments. Do NOT use for end-to-end issue resolution workflows (planning, coding, reviewing, committing) — that is the `jira-issue-resolver` skill's job; do NOT use for non-JIRA ticketing (GitHub Issues, Lark Task); do NOT scrape HTML pages or invent endpoints. Authenticates with Basic Auth from `jira-auth.json` (gitignored).","https:\u002F\u002Fgithub.com\u002Fmissdeer\u002Fskills\u002Fblob\u002Fmaster\u002Fjira\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M78945MDBV5GMRWF4E7F0X7C","jira-issue-resolver","End-to-end JIRA issue resolution workflow. Trigger for intents such as \"resolve JIRA XXXX-nn\", \"fix XXXX-nn\", \"handle XXXX-nn\", or a jira.ismisv.com\u002Fbrowse\u002F URL. It runs the full loop of finding the DAG root, creating an isolated Git worktree, producing and self-checking a brief change plan, attaching the plan, coding, testing and application black-box verification, reviewing code, committing, integrating into the main branch with rebase and fast-forward, and writing back to JIRA. One run handles only one issue. If a story has no subtasks, split it first and implement only the first subtask; if all subtasks of a parent are complete, use the parent closeout shortcut.","https:\u002F\u002Fgithub.com\u002Fmissdeer\u002Fskills\u002Fblob\u002Fmaster\u002Fjira-issue-resolver\u002FSKILL.md",[],[]]