[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BSVXMTWVJH3DQ6D3G2SJ38":3,"skill-same:01M6BSVXMTWVJH3DQ6D3G2SJ38":77},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":17,"ownerHtmlUrl":45,"ownerBlogUrl":46,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M6BSVXMTWVJH3DQ6D3G2SJ38","device-interaction","设备应用交互验证","Verify app behavior on device or simulator via screenshots, UI hierarchy, and touch interactions.","通过截图、UI 层次结构和触摸交互，验证应用在系统（设备）或模拟器上的行为。","mikker\u002Fdotfiles","mikker","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2819?v=4","01M6BSPF9WRVEQ89CW9NNJ7JK4","Mikkel Malmberg","01M6BSPFEEZKZSB4B603CZGV9W",116,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmikker\u002Fdotfiles\u002Fblob\u002Fmaster\u002Fagents.symlink\u002Fskills\u002Fxcode-skills\u002Fdevice-interaction\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障","SCENARIO","使用场景",[31,32,33,34],"device interaction","screenshots","ui","verify","2026-11-10 10:12:30",false,"---\nname: device-interaction\ndescription: \"Verify app behavior on device or simulator via screenshots, UI hierarchy, and touch interactions.\"\n---\n# Device Interaction\n\nTRIGGER when: user asks to verify\u002Ftest\u002Fcheck if the app works on device, after implementing a UI-affecting feature that needs device verification, user says \"does it work\", \"test this\", \"check on device\", user reports UI doesn't work as expected, need to debug touch\u002Finteraction issues.\nDO NOT TRIGGER when: user asks about unit tests only, build-only requests without device testing, code review without device testing, simulator configuration questions, changes that don't affect UI (e.g. comments, refactors, non-UI logic).\n\n---\n\n# For the Main Agent\n\n**This is a SUBAGENT skill.** Invoke it via the Agent tool when device verification is needed. If there is an open session for that work, provide that session identifier to a subagent for exclusive use by that subagent.\n\n```\nAgent tool:\n- subagent_type: \"general-purpose\"\n- description: \"Verify login feature works\"\n- prompt: \"Using the device-interaction skill, verify that the login feature works correctly on session \u003Csession-identifier>. Launch the app, capture screenshot and UI hierarchy, check that the login button is visible and tappable, and report if the implementation is working correctly.\"\n```\n\n**After implementing a UI-affecting feature, invoke this skill to verify the implementation works on a device.**\n\n## Session Lifecycle\n\n```\nDeviceInteractionStartWorkspaceSession (workspace-backed; do this early, runs in the background)\n  → DeviceInteractionInstallAndRun (after each code change; includes building)\n    → DeviceEventSynthesize (interact + observe, repeatable)\n  → DeviceInteractionEndSession (when done — keeping sessions open is resource-heavy)\n```\n\nThere are two ways to start a session:\n- **DeviceInteractionStartWorkspaceSession** — bound to a workspace. Required for DeviceInteractionInstallAndRun. Use this when verifying the app you are building.\n- **DeviceInteractionStartSession** — not bound to any workspace. Use this only when interacting with an already-installed app.\n\n## DeviceInteraction(Workspace)StartSession tools\n\n### Device Discovery\n\nWhen opening a new device interaction session, pass a device identifier to select a device, or omit it to use the current destination. Pass an empty string to get a list of available targets.\n\n## DeviceInteractionInstallAndRun tool\n\n### Optional Parameters\n\n- `commandLineArguments` — arguments passed to the app at launch. Use `$(inherited)` as a token to preserve the scheme's existing arguments (e.g. `[\"$(inherited)\", \"--reset-state\"]` to add an extra argument at the end).\n- `environmentVariables` — key\u002Fvalue pairs set in the app's environment at launch. Use `\"$(inherited)\"` as a key to preserve the scheme's existing environment variables (e.g. `{\"$(inherited)\": \"\", \"DEBUG_MODE\": \"1\"}`).\n\nOmit both parameters to leave the scheme's arguments and environment unchanged.\n\n**Prefer these parameters over editing the scheme directly.** They are applied only for that one run and have no lasting effect on the user's configuration.\n\n---\n\n# For the Subagent\n\n**ALWAYS** report UI issues that might be caused by code: overlapping or unreadable text, unexpectedly cropped image\u002Ftext, wrong colors etc.\n\n## DeviceEventSynthesize tool\n\nThis tool allows performing an interaction and observing the state of a device.\n\n## Reading Hierarchy Files\n\nThe hierarchy files include calculated hitPoint positions for each element:\n\n```\nUIView {{100, 200}, {60, 30}}, hitPoint: {130.0, 215.0}\n  UIButton \"Login\" {{110, 205}, {30, 20}}, hitPoint: {125.0, 215.0}\n  UIButton \"Login2\" {{140, 205}, {20, 20}}, hitPoint: {150.0, 215.0}, activationBundleId: com.your.app\n```\n\n- `{100, 200}` - origin position\n- `{50, 30}` - width and height\n- `hitPoint: {125.0, 215.0}` - calculated hitPoint point (best for tapping)\n\n**Always prefer the hitPoint coordinates for touch events.** Only after tapping a hitPoint and confirming (via recapture) it had no effect may you fall back to a raw screenshot-estimated position.\n\nWarning: Elements marked `isRemoteLeafPlaceholder` do not report child elements — interacting with them requires falling back to screenshot-estimated coordinates.\n\n### Multiple Applications (activationBundleId annotations)\n\nWhen windows from more than one application overlap on screen, each element line is annotated with a `activationBundleId: \u003Cbundle-identifier>` suffix.\n\nIf an element line carries a `activationBundleId`, **any interaction with it requires activating that application first** by passing `activationBundleId` parameter to the DeviceEventSynthesize tool.\n\nTip: you can pass `activationBundleId` with no `interactionCommand`.\n**Application activation is expensive so use that only if necessary.**\n\n#### Example:\n\n```\nDevice orientation: Landscape Right\n------------------------\nApplication bundle identifier: com.some.app\nApplication UI orientation: Landscape Left\nApplication, pid: 123, label: ' '\n Window, {{0.0, 0.0}, {1133.0, 744.0}}, hitPoint: {566.5, 372.0}\n  Other, {{0.0, 0.0}, {744.0, 1133.0}}, hitPoint: {372.0, 372.0}\n...\n------------------------\nApplication bundle identifier: com.some.other.app\nApplication UI orientation: Landscape Left\nApplication, pid: 333, label: ' '\n Window, {{0.0, 0.0}, {1133.0, 744.0}}, hitPoint: {566.5, 372.0}\n...\n```\n\n## Interaction Command Syntax\n\nThe `interactionCommand` parameter accepts a command syntax:\n\n| Command | Description |\n|---|---|\n| `t \u003Cx> \u003Cy> [duration]` | Tap at coordinates with optional hold duration |\n| `d \u003Cx> \u003Cy>` | Double tap |\n| `t \u003Cx1> \u003Cy1> f \u003Cx2> \u003Cy2> [duration]` | Swipe from (x1,y1) to (x2,y2) |\n| `drag \u003Cx1> \u003Cy1> \u003Cx2> \u003Cy2> [holdDuration] [moveDuration]` | Drag-and-drop: press-and-hold at (x1,y1) then slowly move to (x2,y2). Use for reordering lists or drag-and-drop targets |\n| `mt [x1 y1, ...] dur [x1 y1, ...] dur ...` | Multi-touch sequence. Each `[...]` keyframe lists touch positions (`x y`). The duration after each block is the travel time to the next keyframe; for the last block it is the hold time before lifting. A finger ends when its slot is an empty comma entry (e.g. `[, x y]`) **or** when the frame has fewer entries than the finger's index — both are equivalent. A finger that reappears in a later keyframe after lifting starts a new tap. |\n| `b h\u002Fp\u002Fu\u002Fd [duration]` | Hardware button: h=Home, p=Power, u=VolUp, d=VolDown |\n| `b c\u002Fs\u002Fa [duration]` | **watchOS only.** c=Digital Crown press, s=side button, a=Action button (some devices only) |\n| `sender keyboard kbd \u003Ctext>` | Type text; **must be the last command in the chain** — all content after `kbd ` is taken verbatim (multiple spaces preserved). For special characters use `\\u{XXXX}` Unicode escapes: `\\u{000A}` (return\u002Fnewline), `\\u{0009}` (tab) |\n| `w duration` | Wait for a duration without any work |\n| `orientation faceDown\u002FfaceUp\u002FlandscapeLeft\u002FlandscapeRight\u002Fportrait\u002FportraitUpsideDown` | Set device orientation (iOS only) |\n| `c \u003Crotations>` | **watchOS only.** Rotate the Digital Crown; sign sets direction, 1.0 = one full revolution |\n\n**Examples:**\n- `\"t 100 200\"` - Tap at (100, 200)\n- `\"d 200 300\"` - Double tap at (200, 300)\n- `\"t 200 600 f 200 200 0.3\"` - Swipe up (scroll to the content below)\n- `\"t 200 200 f 200 600 0.3\"` - Swipe down (scroll to the content above)\n- `\"drag 100 300 100 100\"` - Drag-and-drop from (100,300) to (100,100) with default durations\n- `\"drag 100 300 100 100 0.5 1.5\"` - Drag-and-drop with 0.5s hold, 1.5s move\n- `\"mt [100 200] 0.5 [100 200] 1.0 [300 400] 0.2\"` - Drag: hold at (100,200) for 0.5s, move to (300,400) over 1.0s, hold 0.2s then lift\n- `\"mt [100 300, 300 300] 0.5 [175 300, 225 300] 0.5\"` - Two-finger pinch: both fingers start 200px apart and move toward each other\n- `\"b h\"` - Press home button\n- `\"b h b h\"` - Press home button twice to go to the app switcher\n- `\"b h w 0 b h\"` - Wake and unlock a device (non-passcode devices only)\n- `\"b c\"` - watchOS: press the Digital Crown\n- `\"b s\"` - watchOS: press the side button\n- `\"b a\"` - watchOS: press the Action button (some devices only)\n- `\"sender keyboard kbd hello world\"` - Type text with spaces\n- `\"sender keyboard kbd hello   world\"` - Type text preserving multiple spaces\n- `\"sender keyboard kbd submit\\u{000A}\"` - Type text then press Return\u002Fsubmit\n- `\"w 0.3\"` - Wait for 0.3s\n- `\"orientation landscapeLeft\"` - Rotate device to landscape\n- `\"c 1.0\"` - watchOS: rotate the Digital Crown one full turn (e.g. scroll a list)\n- `\"c -0.5\"` - watchOS: rotate the crown half a turn the other way\n\n## Standard Subagent Workflow\n\nBefore any interaction, always capture and read the hierarchy (and screenshot). After any interaction, capture again and verify the result. For complex components (like toggles or switches), look at nested elements (like `Switch` or `Slider`) — nearby elements might correspond to the actual control. When done, report findings to the main agent.\n\n- To capture without interacting, use DeviceEventSynthesize with an empty interactionCommand.\n- Never guess positions from screenshots alone — use hierarchy hitPoint coordinates; screenshot estimation is only a fallback after a hitPoint is tried and fails.\n- If not confident or thumbnail resolution is insufficient, analyze the full-size screenshot.\n\n## Timing and Retries\n\n- **App launch**: After starting a session, the app may take a few seconds to load. Capture the hierarchy and check it has meaningful UI elements before interacting. If the hierarchy is mostly empty or shows a launch screen, capture again before proceeding.\n- **After interaction**: If a tap or swipe doesn't produce the expected change, recapture the hierarchy and retry the interaction once (the element may have shifted during an animation). If it still fails after one retry, report the failure rather than retrying indefinitely.\n- **Loading states**: If the hierarchy shows a spinner or loading indicator, capture again after a brief pause. Do not interact with elements that are still loading.\n- **Performance**: Avoid adding wait delays that might slow down the process. Tools are designed to complete once animations are done.\n\n## Judging Success vs Failure\n\nWhen verifying, distinguish between these categories:\n\n- **Functional bug** (always report): element doesn't respond to tap, navigation goes to wrong screen, crash, data not displayed, missing expected UI element.\n- **Visual\u002Flayout bug** (always report): overlapping text, truncated labels, elements rendered off-screen, wrong colors, broken alignment.\n- **Transient state** (do NOT report as bug): loading spinners, brief animations, keyboard appearing\u002Fdismissing. Capture again after the transition completes.\n- **Unexpected exits** (always report): crashes, application exits. To identify, track process id and capture process's standard output.\n- **Expected behavior** (do NOT report as bug): empty states with placeholder text, disabled buttons when form is incomplete, permission dialogs.\n\n## Error Handling\n\n- If application is not visible, retry once, as this might be caused by a slow device.\n- If tap target unclear, re-read hierarchy data for correct hitPoint coordinates.\n- You can inspect runtime logs to troubleshoot. If you suspect timing bugs, suggest to the main agent that temporarily adding `print` statements in the relevant code may help diagnose the issue.\n- Report issues back to the main agent with details and suggestions.","# Device Interaction\n\nTRIGGER when: user asks to verify\u002Ftest\u002Fcheck if the app works on device, after implementing a UI-affecting feature that needs device verification, user says \"does it work\", \"test this\", \"check on device\", user reports UI doesn't work as expected, need to debug touch\u002Finteraction issues.\nDO NOT TRIGGER when: user asks about unit tests only, build-only requests without device testing, code review without device testing, simulator configuration questions, changes that don't affect UI (e.g. comments, refactors, non-UI logic).\n\n---\n\n# For the Main Agent\n\n**This is a SUBAGENT skill.** Invoke it via the Agent tool when device verification is needed. If there is an open session for that work, provide that session identifier to a subagent for exclusive use by that subagent.\n\n```\nAgent tool:\n- subagent_type: \"general-purpose\"\n- description: \"Verify login feature works\"\n- prompt: \"Using the device-interaction skill, verify that the login feature works correctly on session \u003Csession-identifier>. Launch the app, capture screenshot and UI hierarchy, check that the login button is visible and tappable, and report if the implementation is working correctly.\"\n```\n\n**After implementing a UI-affecting feature, invoke this skill to verify the implementation works on a device.**\n\n## Session Lifecycle\n\n```\nDeviceInteractionStartWorkspaceSession (workspace-backed; do this early, runs in the background)\n  → DeviceInteractionInstallAndRun (after each code change; includes building)\n    → DeviceEventSynthesize (interact + observe, repeatable)\n  → DeviceInteractionEndSession (when done — keeping sessions open is resource-heavy)\n```\n\nThere are two ways to start a session:\n- **DeviceInteractionStartWorkspaceSession** — bound to a workspace. Required for DeviceInteractionInstallAndRun. Use this when verifying the app you are building.\n- **DeviceInteractionStartSession** — not bound to any workspace. Use this only when interacting with an already-installed app.\n\n## DeviceInteraction(Workspace)StartSession tools\n\n### Device Discovery\n\nWhen opening a new device interaction session, pass a device identifier to select a device, or omit it to use the current destination. Pass an empty string to get a list of available targets.\n\n## DeviceInteractionInstallAndRun tool\n\n### Optional Parameters\n\n- `commandLineArguments` — arguments passed to the app at launch. Use `$(inherited)` as a token to preserve the scheme's existing arguments (e.g. `[\"$(inherited)\", \"--reset-state\"]` to add an extra argument at the end).\n- `environmentVariables` — key\u002Fvalue pairs set in the app's environment at launch. Use `\"$(inherited)\"` as a key to preserve the scheme's existing environment variables (e.g. `{\"$(inherited)\": \"\", \"DEBUG_MODE\": \"1\"}`).\n\nOmit both parameters to leave the scheme's arguments and environment unchanged.\n\n**Prefer these parameters over editing the scheme directly.** They are applied only for that one run and have no lasting effect on the user's configuration.\n\n---\n\n# For the Subagent\n\n**ALWAYS** report UI issues that might be caused by code: overlapping or unreadable text, unexpectedly cropped image\u002Ftext, wrong colors etc.\n\n## DeviceEventSynthesize tool\n\nThis tool allows performing an interaction and observing the state of a device.\n\n## Reading Hierarchy Files\n\nThe hierarchy files include calculated hitPoint positions for each element:\n\n```\nUIView {{100, 200}, {60, 30}}, hitPoint: {130.0, 215.0}\n  UIButton \"Login\" {{110, 205}, {30, 20}}, hitPoint: {125.0, 215.0}\n  UIButton \"Login2\" {{140, 205}, {20, 20}}, hitPoint: {150.0, 215.0}, activationBundleId: com.your.app\n```\n\n- `{100, 200}` - origin position\n- `{50, 30}` - width and height\n- `hitPoint: {125.0, 215.0}` - calculated hitPoint point (best for tapping)\n\n**Always prefer the hitPoint coordinates for touch events.** Only after tapping a hitPoint and confirming (via recapture) it had no effect may you fall back to a raw screenshot-estimated position.\n\nWarning: Elements marked `isRemoteLeafPlaceholder` do not report child elements — interacting with them requires falling back to screenshot-estimated coordinates.\n\n### Multiple Applications (activationBundleId annotations)\n\nWhen windows from more than one application overlap on screen, each element line is annotated with a `activationBundleId: \u003Cbundle-identifier>` suffix.\n\nIf an element line carries a `activationBundleId`, **any interaction with it requires activating that application first** by passing `activationBundleId` parameter to the DeviceEventSynthesize tool.\n\nTip: you can pass `activationBundleId` with no `interactionCommand`.\n**Application activation is expensive so use that only if necessary.**\n\n#### Example:\n\n```\nDevice orientation: Landscape Right\n------------------------\nApplication bundle identifier: com.some.app\nApplication UI orientation: Landscape Left\nApplication, pid: 123, label: ' '\n Window, {{0.0, 0.0}, {1133.0, 744.0}}, hitPoint: {566.5, 372.0}\n  Other, {{0.0, 0.0}, {744.0, 1133.0}}, hitPoint: {372.0, 372.0}\n...\n------------------------\nApplication bundle identifier: com.some.other.app\nApplication UI orientation: Landscape Left\nApplication, pid: 333, label: ' '\n Window, {{0.0, 0.0}, {1133.0, 744.0}}, hitPoint: {566.5, 372.0}\n...\n```\n\n## Interaction Command Syntax\n\nThe `interactionCommand` parameter accepts a command syntax:\n\n| Command | Description |\n|---|---|\n| `t \u003Cx> \u003Cy> [duration]` | Tap at coordinates with optional hold duration |\n| `d \u003Cx> \u003Cy>` | Double tap |\n| `t \u003Cx1> \u003Cy1> f \u003Cx2> \u003Cy2> [duration]` | Swipe from (x1,y1) to (x2,y2) |\n| `drag \u003Cx1> \u003Cy1> \u003Cx2> \u003Cy2> [holdDuration] [moveDuration]` | Drag-and-drop: press-and-hold at (x1,y1) then slowly move to (x2,y2). Use for reordering lists or drag-and-drop targets |\n| `mt [x1 y1, ...] dur [x1 y1, ...] dur ...` | Multi-touch sequence. Each `[...]` keyframe lists touch positions (`x y`). The duration after each block is the travel time to the next keyframe; for the last block it is the hold time before lifting. A finger ends when its slot is an empty comma entry (e.g. `[, x y]`) **or** when the frame has fewer entries than the finger's index — both are equivalent. A finger that reappears in a later keyframe after lifting starts a new tap. |\n| `b h\u002Fp\u002Fu\u002Fd [duration]` | Hardware button: h=Home, p=Power, u=VolUp, d=VolDown |\n| `b c\u002Fs\u002Fa [duration]` | **watchOS only.** c=Digital Crown press, s=side button, a=Action button (some devices only) |\n| `sender keyboard kbd \u003Ctext>` | Type text; **must be the last command in the chain** — all content after `kbd ` is taken verbatim (multiple spaces preserved). For special characters use `\\u{XXXX}` Unicode escapes: `\\u{000A}` (return\u002Fnewline), `\\u{0009}` (tab) |\n| `w duration` | Wait for a duration without any work |\n| `orientation faceDown\u002FfaceUp\u002FlandscapeLeft\u002FlandscapeRight\u002Fportrait\u002FportraitUpsideDown` | Set device orientation (iOS only) |\n| `c \u003Crotations>` | **watchOS only.** Rotate the Digital Crown; sign sets direction, 1.0 = one full revolution |\n\n**Examples:**\n- `\"t 100 200\"` - Tap at (100, 200)\n- `\"d 200 300\"` - Double tap at (200, 300)\n- `\"t 200 600 f 200 200 0.3\"` - Swipe up (scroll to the content below)\n- `\"t 200 200 f 200 600 0.3\"` - Swipe down (scroll to the content above)\n- `\"drag 100 300 100 100\"` - Drag-and-drop from (100,300) to (100,100) with default durations\n- `\"drag 100 300 100 100 0.5 1.5\"` - Drag-and-drop with 0.5s hold, 1.5s move\n- `\"mt [100 200] 0.5 [100 200] 1.0 [300 400] 0.2\"` - Drag: hold at (100,200) for 0.5s, move to (300,400) over 1.0s, hold 0.2s then lift\n- `\"mt [100 300, 300 300] 0.5 [175 300, 225 300] 0.5\"` - Two-finger pinch: both fingers start 200px apart and move toward each other\n- `\"b h\"` - Press home button\n- `\"b h b h\"` - Press home button twice to go to the app switcher\n- `\"b h w 0 b h\"` - Wake and unlock a device (non-passcode devices only)\n- `\"b c\"` - watchOS: press the Digital Crown\n- `\"b s\"` - watchOS: press the side button\n- `\"b a\"` - watchOS: press the Action button (some devices only)\n- `\"sender keyboard kbd hello world\"` - Type text with spaces\n- `\"sender keyboard kbd hello   world\"` - Type text preserving multiple spaces\n- `\"sender keyboard kbd submit\\u{000A}\"` - Type text then press Return\u002Fsubmit\n- `\"w 0.3\"` - Wait for 0.3s\n- `\"orientation landscapeLeft\"` - Rotate device to landscape\n- `\"c 1.0\"` - watchOS: rotate the Digital Crown one full turn (e.g. scroll a list)\n- `\"c -0.5\"` - watchOS: rotate the crown half a turn the other way\n\n## Standard Subagent Workflow\n\nBefore any interaction, always capture and read the hierarchy (and screenshot). After any interaction, capture again and verify the result. For complex components (like toggles or switches), look at nested elements (like `Switch` or `Slider`) — nearby elements might correspond to the actual control. When done, report findings to the main agent.\n\n- To capture without interacting, use DeviceEventSynthesize with an empty interactionCommand.\n- Never guess positions from screenshots alone — use hierarchy hitPoint coordinates; screenshot estimation is only a fallback after a hitPoint is tried and fails.\n- If not confident or thumbnail resolution is insufficient, analyze the full-size screenshot.\n\n## Timing and Retries\n\n- **App launch**: After starting a session, the app may take a few seconds to load. Capture the hierarchy and check it has meaningful UI elements before interacting. If the hierarchy is mostly empty or shows a launch screen, capture again before proceeding.\n- **After interaction**: If a tap or swipe doesn't produce the expected change, recapture the hierarchy and retry the interaction once (the element may have shifted during an animation). If it still fails after one retry, report the failure rather than retrying indefinitely.\n- **Loading states**: If the hierarchy shows a spinner or loading indicator, capture again after a brief pause. Do not interact with elements that are still loading.\n- **Performance**: Avoid adding wait delays that might slow down the process. Tools are designed to complete once animations are done.\n\n## Judging Success vs Failure\n\nWhen verifying, distinguish between these categories:\n\n- **Functional bug** (always report): element doesn't respond to tap, navigation goes to wrong screen, crash, data not displayed, missing expected UI element.\n- **Visual\u002Flayout bug** (always report): overlapping text, truncated labels, elements rendered off-screen, wrong colors, broken alignment.\n- **Transient state** (do NOT report as bug): loading spinners, brief animations, keyboard appearing\u002Fdismissing. Capture again after the transition completes.\n- **Unexpected exits** (always report): crashes, application exits. To identify, track process id and capture process's standard output.\n- **Expected behavior** (do NOT report as bug): empty states with placeholder text, disabled buttons when form is incomplete, permission dialogs.\n\n## Error Handling\n\n- If application is not visible, retry once, as this might be caused by a slow device.\n- If tap target unclear, re-read hierarchy data for correct hitPoint coordinates.\n- You can inspect runtime logs to troubleshoot. If you suspect timing bugs, suggest to the main agent that temporarily adding `print` statements in the relevant code may help diagnose the issue.\n- Report issues back to the main agent with details and suggestions.",{"name":5,"description":7},"master","8d883d350240b10cc23da854de1fb212e889caed","agents.symlink\u002Fskills\u002Fxcode-skills\u002Fdevice-interaction",4,"https:\u002F\u002Fgithub.com\u002Fmikker\u002Fdotfiles","https:\u002F\u002Fgithub.com\u002Fmikker","https:\u002F\u002Fmikkelmalmberg.com\u002Fama","Top Highlight – research at @githubnext","2026-11-10 22:09:39",{"source":9,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add mikker\u002Fdotfiles --skill device-interaction",{"tool":55,"command":56},"bunx","bunx skills add mikker\u002Fdotfiles --skill device-interaction",{"tool":58,"command":59},"pnpm","pnpm dlx skills add mikker\u002Fdotfiles --skill device-interaction","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmikker\u002Fdotfiles\u002Fblob\u002Fmaster\u002Fagents.symlink\u002Fskills\u002Fxcode-skills\u002Fdevice-interaction\u002FSKILL.md",true,[63,69,73],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fcommon-mistakes.md","REFERENCE","参考文档",1355,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fagent-patterns-plugin\u002Fskills\u002Fcold-read-gate\u002Freferences\u002Fcommon-mistakes.md",{"path":70,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fevidence.md",1135,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fagent-patterns-plugin\u002Fskills\u002Fcold-read-gate\u002Freferences\u002Fevidence.md",{"path":74,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fworkflow-script.md",878,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fagent-patterns-plugin\u002Fskills\u002Fcold-read-gate\u002Freferences\u002Fworkflow-script.md",[78,88,114,137,162,183],{"skillNo":79,"name":80,"nameZh":17,"description":81,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":35},"01M6WFXRC2WZQA9G5AT4D6PCAY","unslop","Cut AI tells from any writing.","https:\u002F\u002Fgithub.com\u002Fmikker\u002Fdotfiles\u002Fblob\u002Fmaster\u002Fagents.symlink\u002Fskills\u002Funslop\u002FSKILL.md",[],[80,85,86,87],"writing","cut","true",{"skillNo":89,"name":90,"nameZh":17,"description":91,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":35},"01M6WFWGJTZWZTVED8A7DHZSCB","stageshow","Build faux product UI that looks like a real product, as a still illustration or an animated demo with a cursor. Browser and app windows, dashboards, phones, notifications, terminals, bento grids and cursor walkthroughs, framed, masked and cropped the way a marketing page, feature card or docs hero needs them. Use whenever someone wants a fake or mocked UI, a product demo or walkthrough animation, a hero or feature-card illustration of an app, a product shot in the style of a polished marketing site, or an animated cursor doing things in an interface, even if they never say \"faux UI\". React and plain CSS.","https:\u002F\u002Fgithub.com\u002Fmikker\u002Fdotfiles\u002Fblob\u002Fmaster\u002Fagents.symlink\u002Fskills\u002Fstageshow\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmikker\u002Fdotfiles\u002Fblob\u002Fmaster\u002Fagents.symlink\u002Fskills\u002Fstageshow\u002FSKILL.md",[],[90,96,97,98,99,100,101,33,102,103,104,105,106,107,108,109,110,111,112,113],"css","react","windows","browser","dashboards","product","notifications","Animation","walkthrough","marketing","never","feature","as","app","framed","card","interface","hero",{"skillNo":115,"name":116,"nameZh":17,"description":117,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":35},"01M6WFW0TZQ1H9C9X4HMZBTBYZ","clean-copy","Cut interface copy that shouldn't exist — captions that restate a label, hints that pre-empt a worry the user never had, warnings that are scar tissue from a fixed bug. Use when writing or reviewing any user-facing string (labels, hints, empty states, toasts, confirmations, button text), or when asked to clean up \u002F tighten copy.","https:\u002F\u002Fgithub.com\u002Fmikker\u002Fdotfiles\u002Fblob\u002Fmaster\u002Fagents.symlink\u002Fskills\u002Fclean-copy\u002FSKILL.md",[],[121,122,123,112,124,125,126,127,128,129,85,130,131,132,133,106,134,135,86,136],"copy","clean copy","clean","labels","states","when","restate","empty","STRING","Captions","text","user","use","up","bug","tighten",{"skillNo":138,"name":139,"nameZh":140,"description":141,"descriptionZh":142,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":143,"categories":144,"keywords":151,"publishedAt":35},"01M6BSWBGGT11ZA2BQ0EJH2ZBN","elyx","Elyx 设计文件处理","Elyx is a design tool with local, AI-friendly `.elyx` files for screens, components, layouts, flows, and design systems. This skill is only available to agents running in external harnesses while using the Elyx CLI. It is unavailable and must not be used when running in the ACP harness inside the Elyx app. In external harnesses, use this skill before reading, reasoning about, or answering any question that touches Elyx or `.elyx` files — authoring, editing, validating, inspecting, reviewing, refactoring, comparing, or recommending changes, including read-only analysis where you produce no edit. Do not reason about `.elyx` from source text alone; imports, instances, overrides, and layout only resolve through the tools.","Elyx 是一款设计工具，使用本地的、对 AI 友好的 `.elyx` 文件来管理屏幕、组件、布局、流程和设计系统。此技能仅对在外部 harness 中运行并使用 Elyx CLI 的智能体可用。在 Elyx 应用内部的 ACP harness 中运行时不可用，且不得使用。在外部 harness 中，凡涉及 Elyx 或 `.elyx` 文件的问题——包括创作、编辑、验证、检查、审查、重构、比较或推荐修改，以及不产生任何编辑的只读分析——在读取、推理或回答之前都应先使用此技能。不要仅凭源文本推断 `.elyx`；导入、实例、覆盖和布局只能通过工具来解析。","https:\u002F\u002Fgithub.com\u002Fmikker\u002Fdotfiles\u002Fblob\u002Fmaster\u002Fpi\u002Fskills\u002Felyx\u002FSKILL.md",[145,148],{"categoryNo":146,"categoryName":147,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TKC3WYCB32755485KS6","视觉设计",{"categoryNo":149,"categoryName":150,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQMKHSMFVQHR2KYAEVN","界面设计师",[139,152,153,154,155,156,157,158,159,160,161],"acp","design","cli","components","reasoning","design systems","harness","produce","Tools","analysis",{"skillNo":163,"name":164,"nameZh":165,"description":166,"descriptionZh":167,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":168,"categories":169,"keywords":176,"publishedAt":35},"01M6BSW8K6Z805WVG0670SHXY9","uikit-app-modernization","UIKit 应用多窗口现代化改造","Modernizes UIKit apps for multi-window environments by replacing legacy shared-state APIs with context-appropriate modern alternatives. This includes references to mainScreen, interfaceOrientation, application and scene lifecycle, as well as safe area inset updates.","通过将旧的共享状态 API 替换为符合上下文的现代替代方案，使 UIKit 应用现代化以适配多窗口环境。这包括对 mainScreen、interfaceOrientation、application 与 scene 生命周期，以及安全区域 inset 更新的引用。","https:\u002F\u002Fgithub.com\u002Fmikker\u002Fdotfiles\u002Fblob\u002Fmaster\u002Fagents.symlink\u002Fskills\u002Fxcode-skills\u002Fuikit-app-modernization\u002FSKILL.md",[170,173],{"categoryNo":171,"categoryName":172,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":174,"categoryName":175,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CA037B4PDBN5RD34KV8RPR","Apple 平台应用开发",[177,178,179,180,181,182],"uikit app modernization","app modernization","modernization","safe","state","lifecycle",{"skillNo":184,"name":185,"nameZh":186,"description":187,"descriptionZh":188,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":189,"categories":190,"keywords":193,"publishedAt":35},"01M6BSW5SCT7GQ4QX7CBSB4WF1","swiftui-whats-new-27","SwiftUI 27 新特性与变更","New SwiftUI APIs, behaviors, and deprecations in the 2027 OS releases (iOS 27 and aligned macOS\u002FwatchOS\u002FtvOS\u002FvisionOS). Consult when asked what's new in SwiftUI 27, or when working with: - @State compile errors after an SDK update (\"used before being initialized\", \"invalid redeclaration of synthesized property\") or @State becaming a macro - @ViewBuilder\u002F@ContentBuilder ambiguous overloads or type-check regressions; drag-to-reorder in any container (List, stacks, grids, custom layouts) via reorderable()\u002FreorderContainer and its drag-and-drop - AsyncImage caching, reloading on scroll, or a custom URLSession - Swipe actions outside List (ScrollView, LazyVStack, LazyVGrid) via swipeActions()\u002FswipeActionsContainer() - Toolbar overflow, visibility (visibilityPriority, ToolbarOverflowMenu, toolbarMinimizeBehavior), and pinning - Presenting a confirmationDialog or alert from an optional item binding","2027 年操作系统版本（iOS 27 及同步的 macOS\u002FwatchOS\u002FtvOS\u002FvisionOS）中新增的 SwiftUI API、行为变更和弃用项。当被问及 SwiftUI 27 有哪些新特性，或处理以下工作时请查阅： - SDK 更新后的 @State 编译错误（\"used before being initialized\"、\"invalid redeclaration of synthesized property\"），或 @State 变成宏 - @ViewBuilder\u002F@ContentBuilder 的歧义重载或类型检查回归；通过 reorderable()\u002FreorderContainer 及其拖放功能在任意容器（List、stacks、grids、自定义布局）中实现拖拽重排 - AsyncImage 缓存、滚动时重新加载或使用自定义 URLSession - 通过 swipeActions()\u002FswipeActionsContainer() 在 List 之外（ScrollView、LazyVStack、LazyVGrid）使用滑动操作 - Toolbar 溢出、可见性（visibilityPriority、ToolbarOverflowMenu、toolbarMinimizeBehavior）与固定（pinning） - 从可选 item 绑定呈现 confirmationDialog 或 alert","https:\u002F\u002Fgithub.com\u002Fmikker\u002Fdotfiles\u002Fblob\u002Fmaster\u002Fagents.symlink\u002Fskills\u002Fxcode-skills\u002Fswiftui-whats-new-27\u002FSKILL.md",[191,192],{"categoryNo":171,"categoryName":172,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":174,"categoryName":175,"taxonomyType":28,"taxonomyTypeDesc":29},[194,195,196,181,197,198,199,200,201],"swiftui whats new 27","sdk","update","compile","actions","ios","macro","macos"]