What problem does it solve? Writing Python scripts for the Windmill platform requires following specific conventions: a main entrypoint, TypedDict resource types, the wmill SDK, and the correct CLI commands for previewing versus deploying. This Skill encodes all of those rules so generated scripts work on the first run. ## Core Features & Use Cases - Script Structure Enforcement: Ensures every script defines a typed main function, declares resource types as lowercase TypedDicts, and avoids import-name conflicts with resource types. - wmill SDK Reference: Provides the full Python SDK surface, including running scripts and flows, managing variables and resources, S3 file operations, workflow-as-code decorators (@task, @workflow), approvals, and state management. - CLI Workflow Guidance: Distinguishes wmill script preview for local iteration from wmill script run and wmill sync push for deployed code, preventing accidental deploys of untested changes. - Use Case: Ask for a script that reads a PostgreSQL table and uploads a report to S3; the output includes the postgresql TypedDict, correct wmill S3 calls, and a ready-to-run wmill script preview command with sample arguments. ## Quick Start Write a Windmill Python script that fetches data from an API and stores the result in an S3 file, then preview it locally.