Toolverse
All skills

write-script-csharp

by windmill-labs

MUST use when writing C# scripts.

Installation

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

Installation

Quick info

Category
DevOps
Views
17

About this skill

MUST use when writing C# scripts.

How to use

  1. Utwórz nowy plik skryptu C# w swoim projekcie Windmill. Plik powinien zawierać klasę z publiczną statyczną metodą Main, która przyjmuje parametry wejściowe i zwraca wynik. Nazwa klasy nie ma znaczenia, ale metoda musi być dokładnie nazwana Main i być publiczna oraz statyczna.

  2. Jeśli skrypt wymaga pakietów NuGet, dodaj je na początku pliku za pomocą dyrektywy #r, na przykład #r "nuget: Newtonsoft.Json, 13.0.3". Następnie zaimportuj przestrzenie nazw za pomocą using. Możesz dodać wiele pakietów w ten sposób.

  3. Uruchom komendę wmill script generate-metadata w folderze zawierającym Twój skrypt. Polecenie to automatycznie wygeneruje pliki .script.yaml i .lock zawierające metadane skryptu i zablokowane wersje zależności.

  4. Aby odkryć dostępne typy zasobów, które możesz wykorzystać w skrypcie, uruchom wmill resource-type list --schema. Wyświetli to listę wszystkich zasobów, które możesz przekazać jako parametry do metody Main.

  5. Po zakończeniu pisania i generacji metadanych uruchom wmill sync push, aby wdrożyć skrypt do Windmill. Skrypt będzie wtedy dostępny do użycia w przepływach pracy.

Related skills

macos-cleaner

by daymade

Analyze and reclaim macOS disk space through intelligent cleanup recommendations. This skill should be used when users report disk space issues, need to clean up their Mac, or want to understand what's consuming storage. Focus on safe, interactive analysis with user confirmation

DevOps
1331

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

game-art

by davila7

Game art principles. Visual style selection, asset pipeline, animation workflow.

DevOps
1268

task-master

by sfc-gh-dflippo

AI-powered task management for structured, specification-driven development. Use this skill when you need to manage complex projects with PRDs, break down tasks into subtasks, track dependencies, and maintain organized development workflows across features and branches.

DevOps
14126

senior-computer-vision

by davila7

World-class computer vision skill for image/video processing, object detection, segmentation, and visual AI systems. Expertise in PyTorch, OpenCV, YOLO, SAM, diffusion models, and vision transformers. Includes 3D vision, video analysis, real-time processing, and production

DevOps
1044

senior-data-engineer

by davila7

World-class data engineering skill for building scalable data pipelines, ETL/ELT systems, and data infrastructure. Expertise in Python, SQL, Spark, Airflow, dbt, Kafka, and modern data stack. Includes data modeling, pipeline orchestration, data quality, and DataOps. Use when

DevOps
1268