write-script-deno

Write Deno/TypeScript scripts for Windmill exporting an async main function.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a standardized approach to writing Deno/TypeScript scripts for Windmill, enabling predictable script execution and easy integration with Windmill resources.

Core Features & Use Cases

  • Deno runtime with npm support via the npm: prefix and native Deno libraries.
  • Export a single async function named main that receives typed parameters and returns a result.
  • Use the RT namespace for resource types when accessing credentials and configuration.
  • Import npm packages and Deno standard libraries as needed.
  • Integrate with Windmill client for platform interactions.

Quick Start

Place a TypeScript script in the scripts folder that exports a single async function named main and uses Windmill RT resources to access credentials and configuration.

Frequently Asked Questions about write-script-deno

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

FAQPage Schema
How do I write a Deno TypeScript script for Windmill?

To write a Deno TypeScript script for Windmill, export a single async main function and use the RT namespace to access resources. Import npm: prefixed packages and Deno standard libraries to structure the script.

Can I use npm packages in Deno scripts on Windmill?

Yes, you can use npm packages in Deno scripts on Windmill by importing them with the npm: prefix. This allows you to leverage standard npm libraries alongside native Deno standard libraries within your script.

How do I access credentials and configuration in Windmill scripts?

Access credentials and configuration in Windmill scripts by using the RT namespace for resource types. This mechanism ensures your main function securely retrieves necessary credentials during script execution.

What is the required structure for a Windmill Deno script?

The required structure for a Windmill Deno script is exporting a single async function named main that receives typed parameters and returns a result. This aligns the script with Windmill's execution expectations.

Does Windmill support native Deno libraries in TypeScript scripts?

Yes, Windmill supports native Deno libraries in TypeScript scripts. You can import Deno standard libraries as needed alongside npm: prefixed packages to build reliable scripts.

Why does my Windmill Deno script fail to execute properly?

Windmill Deno scripts fail to execute properly if they do not export a single async main function or if they bypass the RT namespace for resource access. Ensure the script structure aligns with Windmill expectations.