Notre avis
Supprime complètement une machine virtuelle, y compris ses disques et sa configuration, de manière irréversible.
Points forts
- Élimination totale de la VM et de ses données associées
- Utilise un outil local (just) pour une exécution fiable
- Inclut une confirmation explicite pour éviter les erreurs
Limites
- Action irréversible : aucune récupération possible
- Nécessite que l'outil 'just' soit installé et configuré
- Ne fonctionne que pour les VM gérées par le système 'just list-machines'
Utilisez cette compétence lorsque vous devez supprimer définitivement une VM et libérer toutes ses ressources.
Ne l'utilisez pas si vous souhaitez simplement arrêter ou recréer la VM ; préférez alors la commande destroy.
Analyse de sécurité
PrudenceThe skill executes a powerful command that permanently deletes VMs and data. While it requires explicit user confirmation and warns of irreversibility, the use of Bash for destructive operations and the automatic confirmation bypass warrant caution.
- •Uses Bash to execute a destructive command (`just purge`) that removes VM and all associated data permanently.
- •Automatically bypasses interactive confirmation with `yes |` after user confirmation.
Exemples
Please completely remove the VM named 'test-vm', including all disks and its machine configuration. I understand this cannot be undone.I want to permanently delete my development VM to free up disk space. Please purge it entirely.name: purge-vm description: Completely remove a VM including its machine config. Use when user wants to permanently delete everything about a VM. allowed-tools: Read, Bash, AskUserQuestion
Purge VM Skill
Completely remove a VM including its disks AND machine configuration. This cannot be undone.
Instructions
Step 1: Get VM Name
Run just list-machines to show existing machine configs. Ask which VM to purge.
Step 2: Confirm Purge
IMPORTANT: Warn the user clearly:
- The VM will be stopped and removed
- All VM disks will be deleted
- All data in /var and /home will be PERMANENTLY LOST
- The machine config (machines/{name}/) will ALSO be deleted
- This CANNOT be undone - unlike
destroy, there's no way to recreate the VM
Ask for explicit confirmation.
Step 3: Purge
Run:
yes | just purge {NAME}
The yes | is required to bypass the interactive confirmation prompt.
Step 4: Report Results
Confirm the VM and its config were completely removed.
Architecte Docker Compose
DevOps
Concoit des configurations Docker Compose optimisees.
Rapport de Post-Mortem
DevOps
Rédige des rapports post-mortem d'incidents structurés et blameless.
Créateur de Runbooks
DevOps
Crée des runbooks opérationnels clairs pour les procédures DevOps courantes.