What problem does it solve? Writing MySQL scripts for the Windmill platform requires knowing its specific conventions for parameters, testing, and metadata synchronization. This Skill guides the AI to produce correctly formatted MySQL scripts and use the right wmill CLI commands for previewing, running, and deploying them without accidentally overwriting deployed versions. ## Core Features & Use Cases - Parameterized MySQL queries: Declares script arguments with ? placeholders and typed comment annotations (e.g. -- ? name (text)), including S3Object inputs consumed via JSON_TABLE. - Correct CLI workflow: Distinguishes wmill script preview (test local edits) from wmill script run (deployed version) and wmill sync push (deploy only on explicit request), preventing accidental deploys. - Metadata synchronization: Runs wmill generate-metadata after edits to keep .lock files, .script.yaml input schemas, and wmill-lock.yaml content hashes in sync. - S3 result streaming: Streams large query result sets directly to S3 in JSON, Parquet, or CSV format using the -- s3 directive. - Use Case: You need a Windmill script that queries a users table with filters. The Skill produces the annotated SQL, previews it locally with sample arguments, and regenerates metadata so the script is ready to deploy. ## Quick Start Write a Windmill MySQL script that selects users by name and minimum age, then preview it locally with sample arguments.