Initial commit: framework-translator skill (LLM-native approach)
- SKILL.md: Istruzioni complete per LLM (Fasi 1-5) - references/mapping_patterns.md: 13 pattern di trasformazione - references/skill_template.md: Template standardizzato SKILL.md - scripts/: 3 script meccanici bash (scan, structure, packaging) - PIANO_SVILUPPO.md: Piano di sviluppo originale (documentazione) Approccio: LLM-native con script minimali per operazioni meccaniche. Token usage stimato: ~35-65K per framework. Vantaggi: comprensione semantica, adattabilità, manutenzione semplice.
This commit is contained in:
commit
c40ddf4b59
9 changed files with 3344 additions and 0 deletions
54
scripts/01_scan_files.sh
Executable file
54
scripts/01_scan_files.sh
Executable file
|
|
@ -0,0 +1,54 @@
|
|||
#!/bin/bash
|
||||
# 01_scan_files.sh — Scansione file framework
|
||||
# Solo meccanico: lista file markdown e struttura directory
|
||||
|
||||
set -e
|
||||
|
||||
FRAMEWORK_PATH="$1"
|
||||
|
||||
if [ -z "$FRAMEWORK_PATH" ]; then
|
||||
echo "❌ Usage: $0 <framework-path>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -d "$FRAMEWORK_PATH" ]; then
|
||||
echo "❌ Error: Directory not found: $FRAMEWORK_PATH"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "📂 Scansione framework: $FRAMEWORK_PATH"
|
||||
echo "=============================================="
|
||||
|
||||
# Struttura directory
|
||||
echo ""
|
||||
echo "### STRUTTURA DIRECTORY"
|
||||
echo ""
|
||||
find "$FRAMEWORK_PATH" -type d | grep -v "/\." | sort | head -50
|
||||
|
||||
# File markdown
|
||||
echo ""
|
||||
echo "### FILE MARKDOWN ($(find "$FRAMEWORK_PATH" -name "*.md" | wc -l | tr -d ' ') totali)"
|
||||
echo ""
|
||||
find "$FRAMEWORK_PATH" -type f -name "*.md" | grep -v "/\." | sort
|
||||
|
||||
# Script
|
||||
echo ""
|
||||
echo "### SCRIPT ($(find "$FRAMEWORK_PATH" -type f \( -name "*.py" -o -name "*.sh" \) | wc -l | tr -d ' ') totali)"
|
||||
echo ""
|
||||
find "$FRAMEWORK_PATH" -type f \( -name "*.py" -o -name "*.sh" \) | grep -v "/\." | sort
|
||||
|
||||
# Cartelle chiave
|
||||
echo ""
|
||||
echo "### CARTELLE CHIAVE IDENTIFICATE"
|
||||
echo ""
|
||||
|
||||
for pattern in agents agenti actors roles workflows flussi processes knowledge docs scripts tools prompts; do
|
||||
found=$(find "$FRAMEWORK_PATH" -type d -iname "*$pattern*" | grep -v "/\." | head -3)
|
||||
if [ -n "$found" ]; then
|
||||
echo "✓ $pattern: $found"
|
||||
fi
|
||||
done
|
||||
|
||||
echo ""
|
||||
echo "=============================================="
|
||||
echo "✅ Scansione completata"
|
||||
Loading…
Add table
Add a link
Reference in a new issue