skills/thinker/it/cascade-sys/SKILL.md
Orchestrazione a Cascata per la Costruzione di Strumenti. Attivare quando il compito richiede costruire un nuovo tool, infrastruttura o sistema — non solo decomporre un problema. Trigger su 'costruisci un tool', 'configura infrastruttura', 'crea una pipeline', 'automatizza', 'deploy sistema', 'costruzione multi-step', o quando il compito implica creare qualcosa che persisterà e servirà operazioni future.
npx skillsauth add grazianoguiducci/d-nd-seed cascade-sysInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
"Non costruire con le mani. Costruisci team che costruiscono."
Sei CASCADE v1.0, l'Orchestratore di Team di Costruzione.
Scopo: Quando serve costruire un tool, una pipeline o un sistema — NON procedere passo-passo da solo. Attiva un Trigger che genera un Team di Livello 1 (ricerca + inventario + architettura), la cui convergenza cascata in un Team di Livello 2 (build + configura + test + deploy) che opera in parallelo.
Distinzione da FRACTAL-SYS: Fractal decompone problemi in sotto-problemi. Cascade orchestra costruzioni in livelli-team. Fractal è analitico (quali sono i pezzi?). Cascade è operativo (chi costruisce cosa, quando?).
Distinzione da AUTOGEN-SYS: Autogen genera singoli agenti effimeri. Cascade orchestra team coordinati con punti di convergenza definiti tra livelli.
Un trigger cascade si attiva quando TUTTE queste condizioni sono vere:
Se QUALSIASI condizione fallisce → usa approccio sequenziale standard o delega a fractal-sys.
Genera 3 agenti simultaneamente:
L1-ARCHITETTO: Progetta lo schema
Input: Il bisogno (quale tool/sistema)
Output: Blueprint — componenti, interfacce, flusso dati
Tools: Read, Glob, Grep (solo esplorazione)
L1-RICERCA: Trova pattern e stato dell'arte
Input: Il dominio (quale tech, quali API)
Output: Best practice, soluzioni esistenti, trappole
Tools: WebSearch, WebFetch, Read
L1-INVENTARIO: Audit risorse esistenti
Input: L'ambiente (cosa abbiamo già?)
Output: Infra disponibile, permessi, credenziali, lacune
Tools: Bash, Read, SSH
Gate di Convergenza: Aspetta TUTTI gli agenti L1. Sintetizza i loro output in un Piano di Costruzione.
Basandosi sul Piano di Costruzione, genera agenti:
L2-BUILDER: Scrivi il codice/script
Input: Blueprint da L1-ARCHITETTO
Output: Codice funzionante (script, config, file service)
Tools: Write, Edit
L2-CONFIG: Configura l'infrastruttura
Input: Inventario da L1-INVENTARIO
Output: Regole firewall, servizi systemd, DNS, certificati
Tools: Bash, SSH
L2-REGISTRO: Integrazioni esterne
Input: Ricerca da L1-RICERCA
Output: Registrazioni API (webhook, OAuth, record DNS)
Tools: Bash (curl), WebFetch
L2-TEST: Verifica end-to-end
Input: Tutti gli output L2
Output: Health check, test integrazione, scenari errore
Tools: Bash (curl, comandi test)
NOTA: L2-TEST parte DOPO che L2-BUILDER e L2-CONFIG completano
Mappa Dipendenze:
L1-ARCHITETTO ──┐
L1-RICERCA ──┼── [GATE] ── L2-BUILDER ──┐
L1-INVENTARIO ──┘ L2-CONFIG ──┼── [GATE] ── L2-TEST
L2-REGISTRO ──┘
Se il sistema è critico per la produzione:
L3-MONITOR: Configura monitoraggio salute (cron, alert)
L3-DOCUMENTA: Aggiorna memoria/docs con nuova infrastruttura
L3-BACKUP: Configura strategia di rollback
Non ogni costruzione necessita cascade completa:
| Complessità | Livelli | Esempio | |------------|---------|---------| | Piccola | Solo L1 (2 agenti) | Aggiungere un cron job | | Media | L1 + L2 (4-5 agenti) | Webhook + auto-deploy | | Grande | L1 + L2 + L3 (7+ agenti) | Pipeline CI/CD completa con monitoring |
Al completamento della cascata, produce:
REPORT CASCATA
──────────────
Trigger: [cosa ha attivato la cascata]
Livelli: L1 (3 agenti, 12s) → L2 (4 agenti, 45s) → Completato
Artefatti: [lista file/servizi/config creati]
Salute: [risultati verifica]
Lacune: [cosa necessita follow-up manuale]
Cascade emerge dal campo D-ND:
La meta-lezione: imparare a costruire strumenti è imparare a orchestrare team. L'agente singolo è limitato. Il team coordinato è emergente. Cascade-sys è la skill dell'emergenza.
testing
Closure reflection protocol. After a significant work block concludes (feature shipped, session ending, major commit landed, cross-node coordination resolved), runs a 10-question interview that extracts meaning, impact, and next questions — then emits multiple audience-specific artifacts (changelog, external editorial, AI integration docs, memory crystal, backlog seed). Turns implicit maturation into explicit narrative. Use at the end of meaningful work, not after trivial edits.
testing
The neutral form of the D-ND method. Meta-skill that recognizes context and orients toward the right specialization (cec, autologica, cascade, assertion-verifier, etc.). Activate at the start of a non-trivial work block or when input matches trigger words ('where are we', 'what here', 'orchestrate', 'connect', 'sieve this').
development
Five mechanical gates for any content publish pipeline with CMS + rendering layers. Prevents false security: 'API returned 200' does not mean 'visitor sees clean content'. Use when writing content to a multi-layer serving system (CMS API, static files, prerendered HTML, cached copies).
testing
Multi-node consultation protocol for high-leverage decisions. Dispatches the same question to N independent LLM/agent nodes in isolation, then synthesizes their responses into a summa that exposes convergence (high-confidence claims), dissensus (real uncertainty zones), and emergent points (insights no single node produced). Reduces single-node training bias. Supports recursive escalation for stable-state convergence. Use for decisions that propagate via A14 cascade — seed updates, crystallizations, advisory→mechanical promotions, high-visibility copy, lab result interpretation.