-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·39 lines (33 loc) · 1.04 KB
/
install.sh
File metadata and controls
executable file
·39 lines (33 loc) · 1.04 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
#!/usr/bin/env bash
set -euo pipefail
SKILL_DIR="$HOME/.claude/skills/creating-clean-flutter"
echo "📦 Installing creating-clean-flutter skill..."
echo " Target: $SKILL_DIR"
echo ""
# Create directory
mkdir -p "$SKILL_DIR"
# Copy only necessary files (exclude test/, .DS_Store, etc.)
echo "📄 Copying files..."
cp clean_flutter.py "$SKILL_DIR/"
cp SKILL.md "$SKILL_DIR/"
cp README.md "$SKILL_DIR/"
cp LICENSE "$SKILL_DIR/"
cp install.sh "$SKILL_DIR/"
cp install.ps1 "$SKILL_DIR/"
# Make script executable
chmod +x "$SKILL_DIR/clean_flutter.py"
echo ""
echo "✅ Installation complete!"
echo ""
echo "🎯 Features:"
echo " • Minimal Flutter projects (no MyHomePage)"
echo " • No comments in code"
echo " • Strict linting enabled"
echo " • CI/CD ready (GitHub Actions)"
echo " • AI auto-invocation enabled"
echo ""
echo "🚀 Usage:"
echo " Ask Claude: 'Create a Flutter app called my_app'"
echo " Or manually: /creating-clean-flutter <project_name>"
echo ""
echo "💡 Tip: Restart Claude Code to ensure the skill is loaded."