What problem does it solve? Writing scripts for Windmill's native worker requires following strict conventions — the //native first-line marker, a single exported async main function, and code restricted to fetch and the JavaScript standard library. This Skill ensures generated scripts are routed to the native worker correctly and guides the full local workflow of previewing, metadata regeneration, and deployment. ## Core Features & Use Cases - Native Worker Script Authoring: Generates TypeScript scripts with the mandatory //native header, async main export, and RT namespace resource types. - CLI Workflow Guidance: Distinguishes wmill script preview (local iteration) from wmill script run (deployed version) and wmill generate-metadata (lock/schema sync), preventing accidental deploys. - Windmill Client Integration: Uses windmill-client for resources, variables, state, S3 file operations, job orchestration, and workflow-as-code primitives like step, taskScript, and waitForApproval. - Use Case: You need a lightweight, highly parallelizable script that calls an external HTTP API and stores the result in S3. The Skill produces a //native script using fetch and wmill.writeS3File, then previews it locally with sample arguments. ## Quick Start Write a Bun Native Windmill script that fetches data from an external API and saves the result to S3, then preview it locally with sample arguments.