
N8n Code Javascript
by czlonkowski19cd793f4789No license6.3K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 3 weeks ago
Write JavaScript code in n8n Code nodes. Use when writing JavaScript in n8n, using $input/$json/$node syntax, making HTTP requests with this.helpers / the $helpers global, working with dates using DateTime, troubleshooting Code node errors, choosing between Code node modes, or doing any custom data transformation in n8n. Always use this skill when a workflow needs a Code node — whether for data aggregation, filtering, API calls, format conversion, batch processing logic, or any custom JavaScript. Covers SplitInBatches loop patterns, cross-iteration data, pairedItem, and real-world production patterns. Also use when asked why a Code node or workflow is slow, which execution mode is faster, or how to cut per-item overhead on large datasets. EXCEPTION — for the AI-agent-callable Custom Code Tool (@n8n/n8n-nodes-langchain.toolCode, a tool attached to an AI Agent), use the n8n-code-tool skill instead; it has a different runtime contract.
- 19cd793f4789Currentcommit 19cd793Published Oct 8, 2026
Source and attribution
Source:czlonkowski/n8n-skillsinskills/n8n-code-javascriptat commit19cd793
License: No license
Content belongs to its original authors. SourceWeft indexes it from a public repository.
More from czlonkowski/n8n-skills

Using N8n Mcp Skills
czlonkowski
Routes n8n workflow tasks to specialist skills and documents the n8n-mcp tool surface.

N8n Validation Expert
czlonkowski
Guides interpretation and fixing of n8n workflow validation errors, warnings and false positives.

N8n Subworkflows
czlonkowski
Guides building reusable, composable n8n sub-workflows with typed inputs, clear contracts and correct call modes.

N8n Multi Instance
czlonkowski
Use when an n8n-mcp account targets more than one n8n instance — i.e. the `n8n_instances` tool is available, the user mentions multiple n8n instances or environments (prod vs staging, several teams or clients), a workflow / datatable / credential / execution call returns an unexpected NOT_FOUND or reads data you don't recognize, or a credential create/update/delete is refused with an `INSTANCE_AMBIGUOUS` error. Covers choosing and switching which instance this MCP session targets, verifying the target before high-stakes work — credential writes above all — and recovering from misroutes and ambiguous-write fail-closes. Always consult this skill before operating on a specific instance, before any credential create/update/delete on a multi-instance account, or when a call hits the wrong/empty data or an `INSTANCE_AMBIGUOUS` error.

N8n Mcp Tools Expert
czlonkowski
Guides an agent in correctly using n8n-mcp MCP tools to search nodes, validate configs, and manage n8n workflows.

N8n Expression Syntax
czlonkowski
Guides writing and debugging n8n expressions, including {{}} syntax, $json/$node variables, and $jmespath queries.
More in Software Development

Playground
anthropics
Builds self-contained interactive HTML playgrounds with controls, live preview, and copyable prompt output.

M5 Onboard
anthropics
Provisions M5Stack ESP32 boards by detecting them on USB, flashing UIFlow 2.0 firmware, and installing a MicroPython app bundle.

Cardputer Buddy
anthropics
Guides iterating on a Cardputer-Adv MicroPython app bundle: adding apps, pushing files over USB-serial, tailing logs, and running REPL commands.

Web Design Guidelines
vercel-labs
Reviews UI code against Web Interface Guidelines fetched from a remote source and reports findings as file:line entries.

Vercel React Native Skills
vercel-labs
React Native and Expo best-practice rules covering list performance, animation, navigation, UI patterns, state, and monorepo setup.

Vercel React Best Practices
vercel-labs
Vercel's React and Next.js performance guidelines, organized as 70 rules for writing, reviewing, and refactoring code.