Toolverse
All skills

write-script-go

by windmill-labs

MUST use when writing Go scripts.

Installation

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

Installation

Quick info

Category
DevOps
Views
3

About this skill

MUST use when writing Go scripts.

How to use

  1. Utwórz nowy plik Go w swoim projekcie Windmill. Pamiętaj, że pakiet musi się nazywać inner i musi zawierać funkcję main (małymi literami), która zwraca tuple (wynik, błąd).

  2. Zdefiniuj parametry funkcji jako argumenty — mogą to być stringi, liczby całkowite lub inne typy Go. Funkcja powinna zwracać typ, który można serializować do JSON, oraz błąd. Na przykład: func main(param1 string, param2 int) (map[string]interface{}, error).

  3. Jeśli chcesz zwrócić strukturę danych, zdefiniuj typ struct z tagami json dla każdego pola. Funkcja main powinna zwrócić instancję tego typu oraz błąd.

  4. Obsługuj błędy, zwracając je jako drugą wartość zwracaną. Jeśli walidacja parametrów się nie powiedzie, zwróć pusty wynik i błąd za pomocą errors.New().

  5. Po napisaniu skryptu uruchom wmill script generate-metadata w folderze, aby wygenerować pliki .script.yaml i .lock. Te pliki zawierają metadane skryptu niezbędne do wdrożenia.

  6. Wdróż skrypt na platformę Windmill, uruchamiając wmill sync push. Skrypt będzie dostępny do uruchamiania w Windmill.

Related skills

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

trello

by openclaw

Manage Trello boards, lists, and cards via the Trello REST API.

DevOps
23107

planning-with-files

by davila7

Implements Manus-style file-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when starting complex multi-step tasks, research projects, or any task requiring u003e5 tool calls.

DevOps
2365

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

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

docker-containerization

by openclaw

This skill should be used when containerizing applications with Docker, creating Dockerfiles, docker-compose configurations, or deploying containers to various platforms. Ideal for Next.js, React, Node.js applications requiring containerization for development, production, or

DevOps
1334