netblocks: fix import path in skill + readme examples#349
Merged
Conversation
xrblocks/addons/netblocks/src returns 404 on the @build cdn because browser importmaps do not have node-style index resolution. needs the explicit /index.js. the netblocks README already uses the /index.js form one block down, so this just makes the rest of the file consistent. same for the skill.
missed two more instances of the bare-directory import in the in-tree SKILL.md when fixing the same bug across the canvas-gem skill + readme. caught by an eval-driven scan that curl-verified every xrblocks/addons/<name> import against the @build cdn.
ci surfaced this after the last commit. prettier wanted to reformat the line lengths around the import-path edit.
ruofeidu
approved these changes
Jun 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
'xrblocks/addons/netblocks/src'returns 404 oncdn.jsdelivr.net/gh/google/xrblocks@build/...because browser importmaps don't have node-style index resolution. needs the explicit/index.js.caught while testing an eval harness against the canvas-gem skill setup, every with-skill run failed in headless chromium with
net::ERR_ABORTEDon the netblocks import.the netblocks README already uses the
/index.jsform one block down (line 80), so this just makes the rest of the file consistent. same for the skill.