3D viewers: name the Adom viewer library; fix the 3d-viewer link #4
Section 7 (3D viewers): the "start from the canonical Adom Babylon viewer" bullet now names the Adom viewer library and the three ways to use it (the page's 3D tab, ::adom-3d in a README, importing the library in an app), and says never to copy a viewer bundle or start a new scene. The related-skills link to adom/3d-viewer-design (a 404) now points at adom/3d-viewer.
This is part of consolidating the 3D viewers: Adom has one viewer library (adom/adom-3d-viewer, source on GitHub adom-inc/adom-3d-viewer-babylon9), and the skills that tell agents to copy an old bundle or start from the removed gallia/viewer are where new copies come from. The same short "use the Adom viewer" block now goes into each skill that covers viewers.
After merging, publish a new version of the skill so agents pick it up.
🤖 Generated with Claude Code
Diff Skip to comments
@@ -1,481 +1,481 @@⋯ 207 unchanged lines ⋯ Adom has many 3D viewports: CAD, PCB, mechanical, component preview. They share one design so they feel like one tool, and they are driven the same way (the AI can load a different model or click a viewer tool over the channel). - **Babylon.js, always. Never Three.js.** Better PBR materials, GLB fidelity, a first-class orbit camera, and a built-in ViewCube.-- **Start from the canonical Adom Babylon viewer.** Embed, import, or extend it before rolling your own. If you roll your own, you inherit every rule below.+- **Use the Adom viewer library ([adom/adom-3d-viewer](https://wiki.adom.inc/adom/adom-3d-viewer)).** On a hardware page the 3D tab already shows the GLB; in a README use `::adom-3d{src="..."}`; in an app, import the library and build on it. Never copy a viewer bundle into a repo or start a new scene. The full guidance is in [3d-viewer](https://wiki.adom.inc/adom/3d-viewer); the rules below apply to anything you build on it. - **Background is a vertical gradient, never a flat color.** Pure black hid black IC bodies in the lower frame. Dark mode default, light mode toggle required. - Dark: `linear-gradient(180deg, #1e2a3d 0%, #1e2a3d 20%, #0a121f 100%)` - Light: `linear-gradient(180deg, #5a6b7e 0%, #5a6b7e 20%, #2a3340 100%)`⋯ 230 unchanged lines ⋯ | `pup-vs-webview` / `adom-desktop-pup` | Choosing and driving pup, webview, or the user's native browser | | [adom-cli-design](https://wiki.adom.inc/adom/adom-cli-design) | The `OK:`/`ERROR:`/`Hint:` CLI contract, in Rust | | `ai-hints-in-clis` / `relay-hint-pattern` | Writing hints, and redirecting direct HTTP callers to the CLI |-| [3d-viewer-design](https://wiki.adom.inc/adom/3d-viewer-design) / `measure-tool-design` | Every rule for Adom 3D viewports and measurement |+| [3d-viewer](https://wiki.adom.inc/adom/3d-viewer) / `measure-tool-design` | Every rule for Adom 3D viewports and measurement | | [adom-panels](https://wiki.adom.inc/adom/adom-panels) / [adom-workspace-control](https://wiki.adom.inc/kyle/adom-workspace-control) | The panel catalog and safe workspace layout control | | [carbon-preferences](https://wiki.adom.inc/adom/carbon-preferences) | Per-user settings that persist across sessions | | [brand](https://wiki.adom.inc/adom/brand) | Colors, typography, logo, the icon law, the dark theme tokens |⋯ 30 unchanged lines ⋯@@ -1,446 +1,446 @@⋯ 182 unchanged lines ⋯ Adom has many 3D viewports: CAD, PCB, mechanical, component preview. They share one design so they feel like one tool, and they are driven the same way (the AI can load a different model or click a viewer tool over the channel). - **Babylon.js, always. Never Three.js.** Better PBR materials, GLB fidelity, a first-class orbit camera, and a built-in ViewCube.-- **Start from the canonical Adom Babylon viewer.** Embed, import, or extend it before rolling your own. If you roll your own, you inherit every rule below.+- **Use the Adom viewer library ([adom/adom-3d-viewer](https://wiki.adom.inc/adom/adom-3d-viewer)).** On a hardware page the 3D tab already shows the GLB; in a README use `::adom-3d{src="..."}`; in an app, import the library and build on it. Never copy a viewer bundle into a repo or start a new scene. The full guidance is in [3d-viewer](https://wiki.adom.inc/adom/3d-viewer); the rules below apply to anything you build on it. - **Background is a vertical gradient, never a flat color.** Pure black hid black IC bodies in the lower frame. Dark mode default, light mode toggle required. - Dark: `linear-gradient(180deg, #1e2a3d 0%, #1e2a3d 20%, #0a121f 100%)` - Light: `linear-gradient(180deg, #5a6b7e 0%, #5a6b7e 20%, #2a3340 100%)`⋯ 220 unchanged lines ⋯ | `pup-vs-webview` / `adom-desktop-pup` | Choosing and driving pup, webview, or the user's native browser | | [adom-cli-design](https://wiki.adom.inc/adom/adom-cli-design) | The `OK:`/`ERROR:`/`Hint:` CLI contract, in Rust | | `ai-hints-in-clis` / `relay-hint-pattern` | Writing hints, and redirecting direct HTTP callers to the CLI |-| [3d-viewer-design](https://wiki.adom.inc/adom/3d-viewer-design) / `measure-tool-design` | Every rule for Adom 3D viewports and measurement |+| [3d-viewer](https://wiki.adom.inc/adom/3d-viewer) / `measure-tool-design` | Every rule for Adom 3D viewports and measurement | | [adom-panels](https://wiki.adom.inc/adom/adom-panels) / [adom-workspace-control](https://wiki.adom.inc/kyle/adom-workspace-control) | The panel catalog and safe workspace layout control | | [carbon-preferences](https://wiki.adom.inc/adom/carbon-preferences) | Per-user settings that persist across sessions | | [brand](https://wiki.adom.inc/adom/brand) | Colors, typography, logo, the icon law, the dark theme tokens |⋯ 30 unchanged lines ⋯
Comments
Log in to comment.
No comments yet.