iru-setup-rust-cli - Scaffold an agent-friendly Rust CLI
Scaffolds a buildable Rust CLI workspace with clap, tests, quality gates, generated documentation, and an optional Ratatui UI.
Tags
Updated: 2026-11-26Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Resolve scaffold inputs
- Survey existing files
- Generate Cargo workspace
- Generate Rust CLI sources
- Generate CLI tests
- Generate quality configuration
- Generate CLI documentation
- Generate shell completions
- Generate optional TUI
- Handle existing files
Inputs
- Binary name
- Crate name
- CLI description
- UI choice
- License choice
- Repository information
- Developer information
- Rust version
- Existing repository files
- Existing-file handling mode
Outputs
- Cargo workspace files
- Rust source files
- CLI tests
- Quality configuration files
- Man pages
- Shell completion files
- Antora CLI reference
- Optional Ratatui UI files
- Existing-file update prompts
- Scaffold report
Requirements
- Rust toolchain
- Cargo
- Repository write access
- Allowed command-line tools
- Reference template files
