← Commit history

Add adompkg installer files

Kyle Bergstedt ·57e16b4844 · ·parent bda9703
4 files changed +37
SKILL.mdadded+7
@@ -0,0 +1,7 @@+---+name: app-creator+description: >+  Use when the user wants to build a new Adom "app", a mini web server that renders its UI in a Hydrogen webview tab.+---+# App Creator+Use when the user wants to build a new Adom "app", a mini web server that renders its UI in a Hydrogen webview tab.
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/app-creator"+if [ -f "$PKG_DIR/SKILL.md" ]; then+  cp "$PKG_DIR/SKILL.md" "$SKILLS_DIR/app-creator/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 app-creator"
package.jsonadded+11
@@ -0,0 +1,11 @@+{+  "slug": "app-creator",+  "version": "1.0.0",+  "type": "skill",+  "description": "Use when the user wants to build a new Adom \"app\", a mini web server that renders its UI in a Hydrogen webview tab.",+  "dependencies": {},+  "scripts": {+    "install": "./install.sh",+    "uninstall": "./uninstall.sh"+  }+}
uninstall.shadded+4
@@ -0,0 +1,4 @@+#!/bin/bash+set -e+rm -rf "$HOME/.claude/skills/app-creator"+echo "Uninstalled app-creator"