by adom
Publish molecule sources to the Adom wiki (STEP, board, schematic, <slug>-fab.zip, export.json); the wiki's 3D model registry builds the GLB, footprint and symbol. Checks the bundle the way the registry does, publishes private, waits for the build, sets the hero from the built model, then makes the page public. Board mode still converts plain boards. Also writes APM render assets and component dependencies. Companion to adom-wiki model import.
← Commit history
SKILL.md+11−2@@ -17,14 +17,23 @@ EDA export skill THIS SKILL adom-molecule-import (kicad/fusion/altium) → convert → package → publish → wiki → Hydrogen ``` -## Input contract — the bare-minimum bundle+## Contract — inputs vs the published set++**The user supplies sources; this skill generates and attaches the rest.**+The published page always carries the full set — **GLB + STEP + schematic ++board + metadata** — and every downstream tool expects all five (import+reuses the GLB, wiring reads the metadata). The GLB and footprint/symbol+JSON are never user-supplied: they come out of the OCCT conversion below.++### Inputs — the bare-minimum bundle | Required | File | Notes | |---|---|---| | yes | STEP (`.step`) | exported ON the design machine so all 3D models (machine pins, contacts, MP markers) are baked in | | yes | Board/layout (`.kicad_pcb` or `.brd`) | what footprint+symbol generation parses | | yes | Schematic (`.kicad_sch` or `.sch`) | source completeness — a molecule without its schematic is not reproducible |-| yes | Metadata | `package.json` (authored below) + the OCCT-generated footprint/symbol JSONs |+| generated | GLB | OCCT conversion output — never user-supplied, always published |+| generated | Metadata | OCCT footprint/symbol JSONs + the authored `package.json` | | optional | Silk PNGs (top/bottom) | white artwork on transparent | | optional | Extras | `.f3d`/`.usdz`/gerbers/BOM/CPL — carry what the EDA produced |
package.json+1−1@@ -1,6 +1,6 @@ { "slug": "molecule-publish",- "version": "1.0.0",+ "version": "1.0.1", "type": "skill", "description": "Publish a molecule source bundle (STEP + schematic + board + metadata) to the Adom wiki: OCCT molecule-mode conversion with stats gates, component packaging, adom-wiki publish. EDA-agnostic middle of the pipeline; companion to adom-molecule-import.", "tags": [
page.json+1−1@@ -1,6 +1,6 @@ { "slug": "molecule-publish",- "version": "1.0.0",+ "version": "1.0.1", "type": "skill", "description": "Publish a molecule source bundle (STEP + schematic + board + metadata) to the Adom wiki: OCCT molecule-mode conversion with stats gates, component packaging, adom-wiki publish. EDA-agnostic middle of the pipeline; companion to adom-molecule-import.", "tags": [