Find and click a target object in XR. Use when testing UI interactions, clicking buttons, or verifying interactable elements work correctly.
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "click-target" 技能: 1. 下载 https://raw.githubusercontent.com/facebook/immersive-web-sdk/main/.claude/skills/click-target/SKILL.md 2. 保存为 ~/.claude/skills/click-target/SKILL.md 3. 装好后重载技能,告诉我可以用了
Find a target object in the scene and click it using a controller, then verify the click registered.
$ARGUMENTS should be a description of the target to find (e.g., "the RESTART button", "the scoreboard", "the settings panel").
Use mcp__iwsdk-dev-mcp__scene_get_hierarchy to find the target object's UUID.
Use mcp__iwsdk-dev-mcp__scene_get_object_transform with the target UUID.
positionRelativeToXROrigin for all positioning operationsUse mcp__iwsdk-dev-mcp__xr_look_at with device headset and the target position.
Use mcp__iwsdk-dev-mcp__browser_screenshot to verify:
mcp__iwsdk-dev-mcp__xr_look_at with moveToDistance to get closerUse mcp__iwsdk-dev-mcp__xr_get_transform to check controller position.
mcp__iwsdk-dev-mcp__xr_get_transformmcp__iwsdk-dev-mcp__xr_set_transformUse mcp__iwsdk-dev-mcp__xr_look_at with the controller device and target position.
Use mcp__iwsdk-dev-mcp__xr_select with the controller device.
Use mcp__iwsdk-dev-mcp__browser_get_console_logs with a pattern to check for expected log messages.
mcp__iwsdk-dev-mcp__scene_get_object_transform on child elements to find exact button positionsTo click the RESTART button on the pong scoreboard:
Test grab system (distance grab, one-hand grab, two-hand grab) against the grab example using the iwsdk CLI.
Test XR interactions (ray, poke/touch, dual-mode, audio, UI panel) against the poke example using the iwsdk CLI.
IWSDK project planning and best practices guide. Use when planning new IWSDK features, designing systems/components, reviewing IWSDK code architecture, or when the user asks about IWSDK patterns, ECS design, signals, or reactive programming in this codebase.
Develop and iterate on IWSDK UI panels efficiently. Use when working on PanelUI components, debugging UI layout, or improving UI design in IWSDK applications.
Parallel test orchestrator. Runs all 9 test suites concurrently via Task sub-agents and the iwsdk CLI. Handles build, example setup, dev servers, agent launch, polling, retries, and result aggregation.
Test level system (LevelRoot, LevelTag, default lighting, scene hierarchy) against the poke example using the iwsdk CLI.