What problem does it solve? Writing Rust scripts for the Windmill platform requires specific conventions — a typed main function, inline cargo dependency blocks, and serializable return types — plus knowing which wmill CLI command to run for previewing, metadata regeneration, or deployment. This Skill encodes all of those rules so scripts compile and integrate correctly on the first attempt. ## Core Features & Use Cases - Rust script scaffolding: Generates scripts with a main function taking owned argument types and returning anyhow::Result<T> where T derives Serialize. - Dependency management: Embeds a partial cargo.toml header for crates like tokio and reqwest, with guidance on async runtimes inside a sync main. - CLI workflow discipline: Distinguishes wmill script preview (local iteration) from wmill script run (deployed version) and wmill generate-metadata (lock/schema sync), preventing accidental deploys. - Use Case: You need a Windmill script that fetches JSON from an HTTP API. The Skill produces a Rust script with reqwest and tokio pinned in the cargo header, a sync main wrapping a tokio runtime, then previews it locally with sample arguments. ## Quick Start Write a Windmill Rust script that fetches a URL and returns the response body, then preview it locally with sample arguments.