What problem does it solve? Writing Java scripts for the Windmill platform requires following specific structural conventions—a public Main class with a static main method, comment-based Maven dependency declarations, and correct CLI workflows for previewing, running, and syncing metadata. This Skill ensures every Java script you write conforms to those requirements and that you use the right wmill command at each stage. ## Core Features & Use Cases - Java Script Structure: Enforces the required public class Main with a public static Object main(...) entry point, returning Object or void. - Maven Dependencies via Comments: Declares dependencies like Gson or Apache HttpClient using //requirements: comment blocks at the top of the file. - CLI Workflow Guidance: Distinguishes wmill script preview (test local edits) from wmill script run (deployed version) and wmill generate-metadata (sync locks and schemas), preventing accidental deploys. - Use Case: You need a Windmill script that parses JSON input with Gson. The Skill produces a compliant Main class, adds the Gson requirement comment, and previews it locally with sample arguments before any deploy. ## Quick Start Write a Windmill Java script that takes a name and count as arguments and returns them as a map, then preview it locally with sample arguments.