What problem does it solve?
This Skill eliminates the repetitive, error-prone manual work of scaffolding, configuring, and validating production-grade Rust CLI tools that meet cross-platform release, compliance, and CLI usability standards, ensuring adherence to framework requirements without custom setup.
Core Features & Use Cases
- End-to-end Rust CLI scaffolding: Automatically generates a complete Rust 2021 project with clap 4.x argument parsing, anyhow error handling, tokio async runtime, and tracing structured logging, pre-configured to meet cli-tooling role conventions.
- Cross-platform release packaging: Wires in cargo-dist to build release artifacts for Linux x86_64/arm64, Windows MSVC, and macOS arm64/x86_64 targets, with size and performance optimizations like LTO and binary stripping.
- Built-in compliance and validation: Enforces X4 compliance gates for SPDX license allowlisting, CVE scanning, and SBOM generation, plus X1 75% test coverage thresholds and X0 platform profile alignment.
- Use Case: A DevOps engineer building a native CLI tool for managing edge AI cameras can use this Skill to generate a fully configured, compliant project in seconds, skipping weeks of boilerplate setup and validation work.
Quick Start
Use the skill-rust-cli skill to generate a fully configured, production-ready Rust CLI project for your new command-line tool, pre-wired for cross-platform release packaging, compliance checks, and CLI tooling role conformance.