#!/bin/bash # Installazione orto-skills SOURCE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" TARGET="$HOME/.openclaw/skills/orto-skills" echo "📦 Installing orto-skills..." echo "" # Verifica destinazione if [ -d "$TARGET" ]; then echo "⚠️ Directory esistente: $TARGET" read -p "Sovrascrivere? (y/N) " confirm if [ "$confirm" != "y" ]; then echo "❌ Installazione annullata" exit 1 fi rm -rf "$TARGET" fi # Crea directory parent mkdir -p "$(dirname "$TARGET")" # Copia skills cp -r "$SOURCE" "$TARGET" echo "✅ Installation complete!" echo "" echo "Skills installate in: $TARGET" echo "" echo "Skills incluse (2):" echo " - orto-init" echo " - orto-onboarding" echo "" echo "References incluse (2):" echo " - colture_it.md" echo " - qa_checklist_it.md"