← Commit history

Add adompkg installer files

Kyle Bergstedt ·9f85e8b496 ·5mo ago ·parent ad08492
4 files changed +37
SKILL.mdadded+7
@@ -0,0 +1,7 @@+---+name: adom-desktop-hello-python-bridge+description: >+  Minimal third-party Adom Desktop bridge in ~80 lines of Python stdlib. Fork this as a starting point for your own bridge.+---+# Sample bridge: hello-python+Minimal third-party Adom Desktop bridge in ~80 lines of Python stdlib. Fork this as a starting point for your own bridge.
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-desktop-hello-python-bridge"+if [ -f "$PKG_DIR/SKILL.md" ]; then+  cp "$PKG_DIR/SKILL.md" "$SKILLS_DIR/adom-desktop-hello-python-bridge/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-desktop-hello-python-bridge"
package.jsonadded+11
@@ -0,0 +1,11 @@+{+  "slug": "adom-desktop-hello-python-bridge",+  "version": "1.0.0",+  "type": "app",+  "description": "Minimal third-party Adom Desktop bridge in ~80 lines of Python stdlib. Fork this as a starting point for your own bridge.",+  "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-desktop-hello-python-bridge"+echo "Uninstalled adom-desktop-hello-python-bridge"