con un clic
miniboxsetup
Development environment setup for minibox container runtime
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Development environment setup for minibox container runtime
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Remove AI-generated code slop by comparing current branch against base branch and eliminating unnecessary comments, defensive bloat, type workarounds, and style inconsistencies. Use this skill when reviewing AI-generated code, before merging PRs, when code quality seems degraded, or when you notice AI tells like excessive comments or defensive checks. Trigger for phrases like "remove slop", "clean AI code", "remove unnecessary code", "fix code quality", or when diff shows obvious AI-generated patterns.
Expert BAML (BoundaryML) schema design, code review, and test generation following established standards and conventions. Use this whenever users mention BAML, want to design AI functions, create schemas for LLM interactions, generate test cases, or review existing BAML code. Covers class/function/enum design, client configuration, prompt engineering, and comprehensive testing patterns.
Audit Claude Code agents, skills, commands, and hooks for quality, completeness, and adherence to templates and best practices. Use this skill when reviewing workspace components, ensuring quality standards, preparing for deployment, or investigating component issues. Trigger for phrases like "audit components", "check agents", "review skills", "validate commands", or proactively before major releases or when onboarding new components.
Comprehensive helper for working with the DevLoop development observability tool - both using it to analyze development patterns and contributing to its development. Use when running DevLoop commands, interpreting council mode analysis, understanding git activity patterns, reviewing Claude Code sessions, or working on DevLoop's hexagonal architecture codebase. Trigger for phrases like "run devloop", "analyze branch", "council mode", "development patterns", or when working on the DevLoop Rust codebase itself.
Remove emojis from project files and replace them with text equivalents. Use this skill when the user mentions removing emojis, cleaning up documentation, code review mentions emoji issues, or when you notice emojis in files that should be emoji-free. Also trigger for phrases like "clean emojis", "no emojis", "remove emoji", or "emoji cleanup".
Guide automated git bisect sessions to find regression commits with smart test execution and commit analysis. Use this skill when tracking down bugs introduced by specific commits, finding when tests started failing, debugging performance regressions, or investigating when features broke. Trigger for phrases like "find the bad commit", "when did this break", "bisect", "regression hunt", or when the user needs to identify which commit introduced an issue.
| name | minibox:setup |
| description | Development environment setup for minibox container runtime |
Set up development environment and verify required kernel features for minibox.
Use this skill when:
Linux kernel 5.0+ required for:
Supported distributions:
Not supported:
Check cgroups v2:
# Should show cgroup2
mount | grep cgroup2
# Should show /sys/fs/cgroup
cat /proc/mounts | grep cgroup2
# Verify unified hierarchy
ls /sys/fs/cgroup/cgroup.controllers
Enable cgroups v2 (if needed):
# Add to kernel boot parameters
# /etc/default/grub:
GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=1"
# Update grub
sudo update-grub
sudo reboot
Check namespace support:
# Should show namespace types
ls -la /proc/self/ns/
# Expected: ipc, mnt, net, pid, user, uts
Check overlay filesystem:
# Should show overlay
grep overlay /proc/filesystems
Install Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
Verify installation:
rustc --version
cargo --version
Install toolchain components:
rustup component add rustfmt clippy
Ubuntu/Debian:
sudo apt-get update
sudo apt-get install -y \
build-essential \
pkg-config \
libssl-dev \
git
Fedora:
sudo dnf install -y \
gcc \
pkg-config \
openssl-devel \
git
Arch:
sudo pacman -S base-devel openssl git
# Clone repository
git clone https://github.com/username/minibox.git
cd minibox
# Build all components
cargo build --all
# Build release version
cargo build --release --all
Minibox uses these directories at runtime:
Container storage:
sudo mkdir -p /var/lib/minibox/{containers,images}
sudo chmod 755 /var/lib/minibox
Daemon socket:
# Created automatically at /var/run/minibox.sock
# Requires root permissions
Check build:
./target/debug/minibox-cli --version
./target/debug/miniboxd --version
Test daemon start:
sudo ./target/debug/miniboxd &
# Should start without errors
# Check socket created
ls -la /var/run/minibox.sock
# Stop daemon
sudo pkill miniboxd
Code quality:
# Format on save
cargo install cargo-watch
cargo watch -x fmt
# Continuous testing
cargo watch -x test
Performance profiling:
cargo install flamegraph
sudo cargo flamegraph --bin miniboxd
Dependency management:
cargo install cargo-tree
cargo tree
VS Code:
{
"rust-analyzer.cargo.allFeatures": true,
"rust-analyzer.checkOnSave.command": "clippy",
"[rust]": {
"editor.formatOnSave": true
}
}
Vim/Neovim:
" Use rust-analyzer with coc.nvim or nvim-lsp
Check current setup:
mount | grep cgroup
If using cgroups v1:
systemd.unified_cgroup_hierarchy=1 to kernel parameterscgroup_no_v1=allUpdate Rust toolchain:
rustup update
Clear build cache:
cargo clean
rm -rf target/
cargo build --all
Daemon requires root:
# Must use sudo
sudo ./target/debug/miniboxd
Container operations require root:
# namespaces, cgroups need CAP_SYS_ADMIN
sudo ./target/debug/minibox-cli run ubuntu:latest /bin/bash
Missing kernel module:
# Load overlay module
sudo modprobe overlay
# Auto-load on boot
echo overlay | sudo tee /etc/modules-load.d/overlay.conf
Verify kernel features:
./skills/minibox/setup/scripts/verify-kernel.sh
Comprehensive kernel feature verification with color-coded output.
Setup environment:
./skills/minibox/setup/scripts/setup-env.sh
Automated environment setup (directories, modules, Rust toolchain, build).
Root requirement:
Future improvements:
For comprehensive kernel feature documentation, load references/kernel-features.md which covers: