← Commit history
README.md+1−1
@@ -18,6 +18,6 @@ For Adom's own machine pins/contacts, use `adom-altium-library-importer` instead  ## Install ```-adompkg install barrett-land/altium-part-importer+adom-wiki pkg install barrett-land/altium-part-importer ``` Then read `SKILL.md` — it covers bridge install, the fast workflow, conventions, and gotchas.
install.sh+27−3
@@ -1,5 +1,29 @@ #!/bin/bash+# install.sh for altium-part-importer (skill).+# Runs from the extracted module directory (~/project/adom_modules/<owner>/altium-part-importer/).+#+# Self-contained on purpose: adompkg is retired and is absent on current containers,+# so this script must not shell out to it. Until adom-wiki-cli ships universal skill+# delivery (adom/adom-wiki-cli#22), this script is the only thing that places the skill. set -euo pipefail-source "$(adompkg sh-helpers)"-# Skill install: symlink skills/altium-part-importer/ into ~/.claude/skills/altium-part-importer/-adompkg-link-skill altium-part-importer++SKILL="altium-part-importer"+SRC="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/skills/${SKILL}"+DEST="${HOME}/.claude/skills/${SKILL}"++if [ ! -d "$SRC" ]; then+  echo "[${SKILL}] expected skills/${SKILL}/ in the package, but it is missing." >&2+  exit 1+fi++mkdir -p "${HOME}/.claude/skills"++# Forward-compatible: once the CLI delivers skills itself, DEST is a real directory+# owned by the CLI. Never clobber it -- just confirm and exit clean.+if [ -e "$DEST" ] && [ ! -L "$DEST" ]; then+  echo "[${SKILL}] already delivered at ${DEST}; leaving it in place."+  exit 0+fi++ln -sfn "$SRC" "$DEST"+echo "[${SKILL}] linked ${DEST} -> ${SRC}"
package.json+4−4
@@ -1,6 +1,6 @@ {   "slug": "altium-part-importer",-  "version": "1.0.3",+  "version": "1.0.4",   "type": "skill",   "description": "Add any catalog component (resistor, capacitor, inductor, IC, connector, diode) to a user's Altium Designer library with its LCSC/JLCPCB part number attached, so JLCPCB BOM + pick-and-place exports carry it automatically. Drives Altium headlessly via the altium Adom Desktop bridge. Three paths: CREATE a library from a downloaded Altium .IntLib, APPEND a part into an existing library, or REUSE an existing symbol for a new value (clone + parametric footprint, no internet fetch). For Adom's own machine pins/contacts use adom-altium-library-importer instead.",   "tags": [@@ -20,7 +20,7 @@     "uninstall": "./uninstall.sh"   },   "needs_sudo": false,-  "discovery_pitch": "Add any catalog component to Altium Designer with its JLCPCB/LCSC part number attached \u2014 create a library, append to an existing one, or reuse a symbol for a new value. Headless via the altium bridge.",+  "discovery_pitch": "Add any catalog component to Altium Designer with its JLCPCB/LCSC part number attached — create a library, append to an existing one, or reuse a symbol for a new value. Headless via the altium bridge.",   "discovery_triggers": [     "add a part to Altium",     "add a component to Altium",@@ -40,7 +40,7 @@   ],   "hero": {     "headline": "Altium Part Importer",-    "subhead": "Add any component to Altium with its JLC/LCSC part number \u2014 create, append, or reuse. Headless.",+    "subhead": "Add any component to Altium with its JLC/LCSC part number — create, append, or reuse. Headless.",     "screenshot": "docs/hero.png"   },   "sample_prompts": [@@ -65,4 +65,4 @@       "prompt": "what Altium libraries do I already have?"     }   ]-}\ No newline at end of file+}
page.json+1−1
@@ -1,6 +1,6 @@ {   "slug": "altium-part-importer",-  "version": "1.0.3",+  "version": "1.0.4",   "type": "skill",   "description": "Add any catalog component (resistor, capacitor, inductor, IC, connector, diode) to a user's Altium Designer library with its LCSC/JLCPCB part number attached, so JLCPCB BOM + pick-and-place exports carry it automatically. Drives Altium headlessly via the altium Adom Desktop bridge. Three paths: CREATE a library from a downloaded Altium .IntLib, APPEND a part into an existing library, or REUSE an existing symbol for a new value (clone + parametric footprint, no internet fetch). For Adom's own machine pins/contacts use adom-altium-library-importer instead.",   "tags": [
skills/altium-part-importer/SKILL.md+2−1
@@ -1,6 +1,7 @@ --- name: altium-part-importer-description: Add any catalog component (resistor, capacitor, inductor, IC, connector, diode…) to a user's Altium Designer library with its LCSC/JLCPCB part number attached, so JLCPCB BOM + pick-and-place exports carry it automatically. Drives Altium headlessly via the `altium` Adom Desktop bridge (Altium has no CLI). Three paths: CREATE a library from a downloaded Altium .IntLib, APPEND a part into an existing library, or REUSE an existing symbol for a new value (clone + parametric footprint, no internet fetch). Use when the user wants to "add a part/component/resistor/capacitor/IC/chip to Altium", "import a footprint or symbol into Altium", "add a part to my Altium library with the JLC/LCSC number", or build out an Altium component library. For Adom's OWN machine pins/contacts use adom-altium-library-importer instead.+description: >-+  Add any catalog component (resistor, capacitor, inductor, IC, connector, diode…) to a user's Altium Designer library with its LCSC/JLCPCB part number attached, so JLCPCB BOM + pick-and-place exports carry it automatically. Drives Altium headlessly via the `altium` Adom Desktop bridge (Altium has no CLI). Three paths: CREATE a library from a downloaded Altium .IntLib, APPEND a part into an existing library, or REUSE an existing symbol for a new value (clone + parametric footprint, no internet fetch). Use when the user wants to "add a part/component/resistor/capacitor/IC/chip to Altium", "import a footprint or symbol into Altium", "add a part to my Altium library with the JLC/LCSC number", or build out an Altium component library. For Adom's OWN machine pins/contacts use adom-altium-library-importer instead. ---  # altium-part-importer
uninstall.sh+15−2
@@ -1,4 +1,17 @@ #!/bin/bash+# uninstall.sh for altium-part-importer (skill).+# Removes only the symlink this package's install.sh created. set -euo pipefail-rm -rf "$HOME/.claude/skills/altium-part-importer"-echo "[altium-part-importer] skill removed."++SKILL="altium-part-importer"+DEST="${HOME}/.claude/skills/${SKILL}"++if [ -L "$DEST" ]; then+  rm -f "$DEST"+  echo "[${SKILL}] removed ${DEST}"+elif [ -d "$DEST" ]; then+  # A real directory here was delivered by the CLI, which owns its own removal.+  echo "[${SKILL}] ${DEST} is CLI-delivered, not our symlink; leaving it."+else+  echo "[${SKILL}] nothing to remove."+fi