← Commit history

Add adompkg installer files

Kyle Bergstedt ·37f9a6c9ee ·4mo ago ·parent 8ce1af5
4 files changed +33−31
SKILL.md+3−31
@@ -1,35 +1,7 @@ --- name: adom-step-description: STEP / STP 3D file viewer. Fusion 360-feel components outline, smart-pick measure tool (mm + mils + angle), hover-inspect, geometry-based pin/contact detection for LGA, BGA, QFN, SOIC, through-hole. Hydrogen webview + AI-drivable CLI. Loads via service-step2glb, preserves assembly hierarchy + named nodes + per-face materials. Trigger words: adom-step, step viewer, view step, open step, step file, fusion 360 viewer, components browser, isolate component cad, step assembly tree, measure step, step 3d viewer, cad viewer, lga pads, qfn pins, bga balls, through-hole pins.+description: >+  Fusion 360-style viewer for STEP / STP files in a Hydrogen webview. Components outline, smart-pick measure (mm + mils + angle), hover-inspect HUD, and geometry-based pin / contact detection that handl ---- # adom-step — STEP file viewer--Fusion 360-style viewer for `.step` / `.stp` on the canonical Adom Babylon9 viewer.--## Open--```bash-adom-step view /path/to/design.step-adom-step view-library Package_QFP/LQFP-64_10x10mm_P0.5mm-```--Opens a Hydrogen tab on port 8851. service-step2glb caches by SHA-256 — repeat opens sub-second.--## CLI--```bash-adom-step list-components-adom-step isolate U1            # hide others + frame-adom-step show / hide / show-all / frame NAME-adom-step measure A B           # mm + mils-adom-step pins list / isolate N / strobe-adom-step view-cube iso-adom-step screenshot --out /tmp/x.png-adom-step eval "return Object.keys(window.adomStep)"-adom-step console -f-```--## JS API--`window.adomStep.{listComponents, isolate, hide, show, showAll, frame, measure, screenshot, setView, pinCount, pinList, isolatePin, strobePins}`.+Fusion 360-style viewer for STEP / STP files in a Hydrogen webview. Components outline, smart-pick measure (mm + mils + angle), hover-inspect HUD, and geometry-based pin / contact detection that handl
install.shadded+15
@@ -0,0 +1,15 @@+#!/bin/bash+set -e+PKG_DIR="$(cd "$(dirname "$0")" && pwd)"+SKILLS_DIR="$HOME/.claude/skills"+mkdir -p "$SKILLS_DIR/adom-step"+if [ -f "$PKG_DIR/SKILL.md" ]; then+  cp "$PKG_DIR/SKILL.md" "$SKILLS_DIR/adom-step/SKILL.md"+fi+for skill_dir in "$PKG_DIR/skills"/*/; do+  [ -d "$skill_dir" ] || continue+  skill_name=$(basename "$skill_dir")+  mkdir -p "$SKILLS_DIR/$skill_name"+  cp -r "$skill_dir"* "$SKILLS_DIR/$skill_name/"+done+echo "Installed adom-step"
package.jsonadded+11
@@ -0,0 +1,11 @@+{+  "slug": "adom-step",+  "version": "1.0.0",+  "type": "app",+  "description": "Fusion 360-style viewer for STEP / STP files in a Hydrogen webview. Components outline, smart-pick measure (mm + mils + angle), hover-inspect HUD, and geometry-based pin / contact detection that handl",+  "dependencies": {},+  "scripts": {+    "install": "./install.sh",+    "uninstall": "./uninstall.sh"+  }+}
uninstall.shadded+4
@@ -0,0 +1,4 @@+#!/bin/bash+set -e+rm -rf "$HOME/.claude/skills/adom-step"+echo "Uninstalled adom-step"