From fcc020a364e4704bc24466f04036c94d74ba6557 Mon Sep 17 00:00:00 2001 From: Snider Date: Thu, 29 Jan 2026 11:35:55 +0000 Subject: [PATCH] docs(skill): update VM commands to use core vm prefix Updates skill documentation to reflect the refactored VM commands now grouped under `core vm`. Co-Authored-By: Claude Opus 4.5 --- .claude/skills/core/SKILL.md | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) diff --git a/.claude/skills/core/SKILL.md b/.claude/skills/core/SKILL.md index 90796340..1dff1128 100644 --- a/.claude/skills/core/SKILL.md +++ b/.claude/skills/core/SKILL.md @@ -353,23 +353,39 @@ core php packages update core php packages unlink vendor/my-package ``` -## Container Management +## VM Management + +LinuxKit VMs are lightweight, immutable VMs built from YAML templates. ```bash # Run LinuxKit image -core run server.iso +core vm run server.iso -# List running containers -core ps +# Run with options +core vm run -d --memory 2048 --cpus 4 image.iso -# Stop container -core stop +# Run from template +core vm run --template core-dev --var SSH_KEY="ssh-rsa AAAA..." + +# List running VMs +core vm ps +core vm ps -a # Include stopped + +# Stop VM +core vm stop # View logs -core logs +core vm logs +core vm logs -f # Follow -# Execute command in container -core exec +# Execute command in VM +core vm exec ls -la +core vm exec /bin/sh + +# Manage templates +core vm templates # List templates +core vm templates show # Show template content +core vm templates vars # Show template variables ``` ## Decision Tree @@ -417,6 +433,7 @@ Setting up environment? | `gh pr list` per repo | `core reviews` | Aggregated view | | Manual commits across repos | `core commit` | Consistent messages, Co-Authored-By | | Manual Coolify deploys | `core php deploy` | Tracked, scriptable | +| Raw `linuxkit run` | `core vm run` | Unified interface, templates | ## Configuration