-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup
More file actions
executable file
·133 lines (121 loc) · 4.12 KB
/
setup
File metadata and controls
executable file
·133 lines (121 loc) · 4.12 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
#!/usr/bin/env bash
set -euo pipefail
# EdTech Founder Stack — Setup Script
# Installs skills into Claude Code by creating symlinks
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
SKILLS_DIR="$HOME/.claude/skills"
REPO_LINK="$SKILLS_DIR/edtechfounderstack"
SKILLS=(
welcome
edtech-landscape
idea-validation
product-review
accessibility-check
evidence-check
pilot-design
go-to-market
sales-strategy
pitch-review
fundraising-guide
)
# Help mode
if [[ "${1:-}" == "--help" ]] || [[ "${1:-}" == "-h" ]]; then
echo "EdTech Founder Stack v$(cat "$SCRIPT_DIR/VERSION" 2>/dev/null || echo "unknown")"
echo ""
echo "Usage: ./setup [OPTIONS]"
echo ""
echo "Options:"
echo " --help, -h Show this help message"
echo " --uninstall Remove all skill symlinks from Claude Code"
echo ""
echo "Installs the EdTech Founder Stack skills into Claude Code by"
echo "creating symlinks in ~/.claude/skills/. Run from the repo directory."
echo ""
echo "More info: https://github.com/savvides/edtechfounderstack"
exit 0
fi
# Uninstall mode
if [[ "${1:-}" == "--uninstall" ]]; then
echo "Uninstalling EdTech Founder Stack..."
for skill in "${SKILLS[@]}"; do
if [[ -L "$SKILLS_DIR/$skill" ]]; then
rm "$SKILLS_DIR/$skill"
echo " Removed /$skill"
fi
done
if [[ -L "$REPO_LINK" ]]; then
rm "$REPO_LINK"
echo " Removed repo symlink"
fi
echo ""
echo "Done. Skills removed from Claude Code."
exit 0
fi
echo "Installing EdTech Founder Stack..."
echo ""
# Create skills directory if it doesn't exist
mkdir -p "$SKILLS_DIR"
# Link the repo itself
if [[ -L "$REPO_LINK" ]]; then
echo " Repo symlink already exists, skipping"
elif [[ -e "$REPO_LINK" ]]; then
echo " Warning: $REPO_LINK exists but is not a symlink, skipping"
else
ln -s "$SCRIPT_DIR" "$REPO_LINK"
echo " Linked repo to $REPO_LINK"
fi
# Link each skill
installed=0
skipped=0
for skill in "${SKILLS[@]}"; do
target="$SKILLS_DIR/$skill"
source="$SCRIPT_DIR/skills/$skill"
if [[ ! -d "$source" ]]; then
echo " Warning: skills/$skill not found, skipping"
continue
fi
if [[ -L "$target" ]]; then
skipped=$((skipped + 1))
elif [[ -e "$target" ]]; then
echo " Warning: $target exists but is not a symlink, skipping"
skipped=$((skipped + 1))
else
ln -s "$source" "$target"
installed=$((installed + 1))
fi
done
echo ""
echo "EdTech Founder Stack v$(cat "$SCRIPT_DIR/VERSION" 2>/dev/null || echo "unknown") installed."
echo ""
echo " $installed skills installed, $skipped already existed"
echo ""
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo " START HERE → open Claude Code and run: /edtechfounderstack"
echo " (Asks one question, routes you to the right first skill.)"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo ""
echo "Available skills:"
echo ""
echo " Discovery & Validation"
echo " /edtech-landscape Map your market segment, buyer, and regulatory landscape"
echo " /idea-validation Pressure-test your edtech idea against market reality"
echo ""
echo " Product"
echo " /product-review Review product through educational outcomes lens"
echo " /accessibility-check WCAG, Section 508, and UDL compliance check"
echo ""
echo " Evidence & Research"
echo " /evidence-check Classify evidence on ESSA tiers with gap analysis"
echo " /pilot-design Design effective institutional pilots"
echo ""
echo " Sales & Go-to-Market"
echo " /go-to-market Edtech GTM strategy by segment and channel"
echo " /sales-strategy Selling to schools, districts, and universities"
echo ""
echo " Fundraising & Growth"
echo " /pitch-review Review pitch through edtech investor lens"
echo " /fundraising-guide Edtech-specific fundraising guidance"
echo ""
echo "Built by ASU ScaleU. More at scaleu.asu.edu"
echo ""
echo "To uninstall: ./setup --uninstall"