-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup
More file actions
executable file
·28 lines (23 loc) · 744 Bytes
/
Copy pathsetup
File metadata and controls
executable file
·28 lines (23 loc) · 744 Bytes
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
#!/usr/bin/env bash
set -euo pipefail
SKILL_DIR="$HOME/.claude/commands"
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
SOURCE_DIR="$SCRIPT_DIR/skills"
echo "langstack — installing language learning skills for Claude Code"
echo ""
# Create target directory
mkdir -p "$SKILL_DIR"
# Copy all skill files
count=0
for skill in "$SOURCE_DIR"/*.md; do
name="$(basename "$skill" .md)"
cp "$skill" "$SKILL_DIR/"
echo " installed: /$name"
count=$((count + 1))
done
echo ""
echo "Done! $count skills installed to ~/.claude/commands/"
echo ""
echo "Open Claude Code and type any skill as a slash command:"
echo " /tutor, /vocab-drill, /conversation, /writing-coach,"
echo " /grammar-check, /lesson-plan, /pronunciation, /translate-explain"