#!/bin/bash # Download ppt-master skill from GitHub # Usage: bash scripts/download_ppt_master.sh REPO_URL="https://github.com/hugohe3/ppt-master.git" SKILL_DIR="skills/ppt-master" # Remove existing rm -rf "$SKILL_DIR" # Clone to temp directory TMPDIR=$(mktemp -d) git clone --depth 1 "$REPO_URL" "$TMPDIR" # Copy only the skills directory cp -r "$TMPDIR/skills/ppt-master" "$SKILL_DIR" # Clean up rm -rf "$TMPDIR" echo "[Done] ppt-master skill downloaded to $SKILL_DIR/" echo " $(find "$SKILL_DIR" -type f | wc -l) files"