Toolverse
All skills

n8n-code-javascript

by czlonkowski

Write JavaScript code in n8n Code nodes. Use when writing JavaScript in n8n, using $input/$json/$node syntax, making HTTP requests with $helpers, working with dates using DateTime, troubleshooting Code node errors, or choosing between Code node modes.

Installation

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

Installation

Quick info

Category
Backend
Views
116

About this skill

Write JavaScript code in n8n Code nodes. Use when writing JavaScript in n8n, using $input/$json/$node syntax, making HTTP requests with $helpers, working with dates using DateTime, troubleshooting Code node errors, or choosing between Code node modes.

How to use

  1. Zainstaluj umiejętność n8n-code-javascript w swoim środowisku n8n, dodając ją do dostępnych skills dla agentów lub asystentów.

  2. Otwórz lub utwórz nowy workflow w n8n i dodaj węzeł Code. Umiejętność pomoże Ci wybrać tryb wykonania – w większości przypadków użyj "Run Once for All Items" (domyślnie), który wykonuje kod raz dla wszystkich elementów wejściowych, zamiast osobno dla każdego.

  3. Uzyskaj dostęp do danych wejściowych za pomocą $input.all() aby pobrać wszystkie elementy, $input.first() dla pierwszego, lub $input.item dla bieżącego. Pamiętaj, że dane z webhooka znajdują się pod $json.body, a nie bezpośrednio w $json.

  4. Zwróć dane w wymaganym formacie: [{json: {...}}]. Użyj szablonu z umiejętności jako punktu wyjścia – dodaj logikę transformacji, agregacji lub filtrowania wewnątrz mapy elementów.

  5. Dla żądań HTTP użyj $helpers.httpRequest(), do pracy z datami wykorzystaj DateTime (biblioteka Luxon), a do zapytań JSON – $jmespath(). Umiejętność zawiera przykłady dla każdego z tych przypadków.

  6. Jeśli napotkasz błędy, sprawdź format zwracanego obiektu (musi być tablica), typ danych wejściowych i wybrany tryb wykonania. Umiejętność zawiera przewodnik debugowania dla najczęstszych problemów.

Related skills

pdf-to-markdown

by aliceisjustplaying

Convert entire PDF documents to clean, structured Markdown for full context loading. Use this skill when the user wants to extract ALL text from a PDF into context (not grep/search), when discussing or analyzing PDF content in full, when the user mentions \

Backend
355664

find-skills

by openstatusHQ

Helps users discover and install agent skills when they ask questions like \

Backend
150111

supabase-operations

by elevanaltd

Supabase operational knowledge for migrations, RLS optimization, MCP tool benchmarks, and ADR-003 compliance. Use when validating database migrations, optimizing Row-Level Security policies, checking MCP tool performance, or ensuring Supabase operational standards. Triggers on:

Backend
27109

openspec

by ruan-cat

OpenSpec 中文版规范助手 - 规范驱动的 AI 编程开发,帮助初始化、创建提案、编写规格、校验格式并归档变更。触发条件: 当用户提及 openspec、规范文档、需求管理、变更提案、spec-driven development 等关键词时主动调用。

Backend
27122

youtube-transcribe-skill

by feiskyer

Extract subtitles/transcripts from a YouTube video URL and save as a local file. Use when you need to extract subtitles from a YouTube video.

Backend
24178

literature-review

by K-Dense-AI

Conduct comprehensive, systematic literature reviews using multiple academic databases (PubMed, arXiv, bioRxiv, Semantic Scholar, etc.). This skill should be used when conducting systematic literature reviews, meta-analyses, research synthesis, or comprehensive literature

Backend
238507