-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathinitial-sync.sh
More file actions
58 lines (47 loc) · 1.81 KB
/
initial-sync.sh
File metadata and controls
58 lines (47 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/bash
# ============================================================
# Initial Sync Script for Linux/Mac
# Run this once after cloning to populate skills
# ============================================================
set -e
echo "============================================================"
echo "DEVKIT AGENT ASSISTANT - INITIAL SYNC"
echo "============================================================"
TEMP_DIR="/tmp/devkit-sync"
mkdir -p "$TEMP_DIR"
echo ""
echo "[1/4] Cloning antigravity-awesome-skills..."
git clone --depth 1 https://github.com/sickn33/antigravity-awesome-skills.git "$TEMP_DIR/antigravity"
echo ""
echo "[2/4] Cloning agent-assistant..."
git clone --depth 1 https://github.com/hainamchung/agent-assistant.git "$TEMP_DIR/agent-assistant"
echo ""
echo "[3/4] Cloning skill-rule..."
git clone --depth 1 https://github.com/ngxtm/skill-rule.git "$TEMP_DIR/skill-rule"
echo ""
echo "[4/4] Running sync..."
python3 scripts/sync_skills.py \
--primary "$TEMP_DIR/antigravity/skills" \
--secondary "$TEMP_DIR/agent-assistant/skills" \
--target ./skills
echo ""
echo "Copying agents and commands from agent-assistant..."
cp -r "$TEMP_DIR/agent-assistant/agents/"* ./agents/
cp -r "$TEMP_DIR/agent-assistant/commands/"* ./commands/
cp -r "$TEMP_DIR/agent-assistant/matrix-skills/"* ./matrix-skills/
echo ""
echo "Copying rules from skill-rule..."
cp -r "$TEMP_DIR/skill-rule/rules/"* ./rules/
echo ""
echo "Updating matrix indexes..."
python3 scripts/update_matrix.py
echo ""
echo "============================================================"
echo "SYNC COMPLETE!"
echo "============================================================"
echo ""
echo "Next steps:"
echo " 1. Review the synced content"
echo " 2. Commit and push to your repository"
echo " 3. Configure npm publishing (add NPM_TOKEN secret)"
echo ""