Toolverse
All skills

write-script-deno

by windmill-labs

MUST use when writing Deno/TypeScript scripts.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
DevOps
Views
1

About this skill

MUST use when writing Deno/TypeScript scripts.

How to use

  1. Utwórz nowy skrypt w Windmill i wybierz runtime Deno/TypeScript. Zdefiniuj funkcję main jako async, przyjmującą parametry odpowiadające wejściom skryptu — na przykład export async function main(param1: string, param2: number). Funkcja powinna zwrócić obiekt z wynikami.
  2. Importuj biblioteki npm, dodając prefiks npm: do nazwy pakietu — przykład: import Stripe from "npm:stripe". Dla bibliotek standardowych Deno używaj pełnych URL, na przykład import { serve } from "https://deno.land/std/http/server.ts". Windmill zainstaluje zależności automatycznie.
  3. Jeśli skrypt wymaga dostępu do credentials lub konfiguracji (API keys, tokeny), użyj zasobów Windmill. Dodaj parametr RT.NazwaZasobu do funkcji main — na przykład export async function main(stripe: RT.Stripe). Zasobów dostępne możesz sprawdzić poleceniem wmill resource-type list --schema.
  4. Aby korzystać z klienta Windmill do interakcji z platformą, zaimportuj import * as wmill from "windmill-client". Zapoznaj się z dokumentacją SDK, aby poznać dostępne metody.
  5. Po napisaniu skryptu uruchom wmill script generate-metadata w folderze, aby wygenerować pliki .script.yaml i .lock. Następnie wykonaj wmill sync push, aby wdrożyć skrypt do Windmill. Nie uruchamiaj tych poleceń ręcznie — poinformuj użytkownika, że powinien je wykonać.

Related skills

grafana-dashboards

by wshobson

Create and manage production Grafana dashboards for real-time visualization of system and application metrics. Use when building monitoring dashboards, visualizing metrics, or creating operational observability interfaces.

DevOps
92262

file-organizer

by ComposioHQ

Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better structures, and automating cleanup tasks. Reduces cognitive load and keeps your digital workspace tidy without manual effort.

DevOps
1399

context7

by mikha08-rgb

Search GitHub issues, pull requests, and discussions across any repository. Activates when researching external dependencies (whisper.cpp, NAudio), looking for similar bugs, or finding implementation examples.

DevOps
51166

azure-devops-rest-api

by Tiberriver256

Guide for working with Azure DevOps REST APIs and OpenAPI specifications. Use this skill when implementing new Azure DevOps API integrations, exploring API capabilities, understanding request/response formats, or referencing the official OpenAPI specifications from the

DevOps
995

resolve-conflicts

by antinomyhq

Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration),

DevOps
48163

turborepo

by vercel

Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines,\ndependsOn, caching, remote cache, the \

DevOps
1066