- SVG布局规划、视觉风格、技术合规技能 - ppt-master技能下载脚本(从GitHub获取) - .gitignore配置 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
23 lines
534 B
Bash
23 lines
534 B
Bash
#!/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"
|