write-script-bunnative
OfficialWrite Bun Native TypeScript scripts in Windmill.
System Documentation
What problem does it solve?
Writing Bun Native TypeScript scripts for Windmill can be verbose and error-prone if you must manage runtime constraints manually. This skill standardizes how to create compact, deterministic Bun Native scripts that run inside Windmill with fetch-only network access and no external imports.
Core Features & Use Cases
- Native TypeScript execution with Bun, limited to fetch for network requests and no external imports.
- Enforces a single exported async function named main that forms the entry point for Windmill tasks.
- Use Windmill resources via the RT namespace and integrate scripts into flows or standalone automation.
Quick Start
Place code in a Bun Native script under scripts/ (for example, scripts/main.ts) with an exported main function: export async function main(param1: string, param2: number) { // Your code here return { result: param1, count: param2 }; } Do not call the main function directly. Use Windmill to invoke the script and pass parameters as needed.
Dependency Matrix
Required Modules
None requiredComponents
💻 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-bunnative Download link: https://github.com/windmill-labs/windmill/archive/main.zip#write-script-bunnative Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.