write-flow

Create Windmill flows with YAML and deploy via wmill sync push.

Updated Feb 21, 2026
One-click install
npx skills add https://github.com/adamkingsbury/unified-data-model --skill write-flow-adamkingsbury
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-flow
Source: https://github.com/adamkingsbury/unified-data-model/tree/main/.claude/skills/write-flow
Command: npx skills add https://github.com/adamkingsbury/unified-data-model --skill write-flow-adamkingsbury

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Designing and deploying Windmill flows can be error-prone and manual. This guide gives a structured approach to authoring flow definitions, validating structure against the OpenFlow schema, and deploying changes with deterministic tooling.

Core Features & Use Cases

  • Flow creation: Create a folder ending with .flow and add a YAML file with the flow definition.
  • Inline scripting: For rawscript modules, use !inline path/to/script.ts to embed code.
  • Deployment workflow: After writing, generate lock files with wmill flow generate-locks --yes and deploy with wmill sync push.
  • OpenFlow as source of truth: Use openflow.openapi.yaml as the authoritative schema; understand module IDs, input transforms, and resource references.

Quick Start

Create a new folder named my_flow.flow, add flow.yaml with your flow definition, then run wmill flow generate-locks --yes followed by wmill sync push to deploy.

Frequently Asked Questions about write-flow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create and deploy a Windmill flow from a YAML file?

To create and deploy a Windmill flow, make a folder ending with .flow and add a YAML flow definition file. Deploy by running wmill flow generate-locks --yes followed by wmill sync push.

How do I add inline scripts to a Windmill flow YAML definition?

Add inline scripts to a Windmill flow by using the rawscript property with the !inline tag. Point it to your script file path, like !inline path/to/script.ts, to embed code directly within the YAML flow structure.

What schema defines the structure of a Windmill flow?

The OpenFlow schema, specifically openflow.openapi.yaml, is the authoritative source of truth for defining Windmill flow structure. It governs the rules for module IDs, input transforms, and resource references.

Why do I need to generate lock files before pushing a Windmill flow?

Generating lock files with wmill flow generate-locks --yes validates your flow structure deterministically before deployment. Running it before wmill sync push prevents manual errors and ensures a reliable Windmill deployment.

Does Windmill flow deployment work without adding external dependencies?

Windmill flow deployment works without external dependencies by using the core wmill CLI tooling. You can author YAML definitions, generate lock files, and push changes using only standard Windmill workflow components.

What is the best way to structure a Windmill flow folder for reliable deployment?

The best way to structure a Windmill flow for deployment is to create a dedicated folder ending with .flow. Place your YAML flow definition file inside this folder to ensure deterministic validation and syncing with wmill sync push.