write-script-rust

Official

Draft Rust scripts with guaranteed results.

Authorwindmill-labs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill standardizes the creation of Rust scripts by enforcing a clear entry point (main) and a serializable return type, enabling automated execution and reliable integration in internal workflows.

Core Features & Use Cases

  • Enforces a Rust script structure with a main function signature returning anyhow::Result<ReturnType> and a serializable ReturnType.
  • Allows declaring dependencies at the top of the script with a partial cargo.toml snippet, making builds deterministic and repeatable.
  • Use cases include internal CLI tools, data processing tasks, and automation workflows that require typed outputs and easy testing.

Quick Start

Create a Rust script that defines a main function and a ReturnType that derives Serialize, then declare dependencies at the top with a partial cargo.toml. Place the script in the scripts/ folder and execute the Windmill workflow commands to generate metadata and deploy.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: write-script-rust
Download link: https://github.com/windmill-labs/windmill/archive/main.zip#write-script-rust

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.