What problem does it solve? Writing Rust scripts for Windmill requires knowing the platform's specific conventions: a typed main function, inline cargo dependency blocks, serializable return types, and the correct wmill CLI commands for previewing versus deploying. This Skill encodes those rules so generated scripts compile and run correctly on the first attempt. ## Core Features & Use Cases - Rust Script Structure: Enforces the required main function signature with owned argument types, anyhow::Result<T> returns, and #[derive(Serialize)] output structs. - Dependency Management: Shows how to declare crates via an inline partial cargo.toml block, including async setups with tokio and reqwest. - CLI Workflow Guidance: Distinguishes wmill script preview for local iteration from wmill script run and wmill sync push for deployed versions, preventing accidental deploys during testing. - Use Case: A developer asks for a script that fetches JSON from an API. The Skill produces a Rust script with the correct cargo header, a sync main wrapping a tokio runtime, and then runs wmill script preview with sample arguments to validate it. ## Quick Start Write a Windmill Rust script that fetches a URL and returns the response body, then preview it locally with sample arguments.