一键导入
miniboxbuild-test
Build, test, and debug workflows for minibox container runtime
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build, test, and debug workflows for minibox container runtime
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 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:build-test |
| description | Build, test, and debug workflows for minibox container runtime |
Build, test, and debug the minibox container runtime with project-specific workflows.
Use this skill when:
Build all components:
cargo build --all
Build specific components:
cargo build -p minibox # Core library
cargo build -p miniboxd # Daemon
cargo build -p minibox-cli # CLI tool
Release build:
cargo build --release --all
Run all tests:
cargo test --all
Run tests for specific component:
cargo test -p minibox
cargo test -p miniboxd
Run specific test:
cargo test test_name
Run with output:
cargo test -- --nocapture
Format code:
cargo fmt --all
Check formatting:
cargo fmt --all -- --check
Run clippy:
cargo clippy --all -- -D warnings
Check without building:
cargo check --all
cargo fmt --allcargo clippy --all -- -D warningscargo test --allcargo build --release --allCheck dependencies:
cargo tree
Clean build:
cargo clean
cargo build --all
Verbose build:
cargo build --all --verbose
Currently minibox has no test coverage. When adding tests:
Create test module in source file:
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_namespace_creation() {
// Test code
}
}
Create integration tests:
mkdir -p tests
# Create tests/integration_test.rs
Key directories:
minibox/ - Core library with container primitivesminiboxd/ - Daemon implementationminibox-cli/ - Command-line interfaceCargo.toml - Workspace configurationBuild helper:
./skills/minibox/build-test/scripts/build.sh
Builds all minibox components with progress output.
Test runner:
./skills/minibox/build-test/scripts/test.sh
Runs all tests with proper output formatting.
Quality checker:
./skills/minibox/build-test/scripts/check.sh
Runs all quality checks (fmt, clippy, tests, compile).
Missing dependencies:
Test failures:
Build performance:
cargo build --release for optimized buildssccache for faster recompilationtarget/ directory size with du -sh target/For comprehensive testing guidance, load references/testing-guide.md which covers: