What problem does it solve? Writing PHP scripts for the Windmill platform requires following specific conventions—such as defining a main function, declaring resource type classes, and specifying Composer dependencies as comments—and this Skill ensures every script you write conforms to those rules while guiding you to test with the correct CLI command. ## Core Features & Use Cases - Windmill PHP Conventions: Enforces the required script structure, including the <?php opening tag, a main function, and resource type class definitions guarded by class_exists. - Dependency Declaration: Shows how to specify Composer packages (e.g., guzzlehttp/guzzle, stripe/stripe-php) as // require: comments before the main function. - CLI Workflow Guidance: Distinguishes between wmill script preview for local iteration, wmill script run for deployed scripts, and wmill sync push for explicit deployment. - Use Case: You need a PHP script that connects to a PostgreSQL database on Windmill. The Skill generates a script with a Postgresql resource class, a typed main function, and then previews it locally with sample arguments. ## Quick Start Write a Windmill PHP script that fetches data from an API using Guzzle and preview it locally with sample arguments.