write-script-nativets

Write native TypeScript scripts with main function signatures for Windmill automation.

1|Updated Apr 28, 2026
One-click install
npx skills add https://github.com/aurumorinc/koda --skill write-script-nativets-aurumorinc
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: write-script-nativets
Source: https://github.com/aurumorinc/koda/tree/main/apps/koda-api/.claude/skills/write-script-nativets
Command: npx skills add https://github.com/aurumorinc/koda --skill write-script-nativets-aurumorinc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill unit guides users in writing native TypeScript scripts that are designed for integration with the Windmill automation framework, ensuring correct structure and resource handling.

Core Features & Use Cases

  • Native TypeScript Scripting: Provides the framework and best practices for scripting in native TypeScript with fetch for data fetching.
  • Resource Access: Offers guidance on using the Windmill Client to interact with external APIs, retrieve resource data, and manage state.
  • Preprocessor Scripts: Shows how to handle event-driven preprocessor scripts for various event types.

Quick Start

Start by creating a TypeScript file with a main function that takes parameters and returns the results, ready to integrate into your Windmill flows.

Frequently Asked Questions about write-script-nativets

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

FAQPage Schema
How do I write a native TypeScript script for Windmill automation?▼

To write a native TypeScript script for Windmill, create a file with a main function that takes parameters and returns results, using fetch for data fetching and the Windmill Client for resource access.

How does resource handling work in Windmill TypeScript scripts?▼

Resource handling in Windmill TypeScript scripts works through the Windmill Client, which enables scripts to interact with external APIs, retrieve resource data, and manage state during automated task execution.

Can I use event-driven preprocessor scripts in Windmill?▼

Yes, you can use event-driven preprocessor scripts in Windmill to handle various event types, allowing your native TypeScript automation flows to react dynamically to specific triggers within the environment.

What is the correct main function signature for Windmill native TypeScript scripts?▼

The correct main function signature for Windmill native TypeScript scripts requires defining a main function that takes input parameters and returns the execution results, ensuring proper integration into Windmill flows.

Do I need external libraries for data fetching in Windmill TypeScript scripts?▼

You do not need external libraries for data fetching in Windmill TypeScript scripts; native TypeScript scripting utilizes the built-in fetch API alongside the Windmill Client to manage external API interactions and resource data retrieval.