← Commit history

Add adompkg installer files

Kyle Bergstedt ·b7641c4d39 ·4mo ago ·parent 02500a1
4 files changed +37
SKILL.mdadded+7
@@ -0,0 +1,7 @@+---+name: adom-jlcpcb+description: >+  Search JLCPCB's 437K-component parts library (basic/preferred/extended). Rust CLI + Hydrogen webview app + Node.js + SQLite FTS5 backend — no API credentials needed (all local).+---+# JLCPCB Parts Library Search+Search JLCPCB's 437K-component parts library (basic/preferred/extended). Rust CLI + Hydrogen webview app + Node.js + SQLite FTS5 backend — no API credentials needed (all local).
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-jlcpcb"+if [ -f "$PKG_DIR/SKILL.md" ]; then+  cp "$PKG_DIR/SKILL.md" "$SKILLS_DIR/adom-jlcpcb/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-jlcpcb"
package.jsonadded+11
@@ -0,0 +1,11 @@+{+  "slug": "adom-jlcpcb",+  "version": "1.0.0",+  "type": "app",+  "description": "Search JLCPCB's 437K-component parts library (basic/preferred/extended). Rust CLI + Hydrogen webview app + Node.js + SQLite FTS5 backend — no API credentials needed (all local).",+  "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-jlcpcb"+echo "Uninstalled adom-jlcpcb"