Aggiornato SKILL.md: Riferimenti a nuova struttura test/

- Tutti gli output ora puntano a test/<framework>/
- Fasi 1-4: test/<framework>/test-<framework>_v1/
- Fase 5: test/<framework>/<framework>-skills-suite/
- Riferimento a test/README.md per documentazione
This commit is contained in:
AgentePotente 2026-03-07 11:42:02 +01:00
parent 91f99591a7
commit 140a8186b9

View file

@ -28,34 +28,36 @@ Questa skill supporta framework in **qualsiasi lingua** (italiano, inglese, spag
┌─────────────────────────────────────────────────────────────────┐
│ FASE 1: Analisi Framework (LLM legge e comprende) │
│ Input: Percorso framework │
│ Output: analysis_report.md
│ Output: test/<framework>/test-<framework>_v1/analysis_report.md
└─────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────┐
│ FASE 2: Mappatura (LLM propone, utente approva) │
│ Input: analysis_report.md │
│ Output: mapping_plan.md (approvato)
│ Output: test/<framework>/test-<framework>_v1/mapping_plan.md
└─────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────┐
│ FASE 3: Estrazione Knowledge (LLM estrae e centralizza) │
│ Input: mapping_plan.md + file framework │
│ Output: references/*.md
│ Output: test/<framework>/test-<framework>_v1/references/*.md
└─────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────┐
│ FASE 4: Generazione Skills (LLM scrive SKILL.md) │
│ Input: mapping_plan.md + references/ │
│ Output: <framework>-skills/*/SKILL.md
│ Output: test/<framework>/test-<framework>_v1/skills/*/SKILL.md
└─────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────┐
│ FASE 5: Packaging (Script meccanici) │
│ Input: skills generate + references │
│ Output: Suite pronta per distribuzione
│ Output: test/<framework>/<framework>-skills-suite/
└─────────────────────────────────────────────────────────────────┘
```
**Nota:** Tutti i output dei test vanno nella cartella `test/` come documentato in `test/README.md`.
---
## Fase 1: Analisi Framework (LLM)
@ -222,7 +224,9 @@ cat README.md
### Step 1.8: Generazione analysis_report.md
**Azione:** Compila il report usando questo template:
**Azione:** Compila il report e salva in `test/<framework>/test-<framework>_v1/analysis_report.md`
**Template:**
```markdown
# Analysis Report — <Framework Name>
@ -520,6 +524,8 @@ Attendo tuo feedback prima di procedere.
### Step 2.8: Generazione mapping_plan.md Finale
**Azione:** Salva in `test/<framework>/test-<framework>_v1/mapping_plan.md`
**Template:**
```markdown
@ -722,7 +728,7 @@ _Reference generato da framework-translator_
**Azione:** Salva ogni reference in:
```
<framework>-suite/references/<nome>.md
test/<framework>/test-<framework>_v1/references/<nome>.md
```
**Naming convention:**
@ -858,19 +864,20 @@ altrimenti:
**Azione:** Per ogni skill, genera:
```
<framework>-suite/<skill-name>/
test/<framework>/test-<framework>_v1/skills/<skill-name>/
└── SKILL.md
```
**Struttura directory completa:**
```
<framework>-suite/
├── <skill-1>/
│ └── SKILL.md
├── <skill-2>/
│ └── SKILL.md
├── ...
test/<framework>/test-<framework>_v1/
├── skills/
│ ├── <skill-1>/
│ │ └── SKILL.md
│ ├── <skill-2>/
│ │ └── SKILL.md
│ └── ...
└── references/
├── reference-1.md
├── reference-2.md
@ -913,20 +920,22 @@ ln -s ../references references
**Obiettivo:** Rendere la suite pronta per distribuzione.
### Step 5.1: Script 01_create_dirs.sh
### Step 5.1: Script 02_create_structure.sh
```bash
#!/bin/bash
# Crea struttura directory per distribuzione
# Crea struttura distribuzione in test/<framework>/
FRAMEWORK_NAME="$1"
if [ -z "$FRAMEWORK_NAME" ]; then
echo "Usage: $0 <framework-name>"
SOURCE_DIR="$2" # test/<framework>/test-<framework>_v1/
if [ -z "$FRAMEWORK_NAME" ] || [ -z "$SOURCE_DIR" ]; then
echo "Usage: $0 <framework-name> <source-dir>"
exit 1
fi
# Crea cartella distribuzione
DIST_DIR="${FRAMEWORK_NAME}-suite"
DIST_DIR="test/${FRAMEWORK_NAME}/${FRAMEWORK_NAME}-skills-suite"
mkdir -p "$DIST_DIR"
# Sposta references in root