skill
molecule-publish
Public Made by Adomby adom
Publish molecules AND generic boards to the Adom wiki - one publisher, two shapes: OCCT conversion (molecule mode with stats gates, or plain for boards), component packaging, adom-wiki publish, APM render assets + component dependencies. Companion to adom-molecule-import.
← Commit history
SKILL.md+14@@ -393,6 +393,20 @@ Hard-won from ~10 real imports; each one cost a debugging detour: - **Heroes on board/component pages are static images** — `page hero --image`, never `--screenshot`/billboard (billboard composes an app-style browser frame around the render: "images within images").+- **Pose the hero at the board's CANONICAL camera, not a hardcoded angle+ (adom/wiki#87).** A board's correct orientation is designer-known (alpha+ encodes it), so it now lives ON the page: `page.json`'s+ `component.viewer_3d.camera` `{alpha, beta[, radiusScale]}` (radians;+ precedence `?camera=` query > page declaration > platform home view). When+ capturing the hero, DON'T invent angles — capture at the page's declared+ camera (or open the 3D tab bare and let precedence resolve to the home+ view), and **vary radius only** to frame it. This keeps the hero and the+ live 3D tab showing the same pose. If the board has a known good+ orientation, declare it in the page's `component.viewer_3d.camera` block+ (`{alpha, beta[, radiusScale]}`, sanitized at index time like the other+ component keys) so every consumer — 3D tab, hero capture, downstream+ embeds — agrees. Ray's rule: the home/declared view is right; only the old+ hardcoded renderer defaults were wrong. - **Browse-card thumbnails bake at publish time** — a repo-only hero push does NOT refresh the card. Republish with a version bump, then verify the served card PNG actually changed (sha256 the blob).
package.json+1−1@@ -1,6 +1,6 @@ { "slug": "molecule-publish",- "version": "2.7.0",+ "version": "2.8.0", "type": "skill", "description": "Publish molecules AND generic boards to the Adom wiki - one publisher, two shapes: OCCT conversion (molecule mode with stats gates, or plain for boards), component packaging, adom-wiki publish, APM render assets + component dependencies. Companion to adom-molecule-import.", "tags": [
page.json+1−1@@ -1,6 +1,6 @@ { "slug": "molecule-publish",- "version": "2.7.0",+ "version": "2.8.0", "type": "skill", "description": "Publish molecules AND generic boards to the Adom wiki - one publisher, two shapes: OCCT conversion (molecule mode with stats gates, or plain for boards), component packaging, adom-wiki publish, APM render assets + component dependencies. Companion to adom-molecule-import.", "tags": [