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
README.mdadded+21@@ -0,0 +1,21 @@+# molecule-publish+# molecule-publish — source bundle → wiki molecule++The EDA-agnostic middle of the molecule pipeline. Input is the **bare-minimum+bundle** any EDA export produces; output is a published, pipeline-ready wiki+component. The Hydrogen half is `adom-molecule-import` — this skill is its+publish-side companion.++```+EDA export skill THIS SKILL adom-molecule-import+(kicad/fusion/altium) → convert → package → publish → wiki → Hydrogen+```++## Input contract — 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 |
page.jsonadded+49@@ -0,0 +1,49 @@+{+ "slug": "molecule-publish",+ "version": "1.0.0",+ "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": [+ "molecule",+ "pipeline",+ "wiki",+ "hydrogen",+ "skill"+ ],+ "dependencies": {+ "adom/adom-molecule": "^1.1.3"+ },+ "scripts": {+ "install": "./install.sh",+ "uninstall": "./uninstall.sh"+ },+ "hero": {+ "type": "billboard",+ "headline": "Molecule bundle to wiki page",+ "subhead": "OCCT convert, stats gates, package, publish - EDA-agnostic",+ "screenshot": "docs/shot.png"+ },+ "discovery_triggers": [+ "publish this molecule to the wiki",+ "upload molecule bundle",+ "convert and publish my molecule",+ "molecule to the wiki",+ "publish molecule package"+ ],+ "discovery_pitch": "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.",+ "sample_prompts": [+ {+ "label": "Publish a bundle",+ "prompt": "I have ABC.step, ABC.kicad_pcb and ABC.kicad_sch - publish this molecule to the wiki"+ },+ {+ "label": "Convert and publish",+ "prompt": "Convert my molecule through OCCT and publish it"+ }+ ],+ "org": "adom",+ "author": {+ "name": "Drew Owens",+ "email": "[email protected]"+ }+}