[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6993TAHGHAWX3M5S320QZFA":3,"skill-same:01M6993TAHGHAWX3M5S320QZFA":83},{"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":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":54,"ownerHtmlUrl":55,"ownerBlogUrl":56,"ownerDescription":57,"updatedAt":58,"install":59,"resources":72},"01M6993TAHGHAWX3M5S320QZFA","xb-debug-app",null,"Debug and repair XR Blocks applications. Use when an app fails to build or run, produces incorrect UI, interaction, sensing, or rendering behavior, differs between simulator and device, leaks resources, or contains obsolete SDK patterns.","google\u002Fxrblocks","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M6993A0Y0E9SVC7MR1FQ03S3",517,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fxrblocks\u002Fblob\u002Fmain\u002Fskills\u002Fxb-debug-app\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"xb debug app","debug app","debug","app","when","sdk","blocks","rendering","resources","interaction","sensing","repair","patterns","device","build","use","behavior","applications","ui","run","2026-11-10 10:12:30",false,"---\nname: xb-debug-app\ndescription: Debug and repair XR Blocks applications. Use when an app fails to build or run, produces incorrect UI, interaction, sensing, or rendering behavior, differs between simulator and device, leaks resources, or contains obsolete SDK patterns.\n---\n\n# Debug an XR Blocks app\n\nFollow one **red → cause → green** thread. Preserve the failing observation\nuntil one proved cause explains it, then make that same observation pass.\n\n## 1. Freeze the failure contract\n\nRecord the exact entry, launch command and URL, target form factor, expected\nresult, observed result, first known failure, and whether the user requested a\ndiagnosis or a repair. Snapshot the existing worktree and treat unrelated\nchanges as user-owned.\n\nChoose one observable check for the failure: a build error, rejected import,\nuncaught exception, missing first frame, wrong event field, incorrect state,\nresource that survives teardown, or simulator\u002Fdevice mismatch.\n\nComplete this step when one exact check is reproducibly **red** and the allowed\nmutation scope is explicit.\n\n## 2. Capture the first causal signal\n\nRun the narrowest command or interaction that reaches the failure. Record the\nearliest relevant error, state transition, or incorrect value. Separate that\nsignal from later cascade errors. For intermittent behavior, reduce the trigger\nto a repeatable input sequence before changing code.\n\nInspect configuration and source without editing. Confirm the resolved\n`xrblocks` package version, application entry, dependency graph, form factor,\npermissions, and optional feature state that the failing path actually uses.\n\nComplete this step when the red check has a stable trigger and one captured\nsignal close to its producer.\n\n## 3. Prove one cause at a current boundary\n\nRead [`references\u002Fdiagnostic-branches.md`](references\u002Fdiagnostic-branches.md),\nthen load only the branch that matches the captured signal. Verify every\nsuspect public symbol against the installed declaration or package export. In\nthe XR Blocks repository, use `src\u002Fxrblocks.ts` or the addon's deliberate public\nentry as import authority. Compare the nearest current manual and executable\ntemplate or sample.\n\nTrace the failing value through its producer, owner, consumer, lifecycle call,\nand cleanup path. State one falsifiable hypothesis: “X causes Y because Z.” Use\na read-only probe or the smallest temporary assertion to distinguish it from\nthe strongest alternative.\n\nA successful docs build, source file, ignored generated file, or old example\ndoes not prove that an application import is public and current.\n\nComplete this step when one cause explains the red check, its competing\nhypothesis has contrary evidence, and the supported replacement boundary is\nidentified.\n\n## 4. Repair the current seam\n\nFor diagnosis-only requests, report the proved cause and stop before mutation.\nFor repair requests, change the smallest current owner that removes the cause.\nPreserve the application's delivery model and replace obsolete patterns\ndirectly with the current interface. Keep one engine lifecycle, dependency\ngraph, interaction resolver, UI tree, and state owner.\n\nAdd or adjust the smallest proof that fails without the repair. Release any new\nlistener, timer, media track, network session, GPU object, or asynchronous\noperation through one idempotent cleanup owner.\n\nComplete this step when the original red check is **green** because of the\nrepair, not because the failing path was bypassed or its error hidden.\n\n## 5. Widen proof and hand off\n\nRe-run the exact green check, then the smallest relevant build or type check,\nstartup path, primary interaction, and teardown path. Check simulator and real\ndevice behavior separately when their sensors, permissions, cameras, depth, or\ninput fidelity differ. Verify root-package and addon imports again after the\nbuild succeeds.\n\nReturn the original symptom, proved cause, changed owner, red and green\nevidence, exact reproduction steps, completed checks, and remaining\ndevice-only or service-dependent checks.\n\nFinish when every modified boundary has direct evidence and the user can\nrepeat the repaired behavior without inferring setup or expected state from\nsource.\n","# Debug an XR Blocks app\n\nFollow one **red → cause → green** thread. Preserve the failing observation\nuntil one proved cause explains it, then make that same observation pass.\n\n## 1. Freeze the failure contract\n\nRecord the exact entry, launch command and URL, target form factor, expected\nresult, observed result, first known failure, and whether the user requested a\ndiagnosis or a repair. Snapshot the existing worktree and treat unrelated\nchanges as user-owned.\n\nChoose one observable check for the failure: a build error, rejected import,\nuncaught exception, missing first frame, wrong event field, incorrect state,\nresource that survives teardown, or simulator\u002Fdevice mismatch.\n\nComplete this step when one exact check is reproducibly **red** and the allowed\nmutation scope is explicit.\n\n## 2. Capture the first causal signal\n\nRun the narrowest command or interaction that reaches the failure. Record the\nearliest relevant error, state transition, or incorrect value. Separate that\nsignal from later cascade errors. For intermittent behavior, reduce the trigger\nto a repeatable input sequence before changing code.\n\nInspect configuration and source without editing. Confirm the resolved\n`xrblocks` package version, application entry, dependency graph, form factor,\npermissions, and optional feature state that the failing path actually uses.\n\nComplete this step when the red check has a stable trigger and one captured\nsignal close to its producer.\n\n## 3. Prove one cause at a current boundary\n\nRead [`references\u002Fdiagnostic-branches.md`](references\u002Fdiagnostic-branches.md),\nthen load only the branch that matches the captured signal. Verify every\nsuspect public symbol against the installed declaration or package export. In\nthe XR Blocks repository, use `src\u002Fxrblocks.ts` or the addon's deliberate public\nentry as import authority. Compare the nearest current manual and executable\ntemplate or sample.\n\nTrace the failing value through its producer, owner, consumer, lifecycle call,\nand cleanup path. State one falsifiable hypothesis: “X causes Y because Z.” Use\na read-only probe or the smallest temporary assertion to distinguish it from\nthe strongest alternative.\n\nA successful docs build, source file, ignored generated file, or old example\ndoes not prove that an application import is public and current.\n\nComplete this step when one cause explains the red check, its competing\nhypothesis has contrary evidence, and the supported replacement boundary is\nidentified.\n\n## 4. Repair the current seam\n\nFor diagnosis-only requests, report the proved cause and stop before mutation.\nFor repair requests, change the smallest current owner that removes the cause.\nPreserve the application's delivery model and replace obsolete patterns\ndirectly with the current interface. Keep one engine lifecycle, dependency\ngraph, interaction resolver, UI tree, and state owner.\n\nAdd or adjust the smallest proof that fails without the repair. Release any new\nlistener, timer, media track, network session, GPU object, or asynchronous\noperation through one idempotent cleanup owner.\n\nComplete this step when the original red check is **green** because of the\nrepair, not because the failing path was bypassed or its error hidden.\n\n## 5. Widen proof and hand off\n\nRe-run the exact green check, then the smallest relevant build or type check,\nstartup path, primary interaction, and teardown path. Check simulator and real\ndevice behavior separately when their sensors, permissions, cameras, depth, or\ninput fidelity differ. Verify root-package and addon imports again after the\nbuild succeeds.\n\nReturn the original symptom, proved cause, changed owner, red and green\nevidence, exact reproduction steps, completed checks, and remaining\ndevice-only or service-dependent checks.\n\nFinish when every modified boundary has direct evidence and the user can\nrepeat the repaired behavior without inferring setup or expected state from\nsource.\n",{"name":5,"description":7},"main","ab20b56560350895180bde15e2faa1ebbccb30c0","skills\u002Fxb-debug-app",105,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fxrblocks","https:\u002F\u002Fxrblocks.github.io","https:\u002F\u002Fgithub.com\u002Fgoogle","https:\u002F\u002Fopensource.google\u002F","Google ❤️ Open Source","2026-11-14 06:48:49",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add google\u002Fxrblocks --skill xb-debug-app",{"tool":65,"command":66},"bunx","bunx skills add google\u002Fxrblocks --skill xb-debug-app",{"tool":68,"command":69},"pnpm","pnpm dlx skills add google\u002Fxrblocks --skill xb-debug-app","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fxrblocks\u002Fblob\u002Fmain\u002Fskills\u002Fxb-debug-app\u002FSKILL.md",true,[73,79],{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"agents\u002Fopenai.yaml","REFERENCE","参考文档",248,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fxrblocks\u002Fblob\u002Fmain\u002Fskills\u002Fxb-debug-app\u002Fagents\u002Fopenai.yaml",{"path":80,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fdiagnostic-branches.md",9352,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fxrblocks\u002Fblob\u002Fmain\u002Fskills\u002Fxb-debug-app\u002Freferences\u002Fdiagnostic-branches.md",[84,106,121,146,167,191],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":44},"01M6993RD0VK0VPN8YYP3FNQX1","xb-contribute-sdk","Complete an XR Blocks SDK change across implementation, runtime wiring, public exports, proof, build output, examples, and canonical documentation. Use when editing the XR Blocks repository rather than an application that consumes it.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fxrblocks\u002Fblob\u002Fmain\u002Fskills\u002Fxb-contribute-sdk\u002FSKILL.md",[],[29,91,92,93,94,95,96,97,98,39,99,38,100,101,102,103,30,104,105,28],"xb contribute sdk","contribute","change","documentation","examples","repository","editing","public","implementation","across","runtime","proof","complete","output","wiring",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":44},"01M6993PEZ751YR930CS86CKRY","xb-build-app","Build or extend a complete XR Blocks application. Use when the request concerns an app scaffold, a whole experience, several SDK areas, or an end-to-end simulator or XR handoff rather than one focused subsystem.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fxrblocks\u002Fblob\u002Fmain\u002Fskills\u002Fxb-build-app\u002FSKILL.md",[],[113,38,27,114,115,29,116,39,117,118,103,30,119,120,28],"xb build app","build app","handoff","scaffold","application","end","request","extend",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":44},"01M6993MT5KMBBZEBYCNY4D0Y8","xb-anchors","Pin content to a real place with WebXR spatial anchors, and bring it back in a later session. Use when virtual content must stay put as the headset refines its map of the room, or when an app should remember where things were left. Covers `enableAnchors()`, `enableAnchorPersistence()`, creating and restoring anchors, the `capability` states, and the desktop fallback that lets anchor code be developed without a headset. Pair with xb-world for detecting what to anchor to.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fxrblocks\u002Fblob\u002Fmain\u002Fskills\u002Fxb-anchors\u002FSKILL.md",[],[128,129,130,131,132,133,134,135,136,137,138,139,27,140,141,142,143,144,145,28],"xb anchors","webxr","remember","code","virtual","pair","fallback","later","back","world","map","as","states","detecting","bring","for","things","capability",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":44},"01M6993JZJGTVKZT028WFG4E5H","xb-add-world-sensing","Connect physical-world sensing to XR Blocks application state. Use when adding planes, scene meshes, depth, occlusion, world collision evidence, object or human recognition, face tracking, segmentation, or agent-facing scene context.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fxrblocks\u002Fblob\u002Fmain\u002Fskills\u002Fxb-add-world-sensing\u002FSKILL.md",[],[153,137,34,154,155,156,157,158,159,39,160,117,161,162,30,163,164,165,166,28],"xb add world sensing","add","connect","state","segmentation","context","tracking","evidence","human","physical","object","occlusion","depth","face",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":176,"publishedAt":44},"01M6993H6WX2Q57A3MGNB1VMQF","xb-add-spatial-ui","Build spatial UI in XR Blocks. Use when adding cards, overlays, panels, text, controls, model-viewer interfaces, layout, styling, themes, or UI placement with the built-in UI system.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fxrblocks\u002Fblob\u002Fmain\u002Fskills\u002Fxb-add-spatial-ui\u002FSKILL.md",[173],{"categoryNo":174,"categoryName":175,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000032","设计师",[177,42,178,154,179,180,181,39,182,38,183,184,185,186,30,187,188,189,190,28],"xb add spatial ui","Spatial","system","text","model","styling","layout","panels","themes","controls","with","overlays","ui system","viewer",{"skillNo":192,"name":193,"nameZh":6,"description":194,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":195,"categories":196,"keywords":197,"publishedAt":44},"01M6993F57C01XXES7M8654GWD","xb-add-interactions","Design and implement XR Blocks interactions. Use when adding selection, hover, direct touch, grab, gestures, event ownership, propagation, automatic manipulation, or physics-driven object behavior.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fxrblocks\u002Fblob\u002Fmain\u002Fskills\u002Fxb-add-interactions\u002FSKILL.md",[],[198,154,199,200,201,202,203,40,39,204,205,206,207,30,208,209,210,163,211,28],"xb add interactions","design","gestures","implement","hover","direct","selection","physics","propagation","touch","ownership","event","grab","automatic"]