n8n-studio:develop-code-node

Develop n8n Code nodes with Jest tests and jsCode implementations.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/icednut/n8n-studio --skill n8n-studio-develop-code-node
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: n8n-studio:develop-code-node
Source: https://github.com/icednut/n8n-studio/tree/main/skills/develop-code-node
Command: npx skills add https://github.com/icednut/n8n-studio --skill n8n-studio-develop-code-node

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill removes guesswork and inconsistent node implementations by guiding agents to develop n8n Code nodes using a TDD-first workflow and then apply only the changed node back into the target workflow.

Core Features & Use Cases

  • TDD-first Code Node development: Generates and iterates on unit tests using Jest until they pass, then implements logic in an n8n-executable format.
  • Safe incremental workflow updates: Converts the tested logic into an n8n Code node jsCode string and updates only the target node via n8n_update_partial_workflow.
  • Works with existing code and tests: If prior JS and unit test files exist, it fetches the current node code from n8n and refines tests and implementation; otherwise it creates both from scratch.

Quick Start

Tell the agent: "Develop the n8n Code node '[Code node name]' for workflow '[Workflow name]' using TDD, create/update the unit test, run Jest until it passes, and then update only that node in the n8n workflow via n8n_update_partial_workflow."

Frequently Asked Questions about n8n-studio:develop-code-node

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test n8n Code nodes using Jest before updating a workflow?

To test n8n Code nodes using Jest, you generate unit tests from scratch or refine existing ones, iterate through red/green test cycles until they pass, then convert the logic into an n8n executable jsCode string before deploying.

Can I partially update a single n8n Code node without overwriting the entire workflow?

You can partially update a single n8n Code node by applying the tested jsCode string through n8n_update_partial_workflow, which ensures only the target node parameters are modified while the rest of the workflow remains untouched.

What is the best way to develop n8n Code nodes with existing JavaScript and test files?

When existing JavaScript and test files are present, the best way to develop n8n Code nodes is to fetch the current node code from n8n, refine the Jest unit tests, iterate until passing, and apply the updated node via partial workflow updates.

How does TDD workflow automation apply to writing n8n inline Code node logic?

TDD workflow automation applies to n8n inline Code node logic by requiring you to write failing Jest tests first, implementing the CommonJS or ported logic to pass the tests, and finally converting the validated logic into the n8n inline jsCode format.

Do I need Jest to build reliable n8n Code nodes through test-driven development?

Jest is required to build reliable n8n Code nodes through test-driven development because it drives the red/green iteration loop that validates the JavaScript logic before it is converted into the n8n inline Code node format.