skill-rust-cli

Automates scaffolding and configuration of Rust 2021 CLI binaries with clap 4.x, tokio 1.x, cargo-dist, and X4 compliance validation.

1|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/limit5/OmniSight-Productizer --skill skill-rust-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-rust-cli
Source: https://github.com/limit5/OmniSight-Productizer/tree/main/configs/skills/skill-rust-cli
Command: npx skills add https://github.com/limit5/OmniSight-Productizer --skill skill-rust-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cargo-llvm-cov, cargo-tarpaulin, and includes scripts (resource) components.

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.

Frequently Asked Questions about skill-rust-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a production-ready Rust CLI binary with clap and tokio?

Scaffolding a production-ready Rust CLI binary with clap and tokio is automated by generating a complete Rust 2021 project pre-configured with clap 4.x argument parsing, anyhow error handling, tokio 1.x async runtime, and tracing structured logging.

What is the best way to configure cargo-dist for cross-platform Rust release packaging?

Configuring cargo-dist for cross-platform Rust release packaging is handled automatically by wiring builds for Linux x86_64/arm64, Windows MSVC, and macOS arm64/x86_64 targets, applying size and performance optimizations like LTO and binary stripping.

Does this Rust CLI scaffolding include CVE scanning and SPDX license compliance checks?

Yes, this Rust CLI scaffolding enforces X4 compliance gates that include SPDX license allowlisting, CVE scanning, and SBOM generation, alongside X1 75% test coverage thresholds and X0 platform profile alignment validation.

Can I generate shell completions for bash, zsh, fish, and pwsh when building a Rust CLI?

Generating shell completions for bash, zsh, fish, and pwsh when building a Rust CLI is supported natively by the generated clap 4.x project configuration, ensuring cross-platform CLI usability out of the box.

Do I need cargo-llvm-cov or cargo-tarpaulin to enforce the 75% test coverage threshold?

Yes, enforcing the X1 75% test coverage threshold requires running coverage validation using the dependencies cargo-llvm-cov or cargo-tarpaulin to ensure your Rust CLI binary meets compliance standards before release.